Hi ,
thank you very much for your help.
In fact I had then managed to find a way to do it, very similar to yours.
It works with VM switched off.
When you add a "hard disk" with VM on, it is assigned to the first free "scsi" channel.
And afterwards it is not possible to make the channel change while the vm is switched on.
Unfortunately I could not find any way to assign the channel when creating the new disk.
This annoys me a bit because you can do this by hand on vsphere and not via powercli...
And since I need to add a disk to about 50 machines (which I can't shut down) on which data will have to be backed up based on hard disk scsi number.
Present disks remain under backup and this new one must be filtered instead.
The backup software (commvault) can only make a difference on scsi channels or disk names. But even that is not editable. They are always called "Hard Disk n".
Does anyone have any suggestions?
Thanks for your help.
I appreciate it.
Daniel