MicroMarket
Contributor
Contributor

Dear Friend

Im download the pdf and follow all steps

im run the Vmware PowerCli and all commands such as Get-VM, Start-VM and Stop-VM worked successfully


when im open script and copy all lines all steps works fine

but im don´t now how im can call the script called .psc1


Im do the script but how im can call the script direct from cmd ???

im try this line bellow


C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -PSConsoleFile “C:\Programiles\VMware\Infrastructure\VSphere PowerCLI\vim.psc1” -NoExit –Command

Thanks

Almir

Reply
0 Kudos