Commands tried:
cd \
dir
ls
ps
Get Help:
PS C:\> Get-Help
PS C:\> Get-Help *process
PS C:\> Get-Help *alias*
Download and install Help files on your computer:
PS C:\> Update-Help
List all alias you can use:
PS C:\> Get-Alias
Get Help for conceptual topics:
PS C:\> Get-Help Get-Help -Examples | more
Get Help for conceptual topics about alias:
PS C:\> Get-Help about_alias | more
Get Help about Get-Command
PS C:\> Get-Help Get-Command | more
Get all the commands:
PS C:\> Get-Command | more
Get all the commands (cmdlet only)
PS C:\> Get-Command -CommandType cmdlet | more
Get detailed Help about Get-Command:
PS C:\> Get-Help Get-Command -full | more
Get detailed Help about Get-Command (Parameter only):
PS C:\> Get-Help Get-Command -Parameter * | more
Get cmdlet with Name containing process:
PS C:\> Get-Command -CommandType cmdlet -Name *process*
Get cmdlet with Name containing service:
PS C:\> Get-Command -CommandType cmdlet -Name *service*
Measure Object (cmdlet only):
PS C:\> Get-Command -CommandType cmdlet | Measure-Object
Get all Processes:
PS C:\> Get-Process | more
Get all Services:
PS C:\> Get-Service | more
Get Commands with stop as a verb:
PS C:\> Get-Command -Verb stop
Get Commands with start as a verb:
PS C:\> Get-Command -Verb Start
Get Help about Start-Process with examples:
PS C:\> Get-Help Start-Process -Examples | more
Start Notepad:
PS C:\> Start-Process Notepad.exe
Get Help about Stop-Process with examples:
PS C:\> Get-Help Stop-Process -Examples | more
Get processes with name containing notepad:
PS C:\> Get-Process -Name notepad
Stop a process by Id Number:
PS C:\> Stop-Process -Id <Id>
Get a list of HotFix installed:
PS C:\> Get-HotFix
Get Help containing "command":
PS C:\> Get-Help *command*
Get Help about Core Commands (more cmdlets):
PS C:\> Get-Help about_Core_Commands | more
Subscribe to:
Post Comments (Atom)
Open Source Information Gathering using Windows Command Line Utilities
How to Find the Maximum Frame Size Packet needs to be fragmented but DF set, means that the frame is too large to be on the network and ne...
-
Planning and Operational variances Mix and Yield variances Advanced Idle Time variances Activity-Based...
-
Total Variances Possible reasons for Adverse Materials Expenditure Variance: Price Increase "Bad Buying...
-
Price\Demad Equation P = a - bQ where, P = Selling Price Q= Quantity Demanded at that Price a= Theoretical Maximum Price. (The demand ...
No comments:
Post a Comment