1
0
Files
Repository/Powershell-RunAsAdministrator/readme.md
2025-10-31 08:58:36 +01:00

8 lines
193 B
Markdown

# 🔐 Forcing Script Execution as Administrator
## 🔧 What it does
By adding the following line at the **beginning** of a PowerShell script:
```powershell
#Requires -RunAsAdministrator
```