Changes (sets) the current working directory
Set-Location
Retrieve (gets) the content of a file and displays it in the console
Get-Content
All available cmdlets, functions, aliases, scripts in current powershell
Get-Command
Provides detailed information about cmdlets, including usage, parameters, and examples
Get-Help
Lists all aliases available
Get-Alias
Lists the files and directories in a location specified with the -Path
Get-ChildItem (Like dir or ls)
Navigate to a different directory
Set-Location (similar to cd)
Create a new item
New-Item (similar to touch)
Removal of directories and files
Remove-Item (rmdir and del)
Copy or move files and directories
Copy-Item
Move-Item (equivalent to move)
Read and display contents of a file
Get-Content (equivalent to type or cat)
To filter objects on specific conditions, returning only those that meet the criteria
Where-Object
Comparison Operators
-eq equal to
-ne not equal
-gt greater than
-ge greater than or equal to
-lt less than
-le less than or equal to
-like
Select specific properties from objects or limit the number of objects returned
Select-Object
Text patterns within files
Select-String (similar to grep)
Comprehensive system information
Get-ComputerInfo
Managing user accounts and understanding the machine’s security configuration
Get-LocalUser
System network configuration
Get-NetIPConfiguration
Details for IP address
Get-NetIPAddress
Detailed view of all currently running processes
Get-Process
Retrieval of information about the status of the machine
Get-Service
Monitor active network connections
Get-NetTCPConnection