Check if PowerShell was launch in 64bits

Hello,

You can know if your current PowerShell session is in 64 bits or not with that .Net method :

[environment]::Is64BitProcess

x64x86

 

This can be helpful if you’re using old ComObjects like ADMT or Lotus Notes that requires a 32bits PowerShell session.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.