Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

PowerShell to mount / format data drive

$
0
0

Hello, 

I have a PowerShell script to create a VM and attach a data disk, but how can I then mount that disk and format it without having to log into the box and open disk management? 

Any help would be appreciated! 

Thanks,
Tim


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>