PowerShell for Windows Admins:

Windows 8


December 14, 2012  4:17 AM

PowerShell v3 installed modules



Posted by: Richard Siddaway
PowerShell 3, Windows 7, Windows 8

This is the list of installed modules in PowerShell v3 on Windows 8

AppLocker
Appx
BitLocker
BitsTransfer
BranchCache
CimCmdlets
DirectAccessClientComponents
Dism

October 23, 2012  11:50 AM

DnsClient module: #2 DnsClient & Cache



Posted by: Richard Siddaway
DNS, PowerShell 3, Windows 8, Windows Server 2012

The DnsClient module has a number of Get- cmdlets

Get-DnsClient | Format-List InterfaceAlias, ConnectionSpecificSuffix, Register*, UseSuffix*

An example of the output is

...


October 16, 2012  2:27 PM

DnsClient module: #1 Get-DnsClientServerAddress



Posted by: Richard Siddaway
DNS, PowerShell 3, Windows 8, Windows Server 2012

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

  Bookmark and Share     0 Comments     RSS Feed     Email a friend


October 14, 2012  4:07 AM

CDXML modules and nouns



Posted by: Richard Siddaway
PowerShell 3, Windows 8

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 "-")[1]


October 12, 2012  12:08 PM

Windows 8 update



Posted by: Richard Siddaway
Windows 8

The first Windows 8 update became available this week.  This fixes some issues that have come up during the OEM process.  Fast and frequent updates sound good to me.

In addition number of apps have been updated – one I really like is the addition of conversation groupings...


September 11, 2012  11:22 AM

Finding the drive letter of a mounted VHD



Posted by: Richard Siddaway
PowerShell 3, Windows 8, WMI

In Windows 8/2012 you can mount a VHD into the file system. Is there a way to discover the drive letter of the mounted VHD

function get-mountedvhdDrive {            
			


September 2, 2012  12:43 PM

Windows 8 RTM startup



Posted by: Richard Siddaway
Windows 8, WMI

I was looking at Win32_OperatingSystem today and noticed that the last boot up time wasn’t right

PS> Get-CimInstance -ClassName Win32_OperatingSystem | select LastBootUpTime

LastBootUpTime
--------------
17/08/2012 10:02:11

17 August isn’t right...


August 25, 2012  5:11 AM

Windows 8 tip: 1 Weather app



Posted by: Richard Siddaway
Windows 8

The Windows 8 start screen has a nice looking app to display the weather.

You can search for towns and cities to add to the display. My home town (or even the nearest big town) doesn’t show in the results returned by the search. The nearest town I can find is 50 miles away. In England...


August 25, 2012  2:06 AM

Windows 8 Networking cmdlets



Posted by: Richard Siddaway
Network, PowerShell 3, Windows 8, WMI

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

...


August 21, 2012  2:09 PM

Windows 8 upgrade experience: #1



Posted by: Richard Siddaway
Windows 8

I’ve upgraded two machines to Windows 8

The first is my main working laptop:

  • Windows 8 Enterprise can’t do an in place upgrade of Windows 7 Ultimate. So had to re-install all my applications. Took the opportunity to upgrade to Office 2013 and Visual Studio 2012
  • ...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: