Author Posts

December 15, 2017 at 6:59 pm

I am running PowerShell 5.1 on Server 2008. I'm writing a script where I would like to use Get-Volume and Get-Partition, but neither of these commands are available. I believe these commands were introduced in 3.0. Am I missing something here?

December 15, 2017 at 7:05 pm

The commands were not introduced in PowerShell v3; they were introduced in Windows Server 2012. They're part of the OS, not part of the core PowerShell package. They're not available on older operating systems. See

December 15, 2017 at 7:09 pm

Thanks for the clarification Don.

December 15, 2017 at 8:33 pm

Specifically those cmdlets are based on new CIM (WMI) classes that are in Windows 8 / Server 2012 and later. The CIM classes weren't ported back to older versions of Windows