Difference between revisions of "Script Extracts and Examples (PowerCLI)"

Jump to navigation Jump to search
Added ESX version check
(Added more commands)
(Added ESX version check)
Line 93: Line 93:
</pre>
</pre>


== Useful CommandLets etc ==
== Useful CmdLets etc ==
=== Virtual Machine ===
=== Virtual Machine ===


Line 117: Line 117:
! Command    !! Description
! Command    !! Description
|-
|-
| <code> get-vmhost -name uklonesxt1* | %{(Get-View $_.ID).Config.Product} </code>  
| <code> get-vmhost -name uklonesxt1* <nowiki>|</nowiki> %{(Get-View $_.ID).Config.Product} </code>  
| Get ESX software version (inc build no)
| Get ESX software version (inc build no)




|}
|}


== VM Datastores ==
== VM Datastores ==

Navigation menu