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?
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 Windows PowerShell Gotcha - Where's the _______ Command? - YouTube
Thanks for the clarification Don.
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