I use this code:

$OsArch = (Get-WmiObject -Class Win32_OperatingSystem -ComputerName
$CompName).OSArchitecture
if ($OsArch.Contains("64")) {....}
if ($OsArch.Contains("32")){....}


On Wed, Mar 19, 2014 at 10:23 AM, Linkey, Mike <[email protected]>wrote:

> I have a task sequence that installed an application based off of the OS
> Architecture (x86 or x64).  Some how it got whacked and I am trying to
> recreate it.  I have everything except how I determined what the OS
> architecture is.  How does everyone do this?  I can't find my notes on how
> I did this anywhere.  I think it was a simple thing, but I am coming up
> blank on all of my searches as well.  Any input would be great!
>
>
>
> Mike L.
>
>


Reply via email to