The Property parameter was introduced in PowerShell v2.
Are you still on PowerShell v1 perhaps ?
Do a
Get-Host
Does it say Version 2 in the output ?
The Property parameter was introduced in PowerShell v2.
Are you still on PowerShell v1 perhaps ?
Do a
Get-Host
Does it say Version 2 in the output ?