Skip to main content

Powershell Basics

Basics

List available commands

Display available commands for the user

Get-Command *process*

Get help of the cmdlet

Help of the cmdlet and its examples.

Get-Help <cmdlet>
Get full help of Stop-Process
Get-Help Stop-Process
Get Examples of Stop-Process command
Get-Help Stop-Process -Examples

Identify properties and methods

Type of objects and its properties and methods
Get-Date | Get-Member
Get-Date | Format-List

Find modules for application

Find Telegram module
Find-Module -Tag Telegram

Find the process and stop

Stop the process of notepad
Get-Process notepad | Stop-Process