Pssnapin cmdlets vRanger needs to be integrated to Windows 2012 R2 Power Shell ISE version 4.0.
Open the Windows PowerShell to do this: go to Start>Search for Programs > PowerShell ISE as administrator
First check the version of your Power Shell using $PSVersionTable.PSVersion to determine the engine version. If the variable does not exist, it is safe to assume the engine is version 1.0.
Get the PSSnapin version
.gsnp
Syntax
Parameter Set: Default Get-PSSnapin [[-Name] <String[]> ] [-Registered] [ <CommonParameters>]
Run
Get-ExecutionPolicy this command are going to return the Execution Policy assigned in this case you can assign any of this ones:
Restricted - No scripts can be run. Windows PowerShell can be used only in interactive mode.
AllSigned - Only scripts signed by a trusted publisher can be run.
RemoteSigned - Downloaded scripts must be signed by a trusted publisher before they can be run.
Unrestricted - No restrictions; all Windows PowerShell scripts can be run.
Base on the User guide for vRanger https://support.quest.com/technical-documents/DOC241586 Set-ExecutionPolicy RemoteSigned.