search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Virtual Machine Manager, Windows Powershell, Windows Server | No Comment | 2,850 views | 29/01/2009 23:53

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.