about Command Syntax - PowerShell | Microsoft Learn

PHOTO EMBED

Tue Jul 09 2024 01:28:35 GMT+0000 (Coordinated Universal Time)

Saved by @Dewaldt

$cmd = Get-Command Get-Random
$cmd.ParameterSets |
    Select-Object Name, IsDefault, @{n='Parameters';e={$_.ToString()}} |
    Format-Table -Wrap
content_copyCOPY

https://learn.microsoft.com/en-za/powershell/module/microsoft.powershell.core/about/about_command_syntax?view