<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Powershell on myvirtualcloud.net</title><link>https://myvirtualcloud.net/tags/powershell/</link><description>Recent content in Powershell 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/powershell/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>Nutanix 4.0 PowerShell has Full Feature Coverage</title><link>https://myvirtualcloud.net/nutanix-4-0-powershell-has-full-feature-coverage/</link><pubDate>Mon, 21 Apr 2014 07:55:50 +0000</pubDate><guid>https://myvirtualcloud.net/nutanix-4-0-powershell-has-full-feature-coverage/</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 GUI. Basically, anything that can be done via GUI can also be done via REST 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>Disaster Recovery - Failover and Failback with Nutanix</title><link>https://myvirtualcloud.net/disaster-recovery-failover-and-failback-with-nutanix/</link><pubDate>Sat, 22 Feb 2014 15:26:13 +0000</pubDate><guid>https://myvirtualcloud.net/disaster-recovery-failover-and-failback-with-nutanix/</guid><description>&lt;p&gt;Nutanix has built-in VM-Centric, multi-site, bi-directional, multi-topology disaster recovery and replication engine that also supports VMware Site Recovery Manager and Run Book Automation tools. The replication utilizes incremental and fine-grained byte-level data transfers with intelligent data compression, eliminating network and storage resource throttle.&lt;/p&gt;</description></item><item><title>How to Establish PowerShell Connection to Nutanix and Execute your 1st Query</title><link>https://myvirtualcloud.net/how-to-establish-powershell-connection-to-nutanix-and-execute-your-1st-query/</link><pubDate>Thu, 20 Feb 2014 11:12:15 +0000</pubDate><guid>https://myvirtualcloud.net/how-to-establish-powershell-connection-to-nutanix-and-execute-your-1st-query/</guid><description>&lt;p&gt;In my article &lt;a href="https://myvirtualcloud.net/?p=5903" target="_blank"&gt;Nutanix Automation, Policies and the SDDC&lt;/a&gt; I discussed how Nutanix exposes all features and functions via REST API, enabling programmatic access to datacenter services within mainstream enterprises.&lt;br /&gt;&#10;&amp;nbsp;&lt;br /&gt;&#10;The current list of features and services that can be fully managed by programmatic access is long and include the following:&lt;/p&gt;</description></item><item><title>How to: Automate Horizon Mirage tasks via API and PowerShell</title><link>https://myvirtualcloud.net/how-to-automate-horizon-mirage-tasks-via-api-and-powershell/</link><pubDate>Wed, 10 Apr 2013 09:28:49 +0000</pubDate><guid>https://myvirtualcloud.net/how-to-automate-horizon-mirage-tasks-via-api-and-powershell/</guid><description>&lt;p&gt;VMware Horizon Mirage is a layered image management solution that separates the PC into logical layers, which are owned and managed by either IT or the end user. Mirage enables enterprise IT administrators to centrally control the base and application layers guarantying a consistent view of the image across all endpoints. Through the Mirage Management Console, the administrator configures and manages clients, base images and app layers, performs operations such as updates and restores, and monitors the system operation through the dashboard and event logs.&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>VMware View automation with vCenter Orchestrator</title><link>https://myvirtualcloud.net/vmware-view-automation-with-vcenter-orchestrator/</link><pubDate>Tue, 15 May 2012 05:10:47 +0000</pubDate><guid>https://myvirtualcloud.net/vmware-view-automation-with-vcenter-orchestrator/</guid><description>&lt;p&gt;In many organizations automation is a key component that allow IT to spend cycles where the business need them - perhaps innovation. Many VMware products have their own API’s and SDK that help organizations to automate process. VMware View doesn’t have publically available API’s that can be used in the automation process. However, VMware View does expose PowerShell cmdlets that can be used in the construction of a automated process via PowerShell scripts or via the construction of vCenter Orchestrator Workflows.&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>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></channel></rss>