Skip to content

Commit

Permalink
Add "running elevated" snippet to PowerShell basics
Browse files Browse the repository at this point in the history
  • Loading branch information
skrysmanski authored Dec 27, 2024
1 parent d26cf10 commit bbc56c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/articles/powershell/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ Powershell understands standard notation for kilobytes, megabytes, gigabytes, te
1KB, 1MB, 1GB, 1TB, 1PB
```

## Require Running Elevated

```powershell
#Requires -RunAsAdministrator
```

## Change Working Directory

```powershell
Expand Down

0 comments on commit bbc56c3

Please sign in to comment.