Nothing special. Just a quick way to get a list of cmdlets available to a shell. Great for reference when you want a controlled, order list of something;
will output this:$a=1;Get-Command-CommandType cmdlet|ForEach-Object{"$($a): $($_.name)"; $a++}
1:Add-BitsFile2:Add-Computer3:Add-Content4:Add-History5:Add-JobTrigger6:Add-Member7:Add-PSSnapin8:Add-RoleMember9:Add-SqlAvailabilityDatabase10:Add-SqlAvailabilityGroupListenerStaticIp11:Add-Type12:Backup-ASDatabase13:Backup-SqlDatabase14:Checkpoint-Computer15:Clear-Content16:Clear-EventLog17:Clear-History18:Clear-Item19:Clear-ItemProperty20:Clear-Variable21:Compare-Object22:Complete-BitsTransfer23:Complete-Transaction24:Connect-PSSession25:Connect-WSMan26:ConvertFrom-Csv27:ConvertFrom-Json28:ConvertFrom-SecureString29:ConvertFrom-StringData30:Convert-Path31:ConvertTo-Csv32:ConvertTo-Html33:ConvertTo-Json34:ConvertTo-SecureString35:ConvertTo-Xml36:Convert-UrnToPath37:Copy-Item38:Copy-ItemProperty39:Debug-Process40:Decode-SqlName41:Disable-ComputerRestore42:Disable-JobTrigger43:Disable-PSBreakpoint44:Disable-PSRemoting45:Disable-PSSessionConfiguration46:Disable-ScheduledJob47:Disable-SqlAlwaysOn48:Disable-WSManCredSSP49:Disconnect-PSSession50:Disconnect-WSMan51:Enable-ComputerRestore52:Enable-JobTrigger53:Enable-PSBreakpoint54:Enable-PSRemoting55:Enable-PSSessionConfiguration56:Enable-ScheduledJob57:Enable-SqlAlwaysOn58:Enable-WSManCredSSP59:Encode-SqlName60:Enter-PSSession61:Exit-PSSession62:Export-Alias63:Export-Clixml64:Export-Console65:Export-Counter66:Export-Csv67:Export-FormatData68:Related Post:
0 comments:
Post a Comment