GUI is the quick and easy way to
determine type of Windows version and check whether it is 32 bit or a 64 bit
platform.
By press Windows Key + E, it will
open windows explorer and right clicking on empty white space and selecting
properties will give you the information of your Windows and also its OS
Architecture whether it is x86 or a 64 bit operating system.
But if you are a System
Administrator and you’re managing remote computers it would not be a good idea
to go and physically check each computer and get the details.
Here’s where the command line
comes into play.
Well, batch file scripting still
does its magic and give good results.
The command to get the type of Windows
can be run on a normal command prompt.
The command prompt does not need
to be elevated.
Here’s the command:
WMIC
OS GET
OSArchitecture, Caption
Note: OSArchitecture is one word.
Caption OSArchitecture
Microsoft Windows 7
Professional 32-bit
If you are using a 64 bit platform:
If you are using a 64 bit platform:
Caption OSArchitecture
Microsoft Windows 8 64-bit
Caption OSArchitecture
Microsoft Windows 10 Enterprise 64-bit
Caption OSArchitecture
Microsoft Windows 10 Enterprise 64-bit
That’s it, you can deploy a script
with this command and of course if you will only have this data is quite
useless. Please check my other blog on how to get the computer name via command
line.
You incorporate this command and
the command to get the computer name and deploy it via GPO job is done in just
few a minutes.
And if you run into a problem how to run a startup script, please search this blog on how to run a startup script.
That’s it sit back and relax while
you compile the data to present to your boss.
Job is done via batch file
scripting with no penny cost for extra software.
Hope it helps to finish your task
smoothly. Please drop a comment. Cheers!!!
Comments
Post a Comment