VMware Cloud Community
jondercik2
Contributor
Contributor

Create Datastore

I am trying to write a script that will automatically create datastores and name them based on the hostname and the runtimename. I cannot find a way to get the runtime name. Does anyone know how to retrieve that information?

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

Have a look if my Runtime Name via Extensiondata and New-VIProperty post can help.

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos