PowerShell

How to Set DNS Suffix and Registration using PowerShell

This very simple PowerShell script can be used to set these options: DNS Suffix for this connection Register this connection’s addresses in DNS Use this connection’s DNS suffix in DNS registration I’ve seen many questions online on how to use a script to mark the two checkboxes in this “Advanced TCP/IP Settings” window. So here

How to Set DNS Suffix and Registration using PowerShell Read More »

SCCM Application Detection Method for Network Adapter Configuration

I wrote this PowerShell script for use as an application detection method inside an SCCM application. The SCCM application would set the network adapter configuration if it is not currently configured properly. This company has a special DNS setup for SCCM clients that is different than for non-SCCM clients. Here is the PowerShell code:

SCCM Application Detection Method for Network Adapter Configuration Read More »