diff --git a/Tools.ps1 b/Tools.ps1 index 96dce06..a9d0cdd 100644 --- a/Tools.ps1 +++ b/Tools.ps1 @@ -216,4 +216,4 @@ switch ( $(Get-CimInstance -ClassName Win32_OperatingSystem -Property OSArchitec ## Function to determine if the Powershell process is 64-bit or not Function Is64bitShell -{ If ( [Environment]::Is64BitProcess ) { Return $true } Else { Return $false } } +{ If ( [System.Environment]::Is64BitProcess ) { Return $true } Else { Return $false } }