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

changing host password via perl SDK?

$
0
0

Can anybody provide a quick pointer on how to change the root password using the perl SDK?

 

It appears that I need to create a hostConfigSpec (with userAccount property) and call applyHostConfig_Task to achieve that. But I am having a hard time figuring out the structure of hostconfigSpec piece...

 

In addition, if I want to only get the properties needed to speed up the query, what properties should I filter on?

$hosts = Vim::find_entity_views(view_type => 'HostSystem', properties => ['name','config'], filter => { name => qr/$hostName/});

 

Thanks!


Viewing all articles
Browse latest Browse all 168400

Trending Articles



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