Summary: Boe Prox shows how to determine if Windows PowerShell is running x86 or x64.
How can I use Windows PowerShell to determine if I am running x86 or x64?
Use [intptr]::Size as follows:
Switch ([intptr]::Size) {
4 {"x86"}
8 {"x64"}
}
Summary: Boe Prox shows how to determine if Windows PowerShell is running x86 or x64.
How can I use Windows PowerShell to determine if I am running x86 or x64?
Use [intptr]::Size as follows:
Switch ([intptr]::Size) {
4 {"x86"}
8 {"x64"}
}
The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.
0 comments