Link to home
Start Free TrialLog in
Avatar of icecom4
icecom4Flag for United States of America

asked on

powershell or windows batch script take disk offline with diskpart

Need a powershell or windows batch (pref is batch) script that takes "disk 2" offline using diskpart. I can do it manually in command line but i need a complete working script



OS: Windows 10
ASKER CERTIFIED SOLUTION
Avatar of McKnife
McKnife
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of icecom4

ASKER

thanks, worked like a charm!