Jonathan Grubb Jonathan Grubb 2 2 silver badges 14 14 bronze badges. Thanks MikeGaruccio. I've figured something out and posted an answer, but I will be checking out your link. Ahh looks like your using some of the newer cmdlets, definitely the way to go if your machines support them, WMI would be a useful fallback if any of your systems are older than Add a comment.
Active Oldest Votes. Is there any way to do this without formatting it? Donuts did you figure out any way to do it, I am exactly stuck at the same point. Any inputs are appreciated. Deepak i did get this to work. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Is there a way to run in line as a single command, if I am not able to store a text file? Giovanni Tirloni Giovanni Tirloni 5, 3 3 gold badges 23 23 silver badges 45 45 bronze badges.
I tried running the command, but it did not appear to cause the disk to mount. Here is a screenshot where I first ran the command and then opened disk manager and explorer: i. You have to enter diskpart first, then issue the san command. Although I now get feedback about the SAN policy changing, it still does not cause the drive to mount: i. It seems get-disk and set-disk are not available under Windows Server R2 only and newer include the disk module according to this SO question — Jake.
You might need to consider installing PowerShell 4. Or using the workaround proposed in the SO question you link diskpart script. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. Viewed 8k times. Add a comment. Active Oldest Votes. Setup a drive mapping using Ec2ConfigServiceSettings.
If it is then we're done. This is just to make sure it is ready before mounting it. Chris Markle Chris Markle 2, 4 4 gold badges 25 25 silver badges 43 43 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name.
0コメント