This commit is contained in:
secretspecter 2023-06-19 00:12:44 -04:00
parent 0934084b60
commit b022d39083

View file

@ -39,7 +39,7 @@ A very simple first customization one can do is update the prompt. This will ind
```powershell
function prompt {
$prompt = "> "
If ((New-Object Security.Principal.WindowsPrincipal $(
if ((New-Object Security.Principal.WindowsPrincipal $(
[Security.Principal.WindowsIdentity]::GetCurrent()
)).IsInRole(
[Security.Principal.WindowsBuiltinRole]::Administrator