Created
August 11, 2022 16:22
-
-
Save jamiechalmerzlp/2822494946646b8123d69b9886aa00f2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 (test-path HKLM:\Software\Microsoft\Office\14.0\Outlook) {$bitness = (get-itemproperty HKLM:\Software\Microsoft\Office\14.0\Outlook).Bitness} | |
| if (test-path HKLM:\Software\Microsoft\Office\15.0\Outlook) {$bitness = (get-itemproperty HKLM:\Software\Microsoft\Office\15.0\Outlook).Bitness} | |
| if (test-path HKLM:\Software\Microsoft\Office\16.0\Outlook) {$bitness = (get-itemproperty HKLM:\Software\Microsoft\Office\16.0\Outlook).Bitness} | |
| if (test-path HKLM:\SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Outlook) {$bitness = (get-itemproperty HKLM:\SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Outlook).Bitness} | |
| if (test-path HKLM:\SOFTWARE\WOW6432Node\Microsoft\Office\15.0\Outlook) {$bitness = (get-itemproperty HKLM:\SOFTWARE\WOW6432Node\Microsoft\Office\15.0\Outlook).Bitness} | |
| if (test-path HKLM:\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Outlook) {$bitness = (get-itemproperty HKLM:\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Outlook).Bitness} | |
| write-host $Bitness |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment