<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Assign user in Dedicated pool with Powershell in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980882#M79584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way, I tried it from PowerCLI and View PowerCLI as well but without success.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/79974i2E904629EE6E1F90/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 14:00:29 GMT</pubDate>
    <dc:creator>OldrichSrubar</dc:creator>
    <dc:date>2018-02-28T14:00:29Z</dc:date>
    <item>
      <title>Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980880#M79582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I need to solve situation where user assigment in Horizon dedicated pool must be automatic. Well, it's not a problem itself, I have one idea in my head where I will use AD groups and task scheduler with powershell script inside. But problem is that I am not able to find any usable cmdlet for assigment operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was searching VMware Docs and there is something about Update-UserOwnership cmdlet that could solve my problem. However, even I imported all modules from PowerCLI to PowerShell I cannot find it there, this cmdlet doesn't exist.&lt;/P&gt;&lt;P&gt;Reference here: &lt;A href="https://docs.vmware.com/en/VMware-Horizon-7/7.1/com.vmware.view.integration.doc/GUID-99419D20-44CC-4FF8-BFAF-D954D895BB1C.html" title="https://docs.vmware.com/en/VMware-Horizon-7/7.1/com.vmware.view.integration.doc/GUID-99419D20-44CC-4FF8-BFAF-D954D895BB1C.html"&gt;Updating Virtual Machine Ownership&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I also imported VMware.v.Helper module but I didn't find anything useful, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some cmdlet or short script which can help me to solve this fundamental Horizon operation in Powershell?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 06:10:54 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980880#M79582</guid>
      <dc:creator>OldrichSrubar</dc:creator>
      <dc:date>2018-02-28T06:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980881#M79583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This cmdlet is unfortunately only available within the PowerCLI on the Connection Servers itself.&lt;BR /&gt;Start the PowerCLI there with the Start Menu entry.&lt;/P&gt;&lt;P&gt;Would love to do this remote too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 13:40:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980881#M79583</guid>
      <dc:creator>andiwe79</dc:creator>
      <dc:date>2018-02-28T13:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980882#M79584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way, I tried it from PowerCLI and View PowerCLI as well but without success.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/79974i2E904629EE6E1F90/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:00:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980882#M79584</guid>
      <dc:creator>OldrichSrubar</dc:creator>
      <dc:date>2018-02-28T14:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980883#M79585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Screenshot is from Standard PowerCLI 6.5 &lt;/P&gt;&lt;P&gt;What das View PowerCLI on the Connection Servers say?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:05:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980883#M79585</guid>
      <dc:creator>andiwe79</dc:creator>
      <dc:date>2018-02-28T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980884#M79586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly it fails to load in the snapin and it cannot find cmdlet as well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/79982i422B5991D8D47BFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:08:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980884#M79586</guid>
      <dc:creator>OldrichSrubar</dc:creator>
      <dc:date>2018-02-28T14:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980885#M79587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2018-02-28 15_07_12-mRemoteNG - confCons.xml - RDS02.png"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/79983i82522624965753A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-02-28 15_07_12-mRemoteNG - confCons.xml - RDS02.png" alt="2018-02-28 15_07_12-mRemoteNG - confCons.xml - RDS02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:10:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980885#M79587</guid>
      <dc:creator>andiwe79</dc:creator>
      <dc:date>2018-02-28T14:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980886#M79588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe insufficient user rights?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:10:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980886#M79588</guid>
      <dc:creator>andiwe79</dc:creator>
      <dc:date>2018-02-28T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980887#M79589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahh lol, really run as administrator helped to run it in View PowerCLI but anyway I am still missing possibility to run it remotely from some management server, not especially only on Connectivity servers &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@496A89FA088F62A110AE1F7E1799BA25/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:13:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980887#M79589</guid>
      <dc:creator>OldrichSrubar</dc:creator>
      <dc:date>2018-02-28T14:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980888#M79590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of horizon and powercli are you using. Looking at your screenshots your trying to load snapins, in the latest versions of powercli those don't work, you need to use modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding this at the top instead of add snapin part if you have the latest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Get-Module&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;-Name&lt;/SPAN&gt; &lt;SPAN style="color: #8a2be2;"&gt;VMware*&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;-ListAvailable&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Import-Module&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:58:41 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980888#M79590</guid>
      <dc:creator>sjesse</dc:creator>
      <dc:date>2018-02-28T14:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980889#M79591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PowerCLI from PowerShell Gallery does not have this functionality (at least i did not find it :smileycry:).&lt;BR /&gt;But you are right, upgrading to latest Version should be mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 15:05:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980889#M79591</guid>
      <dc:creator>andiwe79</dc:creator>
      <dc:date>2018-02-28T15:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980890#M79592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Powercli from the powercli gallery should have it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.powershellgallery.com/packages/VMware.VimAutomation.HorizonView/7.1.0.5307191" title="https://www.powershellgallery.com/packages/VMware.VimAutomation.HorizonView/7.1.0.5307191"&gt;PowerShell Gallery | VMware.VimAutomation.HorizonView 7.1.0.5307191&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from my understanding everything powercli related now should be installed from the powershell gallery. The problem is the new ones vs the ones from 6.2.1 are alot harder to use.&amp;nbsp; I'd look at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.vmware.com/euc/2017/01/vmware-horizon-7-powercli-6-5.html" title="https://blogs.vmware.com/euc/2017/01/vmware-horizon-7-powercli-6-5.html"&gt;https://blogs.vmware.com/euc/2017/01/vmware-horizon-7-powercli-6-5.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for information on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 15:12:50 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980890#M79592</guid>
      <dc:creator>sjesse</dc:creator>
      <dc:date>2018-02-28T15:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980891#M79593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i agree they are more difficult.&lt;BR /&gt;That's why using the local View PowerCLI was comfortable for when i tried this last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Guy has managed this with a new command:&lt;BR /&gt;&lt;A href="https://www.retouw.nl/powercli/adding-manual-desktops-in-horizon-view-and-assigning-them-using-powercli/" title="https://www.retouw.nl/powercli/adding-manual-desktops-in-horizon-view-and-assigning-them-using-powercli/"&gt;https://www.retouw.nl/powercli/adding-manual-desktops-in-horizon-view-and-assigning-them-using-powercli/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 15:27:52 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980891#M79593</guid>
      <dc:creator>andiwe79</dc:creator>
      <dc:date>2018-02-28T15:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Assign user in Dedicated pool with Powershell</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980892#M79594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that guy is me, what is needed it the vmware.hv.helper module from the powercli example scripts at &lt;A href="https://github.com/vmware/PowerCLI-Example-Scripts" title="https://github.com/vmware/PowerCLI-Example-Scripts"&gt;GitHub - vmware/PowerCLI-Example-Scripts&lt;/A&gt; &lt;/P&gt;&lt;P&gt;What you can now do is this: &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15199035412845677 jive_text_macro" data-renderedposition="50_8_1232_16" jivemacro_uid="_15199035412845677"&gt;&lt;P&gt;&lt;CODE style="font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; background: transparent;"&gt;Set-HVMachine -HvServer $vcs -MachineName machine.fqdn -User "domain\user"&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_15199036273462536 jive_macro_code jive_text_macro" data-renderedposition="87_8_1232_16" jivemacro_uid="_15199036273462536"&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; background-color: rgba(27, 31, 35, 0.05);"&gt;Get-HVMachine -MachineName machine.fqdn | Set-HVMachine -User user@domain&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx to another contributor of the module &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 11:27:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Assign-user-in-Dedicated-pool-with-Powershell/m-p/980892#M79594</guid>
      <dc:creator>Magneet</dc:creator>
      <dc:date>2018-03-01T11:27:15Z</dc:date>
    </item>
  </channel>
</rss>

