Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell and Set-VHD

$
0
0

So I'm currently learning Powershell amongst other things for work. 

But one thing that has caused me to grind to a stop is the face that set-VHD worked for me no more than a week ago. However the last day or two its literally stopped working and I have no idea why.

The error it gives me is as follows:

Set-VHD : The term 'Set-VHD' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that 

the path is correct and try again.

At path.ps1:20 char:1

+ Set-VHD -Path "path" -ParentPa ...

+ ~~~~~~~

    + CategoryInfo          : ObjectNotFound: (Set-VHD:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

The file paths are definitely correct.

Can anyone help me understand why it would stop working out of the blue?





Viewing all articles
Browse latest Browse all 21975

Trending Articles



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