By Pranay Jha
| Jul 21, 2016 | In
Tips
| Total Views [ 11375 ]
Powershell Script to Check to Get OSArchitecture of Multiple Computers. Check if Computer is 64 bit or 32 bit
$servers = get-content servers.txt
foreach ($srv in $servers){
$result=Get-WMIObject Win32_OperatingSystem -ComputerName $srv | Select-Object csname, OSArchitecture
$result | out-file -Append out.txt
}
Share this on Social Media
About the Author
Thank you for visiting my profile. I am Pranay Jha, bring along a total of 11+ years of extensive experience with me in Information Technology sector for organizations from small business to large enterprises, wherein my current assignment I am associated with IBM as a Technical Solution Architect for Virtualization platform. I am vExpert x 3 (16/17/18), VCIX-DCV, VCAP5/6-DCD, VCAP5-DCA, VCP7-CMA, VCP5/6-DCV, VCA-DCV, VCA-Cloud, VSP, VCE-CIA, MCITP, MCSE, MCSA(Messaging). I am also an Independent blogger and founder of http://vmwareinsight.com and https://cloudpathshala.com. I can be reached via email at pranay1988jha@gmail.com or Direct Message via Contact Us form.