Skip to content

Commit 2327521

Browse files
sara-rnAna06
andauthored
Update install.ps1
Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name>
1 parent 7ef37d3 commit 2327521

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function Test-Admin {
184184
try {
185185
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
186186
if (-not ($currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))){
187-
return "Your user is not running as Administrator"
187+
return "The script is not running as Administrator"
188188
}
189189
} catch {
190190
return "Unable to determine if the script is running as Administrator"

0 commit comments

Comments
 (0)