Cmdlet name = Get-Help
This command provides detailed information about cmdlets, including usage, parameters, and examples.
Command alias = pwd, Cmdlet name = Get-Location
The pwd command prints the current working directory to the screen.
The ls command displays the names of the files and directories in the current working directory.
The cd command sets the current working location to a specified location.
The cat command gets the contents of a file.
The mkdir command creates a new directory.
The rmdir command removes, or deletes, an empty directory.
The rm command deletes files and folders.
The mv command moves an item from one location to another.
The cp command copies an item from one location to another
This cmdlet lists local user accounts.
The cmdlet lists local groups on the local machine.
The cmdlet lists all the members of the local Administrators group.
Get-ChildItem | Sort-Object Length
Get-ChildItem | Where-Object -Property "Extension" -eq ".txt"
Get-ChildItem | Select-Object Name,Length
Select-String -Path ".\name_of_the_file.txt" -Pattern "string_you_are_looking_for"
The history command shows the previously executed commands.
The clear command clears the terminal.