mirror of
https://github.com/jamesstringerparsec/Easy-GPU-PV.git
synced 2025-01-07 03:07:05 +08:00
Add check for Powershell(x86)
This commit is contained in:
parent
0eb6239441
commit
fb295b0119
@ -103,6 +103,9 @@ Function Check-Params {
|
||||
|
||||
$ExitReason = @()
|
||||
|
||||
if ([ENVIRONMENT]::Is64BitProcess -eq $false) {
|
||||
$ExitReason += "You are not using the correct version of Powershell, do not use Powershell(x86)."
|
||||
}
|
||||
if ((Is-Administrator) -eq $false) {
|
||||
$ExitReason += "Script not running as Administrator, please run script as Administrator."
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user