I am writing a ps script to export my vms that I manage in svmm to another hdd as a backup.
I tried using Export-VM
(http://technet.microsoft.com/en-us/library/hh848491.aspx), but ISE didn't find a matching entry in any module and I can't find any further help on the internet. Here is what I get - sry that it is in German.
PS C:\Users\Usr> Export-VM Export-VM : Die Benennung "Export-VM" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang. In Zeile:1 Zeichen:1 + Export-VM + ~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Export-VM:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Why is that? Thank you in advance!
Export-VM
is a Hyper-V cmdlet, not an SCVMM cmdlet. – Ansgar WiechersExport-VM
cmdlet isn't available there. You need to run the code on the server, or create a mockupHyper-V
module on the client. Of course the latter won't actually export anything, but it might allow you to test the rest of your script. – Ansgar Wiechers