Summary: Use the Windows PowerShell Get-Command cmdlet to show syntax of cmdlets.
How can I use Windows PowerShell to explore the allowed syntax for a specific cmdlet?
Use the Get-Command cmdlet, and use the –syntax switch, for example:
Get-Command Get-WinEvent -Syntax
0 comments