mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-06-13 09:47:28 +00:00
correct case of "WinUtil" in GUI / user-facing messages (#4675)
* WinUtil in .ps1 * WinUtil in GUI * Update KnownIssues.md
This commit is contained in:
+2
-2
@@ -19,12 +19,12 @@ if ($Offline) {
|
||||
}
|
||||
|
||||
if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage') {
|
||||
Write-Host "WinUtil is unable to run on your system, powershell execution is restricted by security policies" -ForegroundColor Red
|
||||
Write-Host "WinUtil is unable to run on your system. PowerShell execution is restricted by security policies." -ForegroundColor Red
|
||||
return
|
||||
}
|
||||
|
||||
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
|
||||
Write-Output "Winutil needs to be run as Administrator. Attempting to relaunch."
|
||||
Write-Output "WinUtil needs to be run as Administrator. Attempting to relaunch."
|
||||
$argList = @()
|
||||
|
||||
$PSBoundParameters.GetEnumerator() | ForEach-Object {
|
||||
|
||||
Reference in New Issue
Block a user