Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 197835

Re: what needs to go at top of script file to work?

$
0
0

That is how it should be.

 

Is that a 64-bit server and if yes do you start the 32-bit or the 64-bit powercli prompt ?

When you start the PowerCLI prompt, the PowerCLI should already have been loaded.

Which the working Connect-VIServer confirms.

 

Can you check in any case with

Get-PSSnapin | Select Name

Does the script do anything when you put just a regular PowerShell cmdlet in there ?

Something like Get_process for example.


Viewing all articles
Browse latest Browse all 197835

Trending Articles



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