{"id":5396,"date":"2018-04-22T23:10:59","date_gmt":"2018-04-22T21:10:59","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=5396"},"modified":"2018-04-25T12:27:15","modified_gmt":"2018-04-25T10:27:15","slug":"vmware-installing-powercli","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/vmware-installing-powercli\/","title":{"rendered":"VMware: Installing PowerCli"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_5396 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_5396')){$('.twoclick_social_bookmarks_post_5396').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"VMware%3A%20Installing%20PowerCli\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0AVMware%20does%20not%20longer%20provide%20Setups%20for%20installing%20PowerCli.%0D%0A%0D%0AIf%20you%20want%20to%20use%20the%20latest%20version%20of%20the%20PowerCli%20you%20have%20to%20install%20the%20modules%20from%20a%20NuGet%20Repository.%20This%20requires%20at%20least%20Version%205%20of%20the%20powershell.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/vmware-installing-powercli\\\/\",\"post_id\":5396,\"post_title_referrer_track\":\"VMware%3A+Installing+PowerCli\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>VMware does not longer provide Setups for installing PowerCli.<\/p>\n<p>If you want to use the latest version of the PowerCli you have to install the modules from a NuGet Repository. This requires at least Version 5 of the powershell.<br \/>\n<!--more--><br \/>\nThe following steps installs the latest Version<\/p>\n<p>Install the latest NuGet Client<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nPS D:\\&gt; Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force\r\n<\/pre>\n<p>Looking for PowerCli Modules<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nPS D:\\&gt; Find-module *vmware*\r\n\r\nVersion    Name\r\n-------    ----\r\n10.0.0.... VMware.VimAutomation.Core\r\n10.0.0.... VMware.VimAutomation.Sdk\r\n10.0.0.... VMware.VimAutomation.Common\r\n10.0.0.... VMware.VimAutomation.Cis.Core\r\n10.0.0.... VMware.VimAutomation.Vds\r\n6.5.4.7... VMware.VimAutomation.HA\r\n10.0.0.... VMware.VimAutomation.License\r\n10.0.0.... VMware.VimAutomation.Srm\r\n6.5.2.7... VMware.ImageBuilder\r\n10.0.0.... VMware.VimAutomation.vROps\r\n10.0.0.... VMware.VimAutomation.Cloud\r\n10.0.0.... VMware.PowerCLI\r\n...\r\n<\/pre>\n<p>The Module VMware.PowerCLI is a &#8220;meta&#8221; module which installs all VMware Modules<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nPS D:\\&gt; Install-Module VMware.PowerCLI\r\n<\/pre>\n<p>To get a list of all installed modules<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nPS D:\\&gt;  Get-InstalledModule\r\n<\/pre>\n<p>and load the required modules<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nPS D:\\&gt; Import-Module VMware.VimAutomation.Core\r\nPS D:\\&gt; Connect-VIServer -?\r\n\r\nNAME\r\n    Connect-VIServer\r\n\r\n\u00dcBERSICHT\r\n    This cmdlet establishes a connection to a vCenter Server system.\r\n\r\n<\/pre>\n<p>Disable CEIP <\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nSet-PowerCLIConfiguration -Scope AllUsers -ParticipateInCEIP $false -Confirm:$false\r\n<\/pre>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, VMware does not longer provide Setups for installing PowerCli. If you want to use the latest version of the PowerCli you have to install the modules from a NuGet Repository. This requires at least Version 5 of the powershell.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[344,7],"tags":[24,133,1169],"class_list":["post-5396","post","type-post","status-publish","format-standard","hentry","category-powershell-scripting","category-vmware","tag-installation","tag-powershell","tag-vmware-powercli"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=5396"}],"version-history":[{"count":9,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5396\/revisions"}],"predecessor-version":[{"id":5424,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5396\/revisions\/5424"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=5396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=5396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=5396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}