You can download from here PowerGUI.
Common Commands
Get-Command Get*
Get-Command -Name Get-PSDrive -Syntax
Get-Help about*
Get-Alias Set-Alias
Get-ChildItem –Path C:\Windows\System32 Out-Host –paging
Remove-Item C:\temp\New.Directory –Recurse
Invoke-Item C:\boot.ini
Copy-Item -Path C:\New.Directory -Destination C:\temp -Recurse -Force –Passthru
Get-Process Get-Member -MemberType Properties Out-Host –Paging
Get-Process Format-Table
Get-Location
Set-Location -Path c:\Windows –PassThru
Get-WmiObject -Class Win32_OperatingSystem -Namespace root/cimv2 -ComputerName . Get-Member -MemberType Property
New-Object -TypeName System.Diagnostics.EventLog -ArgumentList Application
New-Object -ComObject WScript.Shell
New-Object -ComObject WScript.Network
New-Object -ComObject Scripting.Dictionary
New-Object -ComObject Scripting.FileSystemObject
$lnk=$WshShell.CreateShortcut("$Home\Desktop\PSHome.lnk")
Where-Object –FileterScript ($_.Value -lt 3)
ForEach-Object –Process ()
Sort-Object –Property –Descending
$env:PATH
Rem ---- List MSI
Get-WmiObject -Class Win32_Product -ComputerName . Format-Wide -Column 1
Rem ---- To install MSI
(Get-WMIObject -ComputerName PC01 -List Where-Object -FilterScript {$_.Name -eq "Win32_Product"}).InvokeMethod("Install","\\AppSrv\dsp\NewPackage.msi")
Rem ---- To uninstall MSI
(Get-WmiObject -Class Win32_Product -Filter "Name='ILMerge'" -ComputerName . ).InvokeMethod("Uninstall",$null)