jumebv

My personal adventures in the quest for virtual perfectness.

  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Login
    Login Login form
Subscribe to this list via RSS Blog posts tagged in PowerCLI

Posted on

Last week I got back from holiday, had a wonderful time in France with great weather. Anyway, we're looking into changing one pool with virtual desktops from one vCPU to two vCPUs. Looking a CPU load on every host in the cluster should allow that, but we are very curious what the ready time would be.

Ready time is a VM metric, but we want to know the 'average' on the whole cluster. PowerCLI to the rescue:

...
Last modified on
Recent comment in this post - Show all comments
  • Francesco says #
    Hi, can I retrieve the value of CPU Ready in a specific hour? I woult create a script that, invoked, retrieve this value on a spe

Posted on

I'm writing a Powershell script on getting info from a View environment. One thing I noticed was the amount of time the 'Get-Pool' commandlet takes to finish when using '-pool_id'. Now I know the commandlets are not very well written (it is sooo 1980s to run the commands from a broker), but take a look at this example:

Measure-Command{$poolinfo = Get-Pool -pool_id $PoolName}
Measure-Command{$poolinfo = Get-Pool}

...
Tagged in: PowerCLI Powershell View
Last modified on