diff --git a/Invoke-HiveNightmare.ps1 b/Invoke-HiveNightmare.ps1 index f7f4ce7..ec8c935 100644 --- a/Invoke-HiveNightmare.ps1 +++ b/Invoke-HiveNightmare.ps1 @@ -26,7 +26,7 @@ [CmdletBinding()] param( - $path = "C:\Users\$username\Desktop" + $path = "C:\Users\$env:USERNAME\Desktop" ) $outSam = "$path\Sam.hive"