Command prompt commands:
dir – Lists files and folders in the current directory.
cd – Changes the current directory.
cls – Clears the screen.
exit – Closes Command Prompt.
copy – Copies a file from one location to another.
del – Deletes a file.
mkdir – Creates a new folder.
rmdir – Removes a folder.
echo – Displays a message or text.
type – Displays the contents of a file.
PowerShell Commands:
Get-Command – Lists all available commands.
pwd – Shows current path directory
Set-Location – Changes the current directory (similar to cd).
Clear-Host – Clears the PowerShell screen.
exit – Closes PowerShell.
Copy-Item – Copies a file or folder from one location to another.
Remove-Item – Deletes a file or folder.
New-Item – Creates a new file or folder.
Get-Process – Lists all running processes.
Stop-Process – Stops a running process by name.
Get-Content – Displays the content of a file.