Quantcast
Channel: VMware Communities : All Content - VMware PowerCLI
Viewing all articles
Browse latest Browse all 16717

Issues with DeployRule cmdlets - Not authenticated.

$
0
0

Hi All,

 

I'm trying to automate Auto Deploy Rules using Powershell. All the PowerCLI cmdlets are there to perform the tasks that I need and the script works perfectly but only the first time, If i run script again it fails, this only happens with DeployRule cmdlets. The error i get is below also see screenshot.

 

Copy-DeployRuleNot authenticated. Possible cause of this error is that connection was left unused for a while and session has timed out. In such case use Connect-VIServer to reconnect.

 

Funny thing is If I close Powershell ISE and reopen it works but again only once.. any ideas?


Viewing all articles
Browse latest Browse all 16717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>