Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 240675

Re: PowerCLI: Detect incorrect Time Configuration

$
0
0

Hi Luc,

 

Thanks for your recommended to upgrade PowerCLI version. Now I am using powerCLI 5.0 and already passed the command: "$dts = Get-View $esx.Extensiondata.ConfigManager.dateTimeSystem".

 

But another issue has appeared with the command: "$dts.UpdateDateTime(Get-Date)". Error as below:

 

Missing ')' in method call.
At line:1 char:26
+ $dts.UpdateDateTime( <<<< get-date)
    + CategoryInfo          : ParserError: (CloseParenToken:TokenId) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingEndParenthesisInMethodCall


Viewing all articles
Browse latest Browse all 240675

Trending Articles



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