Hello, I am currently running Configuration Manager 2012 SP1. I am trying to run some Powershell scripts executed via Packages/Programs and am having an issue. The script I am running only works in x64 Powershell, I am finding that Configuration
Manager is launching the x86 version when I use the following command in a program "Powershell.exe -NoProfile -File MyScript.ps1". Therefore, in order for my script to work, I have to use this command "%systemroot%\sysnative\windowspowershell\v1.0\powershell.exe
-NoProfile -File RemoveWMIRepositoryFolders.ps1". My understanding is that in Configuration Manager 2012 (RTM and SP1) that the client is supposed to be x64 and hence therefore, not require use of sysnative, etc. when launching programs. Can
anyone confirm this behavior? Thanks!
↧