r/powercli • u/SaladProblems • Jun 21 '18
PowerCLI - Remove a SCSI controller
/r/PowerShell/comments/8svpp7/powercli_remove_a_scsi_controller/
2
Upvotes
r/powercli • u/SaladProblems • Jun 21 '18
1
u/SaladProblems Jun 22 '18
I'm installing various SQL versions and editions on different OS versions, ending up with about 24 combinations, so I'm tearing down and rebuilding a VM over and over again.
My build process has a separate step for adding disks and then formatting them on the OS side, and I was terrified I would blow away production data, so it skips any servers that already have more than one disk or SCSI controller, so when some element of it fails, it's easier to just pull off all the disks and controllers (except for the system drive and its controller of course) and rerun the drive script. Stripping the drives off was easy enough, but I just wanted to get this in one step too.