It 's difficult because i don't undestrand why i have the problem with default formatting, sometimes
i make a file ps1, but sommetines i have the message witch the default formatting
$RESEAU=Get-NetworkAdapter -VM (get-vm -name $NAME_TEMPLATE -location $DATA_CENTER) | select name,type | Format-Table -AutoSize
or
with this command
get-vm -name $NAME_TEMPLATE -location $DATA_CENTER | get-view | Foreach-Object {$_.UpgradeVM("vmx-08")}
a error message said that it don't find the vm because a conflict exist witch the default formatting
i don't undestrand how to avoid the problem
how know the default formatting and how change for to have no problem
In advance thank you for your help
Note: Discussion successfully moved from Product & Feature Suggestions to VMware vSphere™ PowerCLI
Could you give us an extract or a screenshot of the messages you get ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
i give you the exact message, tomorrow