Hi drivera
create a text files like this
vmname,notes
vm1,"something something"
vm2,"something else"
vm3,"really nice something"
sAve this content in a file name is : c:\mydata.csv
then
$csvdata=import-csv c:\mydata.csv
then
ForEach ($vm in $csvdata)
{
$notes=$vm.notes
$vm=$vm.vmname
Set-VM -VM $vm -Description $notes -Confirm:$false
}
if you really want to do it this way
"
As you can see all my vm's will get the same notes entry...that is not cool. So I was wondering can I point each vm to a vm specific file:
E:\temp\windows01 for instance?
"
let me know, i think that having all notes for vms in 1 csv file is way better, easier