Hi. I get this error when running the Windows Update sensor against my Windows 2016 servers:
This sensor requires the PowerShell 2.0 (or higher) to be installed on the probe system. ( Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0(...) (code: PE181)? |
The knowledgebase article states that I must install Powershell 3 or newer, but Windows Server 2016 ships with PowerShell 5 and Windows Management Framework 5.1.
PS C:\Windows\system32> $PSVersionTable.PSVersion Major Minor Build Revision ----- ----- ----- -------- 5 1 14393 1944
I am ablle to connect remotly:
PS C:\WINDOWS\system32> New-PSSession -ComputerName ********* -Credential ***\**** Id Name ComputerName ComputerType State ConfigurationName Availability -- ---- ------------ ------------ ----- ----------------- ------------ 2 Session2 ******** RemoteMachine Opened Microsoft.PowerShell Available
What should I do to make this work?
Add comment