and I called it from nagios. The result I got was "4". That means that ncpa is calling the x86 version of powershell and the 64bit version. How can I change that?
Hi. I'm trying to run a powershell script with check_ncpa and I want to add a snapin. But when I use this command "Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010" I get this error : "Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2." A...