PowerShell Tips
in Blog

Useful PowerShell Tips
Useful PowerShell Tips
Objective
Permalink
To document some useful PowerShell tips that I’ve come across.
Prerequisites
Permalink
General Windows Operating System Knowledge
PowerShell version 5 or higher
Useful PowerShell Tips Permalink
Check if PowerShell is running in 32-bit or 64-bit process. Permalink
Method #1
- If output = True, PowerShell is running as a 64-bit Process
[System.Environment]::Is64BitProcess
Method #2
- If output = 8, PowerShell is running as a 64-bit Process
- If output = 4, PowerShell is running as a 32-bit Process
[intptr]::size
Check Powershell Version Permalink
$PSVersionTable
Summary
Permalink
- Have a question?
- Find an error?
- Have a suggestion on how to improve this page?