-
Last time we saw the Get-NetAdapter cmdlet from the NetAdapter module PS> Get-NetAdapter | ft Name, InterfaceDescription, Status -a Name InterfaceDescription ...
-
The WMI classes Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration have seen a lot of use over the years. They can be a bit fiddly to use which is why the NetAdapter module in Windows 8/2012 is a so welcome. Lets start by looking at basic information...
-
This is the list of installed modules in PowerShell v3 on Windows 8 AppLocker Appx BitLocker BitsTransfer BranchCache CimCmdlets DirectAccessClientComponents Dism DnsClient International iSCSI ISE Kds Microsoft.PowerShell.Diagnostics Microsoft.PowerShell...
-
The DnsClient module has a number of Get- cmdlets Get-DnsClient | Format-List InterfaceAlias, ConnectionSpecificSuffix, Register*, UseSuffix* An example of the output is InterfaceAlias ...
-
Started to investigate the DnsClient module. First cmdlet to catch my eye was Get-DnsClientServerAddress. Always good to know a way to find the DNS server. PS> Get-DnsClientServerAddress InterfaceAlias ...
-
This is a common scenario $word = New-Object -ComObject "Word.application" $word . visible = $true $doc = $word . Documents . Add ( ) $doc . Activate ( ) $word . Selection . Font . Name = "Cambria" $word . Selection . Font Read...
-
CDXML modules don’t expose the verb and the noun of the cmdlets they publish. If you want to discover the set of nouns in a CDXML module you need a bit of brute force: Get-Command -Module DhcpServer | foreach { ($_.Name -split "-"...
-
Windows 8 brings PowerShell v3 and a whole bunch of PowerShell modules. One such module is NETTCPIP and as the name suggests is about networking. PowerShell v3 automatically loads modules for you so as soon as PowerShell opens try PS> Get-NetIPConfiguration...
-
One of the questions in the recent Scripting Games involved toggling between a wireless and LAN connection. Only one was to be up at any one time. This can be solved using WMI but becomes hugely simpler in Windows 8/2012 as we get a bunch of cmdlets for...
-
We saw the modules that come with Windows server 8 This is the list of modules available in a vanilla Windows 8 32 bit install AppLocker Appx BitLocker BitsTransfer BranchCache CimCmdlets DirectAccessClientComponents Dism DnsClient International...
-
PowerShell has always had good in-box help. Each cmdlet has extensive documentation, complete with syntax and parameter details and plenty of good examples. As with all documentation, updating the help content has not been easy – or as easy as you might...