Get-VM -Name parameter "Accept wildcard characters:" is incorrect for only Server 2012 R2 #3768
Open
3 tasks done
Labels
issue-doc-bug
Something is out of date, unclear, confusing, or broken in the article. Blocks customer success.
needs-triage
Waiting - Needs triage
Prerequisites
Get-Foo
cmdlet" instead of "Typo."Links
https://learn.microsoft.com/en-us/powershell/module/hyper-v/get-vm?view=winserver2012r2-ps#-name
Summary
Server 2012 R2's Get-VM help states that
-Name
doesn't accept wildcard when it actually does.Details
Server 2012 R2's
Get-VM
help page states that the-Name
parameter doesn't accept wildcard characters, which is inaccurate. It does accept wildcard characters.All other operating system help pages state (correctly) that
-Name
does accept wildcard characters.https://learn.microsoft.com/en-us/powershell/module/hyper-v/get-vm?view=windowsserver2025-ps#-name
https://learn.microsoft.com/en-us/powershell/module/hyper-v/get-vm?view=winserver2012-ps#-name
https://learn.microsoft.com/en-us/powershell/module/hyper-v/get-vm?view=windowsserver2016-ps#-name
https://learn.microsoft.com/en-us/powershell/module/hyper-v/get-vm?view=windowsserver2019-ps#-name
https://learn.microsoft.com/en-us/powershell/module/hyper-v/get-vm?view=windowsserver2022-ps#-name
Suggested Fix
Change Server 2012 R2
Get-VM -Name
parameter'sAccept wildcard characters:
property value from 'False' to 'True'.The text was updated successfully, but these errors were encountered: