Hide this message
Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.
Updated January 20, 2017
This article discusses the issue where the PowerShell application monitor returns the following error even when the PowerShell version used is 4.0:
WARNING: You should update your PowerShell to PowerShell 2.0
SAM 6 and later
The warning is thrown by Get-VMJob from the endpoint (target Server where the SAM template is assigned) itself and not by Orion.
Verify that the server where the template is assigned is actually running PowerShell 4.0.
Take the problematic script, open PowerShell ISE and connect remotely to the node using the same credentials and the check if the ISE console displays the same warning.
Confirm that the warning is thrown by Get-VMJob using Veeam cmdlets. This means that the problem is on the target node and not in Orion.
Use the -WarningVariable common parameter to address the warning. Refer to Saving Warnings to a variable in PowerShell (© 2017 Stack Exchange, Inc., available at http://stackoverflow.com/, obtained on January 19, 2017.)