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

Re: Script to look and add free vms in pool

$
0
0

For that just change this line:

 

$entitledusers= (Get-ADGroupMember$Poolentitlments.distinguishedName).count

 

To this:

 

$entitledusers= ($PoolEntitlments|foreach {Get-ADGroupMember$_.distinguishedName |where {$_.objectclass -eq'user'}}).count

 

if I've been helpful please mark my answer as Correct

 


Viewing all articles
Browse latest Browse all 229915

Trending Articles



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