VMware Horizon Community
shawnwatb
Enthusiast
Enthusiast

View PowerCLI Delete-Pool

I am on a view 4.6.  I am using PowerCLI for view.  The command i am using is:

Remove-Pool

The error i am getting is:

error=Could not check for local sessions on specified pool.

I know i need to connect at the beginning of the script but am not finding any examples of a full script using Remove-Pool to see what i am doing wrong.

Attempting to automate the world
Reply
0 Kudos
2 Replies
uday_s
Enthusiast
Enthusiast

Did you try "-TerminateSession TRUE" as parameter for Remove-Pool command?

Reply
0 Kudos
amandasmith
Enthusiast
Enthusiast

Hi,

  Check the following information http://www.vmware.com/files/pdf/techpaper/PowerShell-Integration-View45-WP.pdf

Hope this information helps you.

Always remember you're unique, just like everyone else
Reply
0 Kudos