Powershell üzerine VMM kütüphanesi ekleme
Powershell üzerinde SCVMM (System Center Virtual Machine Manager) ile ilgili bir komut çalıştırmak istediğinizde, muhtemelen aşağıdaki hatayı alıyorsunuz:
The term ‘X’ is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
Bu da Powershell üzerinde VMM Snapin eklemeden işlem yapamadığınız anlamına geliyor. Şimdi Powershell’e SCVMM kütüphanesini attach edelim.
1 | Add-PSSnapin -name Microsoft.SystemCenter.VirtualMachineManager |
For English Users: You need to attach SCVMM library to Powershell if you want to use VMM commands in Powershell. To do that, you can use the code above.
Tags: hyper-v, hyperv, scvmm, snapin, Virtual Machine Manager, Windows Powershell
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply