Is is possible to provide SCSI UNIT ID while create disk ? or can it be configure later by powerskk ?
New-HardDisk -VM $dvm -DiskPath $diskpath.filename -Persistence IndependentNonPersistent -Controller "SCSI controller 1"
Not with a cmdlet afaik, but it can be done via the API.
See for example Re: Automate add Windows Hard Disk
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference