Forum Discussion
- bradn2k1Novice IGet-Disk | ? { $_.SerialNumber -eq $diskSerial } | Set-Disk -IsOffline $False
- bradn2k1Novice Ithank you - i tried out that diskpart script and when i online the drive - it's still complaining that the disk is read only. --> Set-Disk -IsOffline $False then the disk just disappears and dont;' show up in diskpart anymore. Not sure why that's the case
- cmautnerPuritanAre you including the _attributes disk clear readonly_ part as well?
- cmautnerPuritanTry going through manual process first before automating… Also try sending it to a intermediary server first, and re-signaturing it there, and bringing it back
- cmautnerPuritanFor any disk refresh solutions, I almost always direct customers to leave the original source machine alone, and use another server as the data refresh location. Then we just resignature as the disk lands and never have to worry about GUID conflicts. Not sure what your use case for this copy is though.
- bradn2k1Novice Ihigh-level: we have a machine that get log restores from prod data. We want to clone that volume then mainpulate files on new clone number i.e. rename files. Then clone this new volume to attach to other dev machines.
- bradn2k1Novice Icmautner
- cmautnerPuritanCan you rename the files once the drive is attached to final server? Is this part of like a datascrub to remove production information before it hits dev/test??