Created
May 3, 2021 23:06
-
-
Save JohnHammond/e90a7bfeb44d7d89e746fa303400b540 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ([IntPtr]::Size -eq 4) { | |
$b=$env:windir+'\sysnative\WindowsPowerShell\v1.0\powershell.exe' | |
}else{ | |
$b='powershell.exe' | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment