c:\scripts\plink.exe : Errors:
At line:1 char:1
+ c:\scripts\plink.exe -pw xxxxx root@esx "/sbin ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Errors: :String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Invalid operation requested: This ruleset is required and connot be disabled
any idea why i am getting this error? The putty session restarts the services.sh fine but got error
Write-Output "yes" | plink $plink $vmhost root 'xxxxx' '/sbin/services.sh restart'
Looks like the error described in ERRORS: INVALID OPERATION REQUESTED: THIS RULESET IS REQUIRED AND CANNOT BE DISABLED
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Looks like the error described in ERRORS: INVALID OPERATION REQUESTED: THIS RULESET IS REQUIRED AND CANNOT BE DISABLED
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
thanks Luc