Przejdลบ do treล›ci

๐Ÿ’ป PowerShell Basics

PowerShell is the main shell and scripting language for Windows administration.


๐Ÿ”ง Basic Commands

1
2
3
4
5
Get-Location
Set-Location C:\

Get-ChildItem
Get-ChildItem -Force

๐Ÿ“„ Viewing Files

1
2
Get-Content .\file.txt
Get-Content .\file.txt -Tail 20 -Wait

๐Ÿ› ๏ธ Help System

1
2
Get-Help Get-Process
Get-Help Get-Service -Online

๐Ÿšจ Tips

  • Use TAB completion
  • Use Get-Command to discover commands
  • Use Get-Help often