<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PowerCLI on myvirtualcloud.net</title><link>https://myvirtualcloud.net/tags/powercli/</link><description>Recent content in PowerCLI on myvirtualcloud.net</description><generator>Hugo</generator><language>en-us</language><copyright>Andre Leibovici</copyright><lastBuildDate>Sun, 03 Aug 2014 16:10:54 +0000</lastBuildDate><atom:link href="https://myvirtualcloud.net/tags/powercli/index.xml" rel="self" type="application/rss+xml"/><item><title>The new Nutanix Script Repository</title><link>https://myvirtualcloud.net/the-new-nutanix-script-repository/</link><pubDate>Sun, 03 Aug 2014 16:10:54 +0000</pubDate><guid>https://myvirtualcloud.net/the-new-nutanix-script-repository/</guid><description>&lt;p&gt;The new Nutanix Script Repository is dedicated to the system administrator scripters of the world whom use automation to reduce time spent performing mundane tasks. Overtime you will find resources written in PowerShell, Java, Python and other script languages.&lt;/p&gt;&#10;&lt;p&gt;You can simply download the scripts or interact with them using Git. &lt;strong&gt;Git&lt;/strong&gt; is an open-source version-control system designed to handle projects that are distributed over multiple repositories and developers. We use Git for local operations such as local branching, commits, diffs, and edits.&lt;/p&gt;</description></item><item><title>Nutanix 4.0 PowerShell goes GA</title><link>https://myvirtualcloud.net/nutanix-4-0-powershell-goes-ga/</link><pubDate>Wed, 11 Jun 2014 15:36:57 +0000</pubDate><guid>https://myvirtualcloud.net/nutanix-4-0-powershell-goes-ga/</guid><description>&lt;p&gt;One of the big new things for workflows and automation in Nutanix NOS 4.0 are the PowerShell cmdlets to interact with the Nutanix API’s. The POSH library covers the entire extent and functionality of the Nutanix platform and graphical user interface. In other others, anything that can be done via GUI can also be done via REST API and can also be done via POSH; including Alerts, Authentication, Backup and Disaster Recovery, Clusters, Containers, Disks, VM and Host, Remote Sites, Multi-Cluster, Storage Pools, SNMP etc.&lt;/p&gt;</description></item><item><title>Powershell Script to Mass Clone and Power VMs via vCenter using VAAI</title><link>https://myvirtualcloud.net/powershell-script-to-mass-clone-and-power-vms-via-vcenter-using-vaai/</link><pubDate>Tue, 18 Feb 2014 17:12:57 +0000</pubDate><guid>https://myvirtualcloud.net/powershell-script-to-mass-clone-and-power-vms-via-vcenter-using-vaai/</guid><description>&lt;p&gt;After publishing the &lt;a href="https://myvirtualcloud.net/?p=5876" target="_blank"&gt;Cloning and Powering VMs on Nutanix with VAAI&lt;/a&gt; video I was asked if I could share the PowerShell scripts used for the demo. I want to thank Steven Poitras (@StevenPoitras) for creating and allowing me to share the scripts with the broader community.&lt;br /&gt;&#10;&amp;nbsp;&lt;br /&gt;&#10;The scripts utilize vCenter Server to create clones and it's likely that vCenter will be the bottleneck during the provisioning process. I recommend assigning more RAM and vCPU as needed. My vCenter server ended up with 8GB RAM and 4 vCPU.&lt;br /&gt;&#10;&amp;nbsp;&lt;br /&gt;&#10;Additionally, I recommend increasing the maximum number of concurrent operations vCenter will allow. To do that one must increase the maxCostPerHost advanced setting to 24.&lt;br /&gt;&#10;&amp;nbsp;&lt;/p&gt;</description></item><item><title>PowerCLI for the VDI geek with Andre Leibovici - Automate ALL the things #vBrownBag</title><link>https://myvirtualcloud.net/powercli-for-the-vdi-geek-with-andre-leibovici-automate-all-the-things-vbrownbag/</link><pubDate>Sat, 02 Nov 2013 10:41:37 +0000</pubDate><guid>https://myvirtualcloud.net/powercli-for-the-vdi-geek-with-andre-leibovici-automate-all-the-things-vbrownbag/</guid><description>&lt;p&gt;Last week the team over at vBrownBag invited me to talk about VMware Horizon View and the PowerShell integration during their webcast. During the live session I was able to cover the basic architecture, the PowerCLI implementation and also provide some simple examples. Thanks to the vBrownBag crew for having me over.&lt;/p&gt;</description></item><item><title>PoSh automation for Horizon View manual pools</title><link>https://myvirtualcloud.net/posh-automation-for-horizon-view-manual-pools/</link><pubDate>Tue, 24 Sep 2013 07:42:28 +0000</pubDate><guid>https://myvirtualcloud.net/posh-automation-for-horizon-view-manual-pools/</guid><description>&lt;p&gt;Automation is system administrator’s best friend. Automating repetitive tasks is a key enabler in most IT environments. Whilst many of the desktop pool administrative tasks in Horizon View can be made via PowerShell, not all objects are exposed.&lt;/p&gt;&#10;&lt;p&gt;The POSH scripts below were created by VMware's Jedi Master Engineer Mike Pryor and they allow administrators to manage a Horizon View Manual Pool via PoSh, providing methods to add and remove desktops.&lt;/p&gt;</description></item><item><title>Mapping Replicas to View Desktop Pools</title><link>https://myvirtualcloud.net/mapping-replicas-to-view-desktop-pools/</link><pubDate>Thu, 14 Mar 2013 14:48:55 +0000</pubDate><guid>https://myvirtualcloud.net/mapping-replicas-to-view-desktop-pools/</guid><description>&lt;p&gt;Identifying what replica is assigned to what desktop pool can be somewhat challenging in Horizon View. However, in some cases administrators need to know the object relationship to properly plan desktop and pool migrations across hosts or datastores.&lt;/p&gt;&#10;&lt;p&gt;The PowerShell script bellow produces a output that demonstrate this relationship.&lt;br /&gt;&#10;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&#10;&lt;a href="https://myvirtualcloud.net/wp-content/uploads/2013/03/Screen-Shot-2013-03-14-at-2.04.33-PM1.png"&gt;&lt;img loading="lazy" style="margin: 5px auto; border: 0px currentcolor; float: none; display: block; background-image: none;" title="Screen Shot 2013-03-14 at 2.04.33 PM" alt="Screen Shot 2013-03-14 at 2.04.33 PM" src="https://myvirtualcloud.net/wp-content/uploads/2013/03/Screen-Shot-2013-03-14-at-2.04.33-PM_thumb.png" width="545" height="369" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&#10;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&#10;To execute save the script below as a .PS1 file in a View Connection Server with the VMware.VimAutomation.Core plug-in installed. The VMware.VimAutomation.Core plug-in is automatically installed with the VMware vSphere™ PowerCLI. Before executing the script you will need to change the vCenter server address at&lt;/p&gt;</description></item><item><title>VMware View PowerShell AD LDS Set-State Function</title><link>https://myvirtualcloud.net/vmware-view-powershell-ad-lds-set-state-function/</link><pubDate>Tue, 11 Dec 2012 12:20:25 +0000</pubDate><guid>https://myvirtualcloud.net/vmware-view-powershell-ad-lds-set-state-function/</guid><description>&lt;p&gt;Automation is system administrator's best friend. Automating repetitive tasks is a key enabler in most IT environments. Whilst many of the desktop pool changes in VMware View can be made via PowerShell, not all objects are exposed.&lt;/p&gt;&#10;&lt;p&gt;I created the PowerShell function below and it will change a desktop pool property state in Active Directory Lightweight Directory Services database key. The function uses the PoolID property to receive an object representation and set the new state in the AD LDS database.&lt;/p&gt;</description></item><item><title>PowerShell Module for (NVP) Nicira Network Virtualization Platform</title><link>https://myvirtualcloud.net/powershell-module-for-nvp-nicira-network-virtualization-platform/</link><pubDate>Mon, 10 Dec 2012 08:55:23 +0000</pubDate><guid>https://myvirtualcloud.net/powershell-module-for-nvp-nicira-network-virtualization-platform/</guid><description>&lt;p&gt;The network virtualization concept of decoupling the logical networking from the physical networking much like in the same way server virtualization de-coupled the operating systems and software from the physical server hardware is permeating IT organizations.&lt;/p&gt;&#10;&lt;p&gt;NVP creates an intelligent abstraction layer between hosts and existing networks. Managed by a distributed controller system this intelligent edge transforms the physical network into a pool of network capacity and enables the programmatic creation of tens of thousands of isolated virtual networks to connect workloads in your cloud.&lt;/p&gt;</description></item><item><title>How to use VMware View PowerCLI with PowerShell 3.0</title><link>https://myvirtualcloud.net/how-to-use-vmware-view-powercli-with-powershell-3-0/</link><pubDate>Mon, 03 Dec 2012 07:10:21 +0000</pubDate><guid>https://myvirtualcloud.net/how-to-use-vmware-view-powercli-with-powershell-3-0/</guid><description>&lt;p&gt;Whilst VMware View Connection Server does offer support for Windows Server 2008 R2 and R2 SP1, only PowerShell 2.0 is supported with the View PowerCLI cmdlets. The PowerShell 2.0 may offer all the functions an administrator may need, but you might want to utilize the newer  PowerShell 3.0 that is available for download from Microsoft Download Center.&lt;/p&gt;</description></item><item><title>Automating Desktop in ‘Already Used’ State in VMware View –Part 2</title><link>https://myvirtualcloud.net/automating-desktop-in-already-used-state-in-vmware-view-part-2/</link><pubDate>Fri, 21 Sep 2012 10:07:00 +0000</pubDate><guid>https://myvirtualcloud.net/automating-desktop-in-already-used-state-in-vmware-view-part-2/</guid><description>&lt;p&gt;Sometimes non-persistent desktop pools become unusable over time. If a desktop that is set to refresh on log off is reset, the desktop goes into the &lt;strong&gt;Already Used&lt;/strong&gt; state. This security feature prevents any previous session data from being available during the next log in.&lt;/p&gt;</description></item><item><title>Setting VMware View Desktop State Remotely</title><link>https://myvirtualcloud.net/setting-vmware-view-desktop-state-remotely/</link><pubDate>Thu, 20 Sep 2012 17:09:10 +0000</pubDate><guid>https://myvirtualcloud.net/setting-vmware-view-desktop-state-remotely/</guid><description>&lt;p&gt;Automation has been always the best friend of good System Administrators. Automating repetitive tasks is a key enabler in most IT environments. However, VMware View has some known limitations when talking about automation and remote management.&lt;/p&gt;&#10;&lt;p&gt;Besides the Graphical User Interface, local PowerCLI is the only supported management methodology. I say local PowerCLI because none of the VMware View PowerCLI cmdlets allow remote management today. I have previously demonstrated how to use &lt;strong&gt;VMware.View.Broker&lt;/strong&gt; PSSnap-In to configure WinRM sessions and execute remote View PowerCLI (&lt;a href="https://myvirtualcloud.net/?p=3474" target="_blank"&gt;here&lt;/a&gt;). It is possible to remotely execute PowerCLI cmdlets using &lt;em&gt;New-PSSession&lt;/em&gt; as I demonstrated in my previous post and in the example below.&lt;/p&gt;</description></item><item><title>Remote use of VMware.View.Broker PowerCLI</title><link>https://myvirtualcloud.net/remote-use-of-vmware-view-broker-powercli/</link><pubDate>Tue, 26 Jun 2012 08:20:55 +0000</pubDate><guid>https://myvirtualcloud.net/remote-use-of-vmware-view-broker-powercli/</guid><description>&lt;p&gt;VMware View has some known limitations when talking about automation and remote management. Besides the Graphical User Interface, local PowerCLI is the only supported management method. I say &lt;span style="text-decoration: underline;"&gt;local PowerCLI&lt;/span&gt; because none of the VMware View PowerCLI cmdlets allow remote management; nor there is a module or DLL that you can register in a host other than a View Connection Server.&lt;/p&gt;</description></item><item><title>Automatic IP Assignment and VLAN change in VMware View</title><link>https://myvirtualcloud.net/automatic-ip-assignment-and-vlan-change-in-vmware-view/</link><pubDate>Sat, 14 Apr 2012 15:32:00 +0000</pubDate><guid>https://myvirtualcloud.net/automatic-ip-assignment-and-vlan-change-in-vmware-view/</guid><description>&lt;p&gt;A while back I blogged about a scripting automation solution created by few VMware colleagues to automatic change the desktop VLAN in VMware View (&lt;a href="https://myvirtualcloud.net/?p=1838"&gt;here&lt;/a&gt;). The solution works great and I have received comments from organizations that have successfully implemented the scripts.&lt;/p&gt;</description></item><item><title>Automating Desktop in 'Already Used' State in VMware View</title><link>https://myvirtualcloud.net/automating-desktop-in-already-used-state-in-vmware-view/</link><pubDate>Sun, 08 Apr 2012 10:54:21 +0000</pubDate><guid>https://myvirtualcloud.net/automating-desktop-in-already-used-state-in-vmware-view/</guid><description>&lt;p&gt;Getting a consistent view of the  VMware View virtual desktop environment is essential for proper management. However, sometimes non-persistent desktop pools become unusable over time. If a desktop that is set to refresh on log off is reset, the desktop goes into the &lt;strong&gt;Already Used&lt;/strong&gt; state. This security feature prevents any previous session data from being available during the next log in.&lt;/p&gt;</description></item><item><title>Unofficial Advanced VMware View Powershell Cmdlets</title><link>https://myvirtualcloud.net/unofficial-advanced-vmware-view-powershell-cmdlets/</link><pubDate>Fri, 10 Feb 2012 09:50:00 +0000</pubDate><guid>https://myvirtualcloud.net/unofficial-advanced-vmware-view-powershell-cmdlets/</guid><description>&lt;p&gt;What if you could issue any function or feature available in VMware View GUI via PowerCLI cmdlets? What if you could call those cmdlets from a remote server?&lt;/p&gt;&#10;&lt;p&gt;Clint Kitson, Chris Horn and I worked together on a project to deliver the next-gen lab environment, and VMware View has been the demand management focal point.&amp;#160; The core concept that we are working to deliver is essentially “desktop as a service” for lab environments.&lt;/p&gt;</description></item><item><title>How to get VMware View Desktop Login Count</title><link>https://myvirtualcloud.net/how-to-get-vmware-view-desktop-login-count/</link><pubDate>Tue, 07 Feb 2012 21:34:00 +0000</pubDate><guid>https://myvirtualcloud.net/how-to-get-vmware-view-desktop-login-count/</guid><description>&lt;p&gt;I was reading tweets today and someone asked for a way to retrieve how often desktops are used – how many times users log into virtual desktops. I am not sure the reason behind the request but this is possible via the VMware View PowerCLI command &lt;strong&gt;Get-EventReport&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>VMware View Pool Membership Management using PowerCLI</title><link>https://myvirtualcloud.net/vmware-view-pool-membership-management-using-powercli/</link><pubDate>Sat, 14 Jan 2012 19:56:00 +0000</pubDate><guid>https://myvirtualcloud.net/vmware-view-pool-membership-management-using-powercli/</guid><description>&lt;p&gt;I have been recently tasked with delivering automation and orchestration &lt;strong&gt;&lt;/strong&gt;that goes beyond VMware View capabilities today. As part of this PoC I have been working with EMC resident enterprise management and PowerShell Guru Clint Kitson &lt;a href="https://twitter.com/#!/clintonskitson"&gt;@clintonskitson&lt;/a&gt; to address few of the shortcomings.&lt;/p&gt;</description></item><item><title>VMware View Remote Agent Install using PowerCLI</title><link>https://myvirtualcloud.net/vmware-view-remote-agent-install-using-powershell/</link><pubDate>Mon, 26 Dec 2011 10:36:00 +0000</pubDate><guid>https://myvirtualcloud.net/vmware-view-remote-agent-install-using-powershell/</guid><description>&lt;p&gt;VMware View in it’s full sense is a connection brokering solution that also create virtual desktops in vCenter Server to be consumed by entitled users. However, users can access VMware View desktops delivered by physical Windows XP/7/2K8 machines that are not managed by vCenter Server, or virtual Windows Server 2K8 managed by vCenter server. Unamanaged desktop sources can include physical computers, terminal servers, and virtual machines running on VMware Server and other virtualization platforms.&amp;#160; Those desktops are assigned to a Manual or Terminal Services Pools.&lt;/p&gt;</description></item><item><title>Follow-up – APAC Virtualisation Roundtable Podcast Number 15 – PowerShell</title><link>https://myvirtualcloud.net/follow-up-apac-virtualisation-roundtable-podcast-number-15-powershell/</link><pubDate>Thu, 03 Jun 2010 10:52:10 +0000</pubDate><guid>https://myvirtualcloud.net/follow-up-apac-virtualisation-roundtable-podcast-number-15-powershell/</guid><description>&lt;div&gt;&#10;&lt;blockquote&gt;A &lt;a href="http://www.talkshoe.com/tc/75046"&gt;great show&lt;/a&gt; thansk to my awesome guests,    &lt;a href="http://www.virtu-al.net/"&gt;Alan Renouf&lt;/a&gt; (&lt;a href="http://twitter.com/alanrenouf"&gt;@AlanRenouf&lt;/a&gt;)     &lt;a href="http://www.lucd.info/"&gt;Luc Dekens&lt;/a&gt; (&lt;a href="http://twitter.com/LucD22"&gt;@lucd22&lt;/a&gt;)  and   &lt;a href="http://halr9000.com/"&gt;Hal Rottenberg&lt;/a&gt; &lt;a href="http://twitter.com/halr9000"&gt;@Halr9000&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Lots of links to good places after the break, thanks to Greg Mulholland (&lt;a href="http://twitter.com/g_mulholland"&gt;@g_mulholland&lt;/a&gt;) for providing them in the chat during the podcast&lt;/p&gt;&#10;&lt;p&gt;PowerShell Podcasts,  Hal’s &lt;a href="http://powerscripting.wordpress.com/"&gt;Power Scripting&lt;/a&gt; Alan &amp;amp; Luc’s &lt;a href="http://get-scripting.blogspot.com/"&gt;Get Scripting&lt;/a&gt;&lt;/p&gt;</description></item><item><title>APAC Virtualization Roundtable (Powershell with Alan Renoulf and Friends) – Wed 2/6</title><link>https://myvirtualcloud.net/apac-virtualization-roundtable-powershell-with-alan-renoulf-and-friends-wed-26/</link><pubDate>Mon, 31 May 2010 20:53:00 +0000</pubDate><guid>https://myvirtualcloud.net/apac-virtualization-roundtable-powershell-with-alan-renoulf-and-friends-wed-26/</guid><description>&lt;p&gt;APAC Virtualization Roundtable is proud to present Alastair Cooke (&lt;a href="http://twitter.com/demitassenz" target="_blank"&gt;@demitassenz&lt;/a&gt;) hosting another exciting geek episode. This Wednesday we have a panel of PowerShell specialists, including Alan Renouf (&lt;a href="http://twitter.com/alanrenouf" target="_blank"&gt;@alanrenouf&lt;/a&gt;), Hal Rottenberg (&lt;a href="http://twitter.com/halr9000" target="_blank"&gt;@halr9000&lt;/a&gt;) and Luc Dekens (&lt;a href="http://twitter.com/LucD22" target="_blank"&gt;@LucD22&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;The broadcast is via TALKSHOE.com.&lt;/p&gt;</description></item><item><title>Top 10 Free tools to manage your Virtual Infrastructure</title><link>https://myvirtualcloud.net/top-10-free-tools-to-manage-your-virtual-infrastructure/</link><pubDate>Thu, 20 Aug 2009 03:06:32 +0000</pubDate><guid>https://myvirtualcloud.net/top-10-free-tools-to-manage-your-virtual-infrastructure/</guid><description>&lt;p&gt;Following the idea that in this world nothing is created but everything transformed I decided to start sharing all the good posts I have collected and that make my life easier. @vladan has posted this good article about free tools that help administrators. Thanks @vladan&lt;/p&gt;</description></item></channel></rss>