Posted by Cereal
Thursday, August 27, 2009 7:00:00 AM
Rate this Content
0
0 Votes
Script description :
Import Notes And Custom Fields names And values from a CSV File
How script work ?
Use VI menu [File ==> Export ==> Export List] To create the original CSV.
!!! WARNING !!! You must use a "Local Administrator" account on "Virtual Center"
Configure powershell function :
- Set custom field value With [NOTES] column
Set-VM [VM_NAME] -Description [Default NOTE VALUE] -Confirm:$false
- Set custom field value
Set-customfield -entity [VM_NAME] -name [NAME of column In VC] -value [VALUE To Set]
Remarks :
The script creates automatically in Virtual Center custom fields and set values to it
Download sample
Simple-Tech.info