Skip to content

Instantly share code, notes, and snippets.

@LawrenceHwang
Created January 16, 2018 19:46
Show Gist options
  • Save LawrenceHwang/3678fb8988d69840f545dc4f2b6bd826 to your computer and use it in GitHub Desktop.
Save LawrenceHwang/3678fb8988d69840f545dc4f2b6bd826 to your computer and use it in GitHub Desktop.
PowerShell Core 6 and PowerShell 5.1 Cmdlet comparison

Only in PS Core 6

Cmdlet Module
Remove-Service Microsoft.PowerShell.Management
Get-Uptime Microsoft.PowerShell.Utility
Remove-Alias Microsoft.PowerShell.Utility

Only in PS 5.1 Desktop (i.e missing from PS Core 6)

Cmdlet Module
Add-Computer Microsoft.PowerShell.Management
Checkpoint-Computer Microsoft.PowerShell.Management
Clear-EventLog Microsoft.PowerShell.Management
Clear-RecycleBin Microsoft.PowerShell.Management
Complete-Transaction Microsoft.PowerShell.Management
Disable-ComputerRestore Microsoft.PowerShell.Management
Enable-ComputerRestore Microsoft.PowerShell.Management
Get-Clipboard Microsoft.PowerShell.Management
Get-ComputerRestorePoint Microsoft.PowerShell.Management
Get-ControlPanelItem Microsoft.PowerShell.Management
Get-EventLog Microsoft.PowerShell.Management
Get-HotFix Microsoft.PowerShell.Management
Get-Transaction Microsoft.PowerShell.Management
Get-WmiObject Microsoft.PowerShell.Management
Invoke-WmiMethod Microsoft.PowerShell.Management
Limit-EventLog Microsoft.PowerShell.Management
New-EventLog Microsoft.PowerShell.Management
New-WebServiceProxy Microsoft.PowerShell.Management
Register-WmiEvent Microsoft.PowerShell.Management
Remove-Computer Microsoft.PowerShell.Management
Remove-EventLog Microsoft.PowerShell.Management
Remove-WmiObject Microsoft.PowerShell.Management
Reset-ComputerMachinePassword Microsoft.PowerShell.Management
Restore-Computer Microsoft.PowerShell.Management
Set-Clipboard Microsoft.PowerShell.Management
Set-WmiInstance Microsoft.PowerShell.Management
Show-ControlPanelItem Microsoft.PowerShell.Management
Show-EventLog Microsoft.PowerShell.Management
Start-Transaction Microsoft.PowerShell.Management
Test-ComputerSecureChannel Microsoft.PowerShell.Management
Test-Connection Microsoft.PowerShell.Management
Undo-Transaction Microsoft.PowerShell.Management
Use-Transaction Microsoft.PowerShell.Management
Write-EventLog Microsoft.PowerShell.Management
ConvertFrom-String Microsoft.PowerShell.Utility
Convert-String Microsoft.PowerShell.Utility
Out-GridView Microsoft.PowerShell.Utility
Out-Printer Microsoft.PowerShell.Utility
Show-Command Microsoft.PowerShell.Utility
Update-List Microsoft.PowerShell.Utility
Get-Acl Microsoft.PowerShell.security
Get-AuthenticodeSignature Microsoft.PowerShell.security
Get-CmsMessage Microsoft.PowerShell.security
New-FileCatalog Microsoft.PowerShell.security
Protect-CmsMessage Microsoft.PowerShell.security
Set-Acl Microsoft.PowerShell.security
Set-AuthenticodeSignature Microsoft.PowerShell.security
Test-FileCatalog Microsoft.PowerShell.security
Unprotect-CmsMessage Microsoft.PowerShell.security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment