{"id":620,"date":"2016-11-28T11:17:18","date_gmt":"2016-11-28T10:17:18","guid":{"rendered":"http:\/\/172.16.10.10:8080\/?p=620"},"modified":"2016-11-28T11:32:30","modified_gmt":"2016-11-28T10:32:30","slug":"powercli-6-5-watchout-the-modules","status":"publish","type":"post","link":"http:\/\/vblog.hochsticher.de\/?p=620","title":{"rendered":"PowerCLI 6.5 watchout the Modules"},"content":{"rendered":"<p>You have to look at the Modules in PowerCLI 6.5.<\/p>\n<p>When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before.<\/p>\n<p>In 6.5 there are no longer PSSnapins! Now there are only Modules!<\/p>\n<p><!--more--><\/p>\n<p>Before PowerCLI 6.5 you added your Snapins via<\/p>\n<pre class=\"lang:default decode:true\">Add-PSSnapin VMware.VimAutomation.Core<\/pre>\n<p>In 6.5 you have to load the Modules via<\/p>\n<pre class=\"lang:default decode:true \">Import-Module VMware.VimAutomation.Core\r\nImport-Module VMware.VimAutomation.Vds\r\nImport-Module VMware.VimAutomation.Cloud\r\nImport-Module VMware.VimAutomation.PCloud\r\nImport-Module VMware.VimAutomation.Cis.Core\r\nImport-Module VMware.VimAutomation.Storage\r\nImport-Module VMware.VimAutomation.HorizonView\r\nImport-Module VMware.VimAutomation.HA\r\nImport-Module VMware.VimAutomation.vROps\r\nImport-Module VMware.VumAutomation\r\nImport-Module VMware.DeployAutomation\r\nImport-Module VMware.ImageBuilder\r\nImport-Module VMware.VimAutomation.License<\/pre>\n<p>Otherwise you start the VMware Script witch is located under (default)<\/p>\n<p style=\"text-align: left;\">&#8220;C:\\Program Files (x86)\\VMware\\Infrastructure\\PowerCLI\\Scripts\\Initialize-PowerCLIEnvironment.ps1&#8221;<\/p>\n<p style=\"text-align: left;\">&nbsp;<\/p>\n<p style=\"text-align: left;\">Also checkout the new functions that came with 6.5 here:<\/p>\n<p style=\"text-align: left;\"><a href=\"http:\/\/blogs.vmware.com\/PowerCLI\/2016\/11\/new-release-powercli-6-5-r1.html\">http:\/\/blogs.vmware.com\/PowerCLI\/2016\/11\/new-release-powercli-6-5-r1.html<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules!<\/p>\n","protected":false},"author":1,"featured_media":627,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[4,7],"tags":[],"class_list":["post-620","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powercli","category-vsphere"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules! Before PowerCLI 6.5 you added your Snapins via Add-PSSnapin VMware.VimAutomation.Core In 6.5 you have to load the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Christoph Hochsticher\"\/>\n\t<meta name=\"google-site-verification\" content=\"lo0g577VbySpy05Melx7kVchEKh4qiUJhEtBpOiRLg8\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/vblog.hochsticher.de\/?p=620\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Chris - vBlog - Blog about Virtualization\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PowerCLI 6.5 watchout the Modules - Chris - vBlog\" \/>\n\t\t<meta property=\"og:description\" content=\"You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules! Before PowerCLI 6.5 you added your Snapins via Add-PSSnapin VMware.VimAutomation.Core In 6.5 you have to load the\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/vblog.hochsticher.de\/?p=620\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-11-28T10:17:18+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-11-28T10:32:30+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PowerCLI 6.5 watchout the Modules - Chris - vBlog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules! Before PowerCLI 6.5 you added your Snapins via Add-PSSnapin VMware.VimAutomation.Core In 6.5 you have to load the\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#blogposting\",\"name\":\"PowerCLI 6.5 watchout the Modules - Chris - vBlog\",\"headline\":\"PowerCLI 6.5 watchout the Modules\",\"author\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/PCLI.png?wsr\",\"width\":640,\"height\":357},\"datePublished\":\"2016-11-28T11:17:18+01:00\",\"dateModified\":\"2016-11-28T11:32:30+01:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#webpage\"},\"articleSection\":\"PowerCLI, vSphere\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/vblog.hochsticher.de\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?cat=4#listItem\",\"name\":\"PowerCLI\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?cat=4#listItem\",\"position\":2,\"name\":\"PowerCLI\",\"item\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?cat=4\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#listItem\",\"name\":\"PowerCLI 6.5 watchout the Modules\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#listItem\",\"position\":3,\"name\":\"PowerCLI 6.5 watchout the Modules\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?cat=4#listItem\",\"name\":\"PowerCLI\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1#author\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1\",\"name\":\"Christoph Hochsticher\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d87fe995d7081d178014a72c729204792aff213f894bac1d28d0e0cc956c1171?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Christoph Hochsticher\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#webpage\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620\",\"name\":\"PowerCLI 6.5 watchout the Modules - Chris - vBlog\",\"description\":\"You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules! Before PowerCLI 6.5 you added your Snapins via Add-PSSnapin VMware.VimAutomation.Core In 6.5 you have to load the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/PCLI.png?wsr\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620\\\/#mainImage\",\"width\":640,\"height\":357},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/?p=620#mainImage\"},\"datePublished\":\"2016-11-28T11:17:18+01:00\",\"dateModified\":\"2016-11-28T11:32:30+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/#website\",\"url\":\"http:\\\/\\\/vblog.hochsticher.de\\\/\",\"name\":\"Chris - vBlog\",\"description\":\"Blog about Virtualization\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"http:\\\/\\\/vblog.hochsticher.de\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PowerCLI 6.5 watchout the Modules - Chris - vBlog","description":"You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules! Before PowerCLI 6.5 you added your Snapins via Add-PSSnapin VMware.VimAutomation.Core In 6.5 you have to load the","canonical_url":"http:\/\/vblog.hochsticher.de\/?p=620","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"lo0g577VbySpy05Melx7kVchEKh4qiUJhEtBpOiRLg8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"http:\/\/vblog.hochsticher.de\/?p=620#blogposting","name":"PowerCLI 6.5 watchout the Modules - Chris - vBlog","headline":"PowerCLI 6.5 watchout the Modules","author":{"@id":"http:\/\/vblog.hochsticher.de\/?author=1#author"},"publisher":{"@id":"http:\/\/vblog.hochsticher.de\/#person"},"image":{"@type":"ImageObject","url":"http:\/\/vblog.hochsticher.de\/wp-content\/uploads\/2016\/11\/PCLI.png?wsr","width":640,"height":357},"datePublished":"2016-11-28T11:17:18+01:00","dateModified":"2016-11-28T11:32:30+01:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"http:\/\/vblog.hochsticher.de\/?p=620#webpage"},"isPartOf":{"@id":"http:\/\/vblog.hochsticher.de\/?p=620#webpage"},"articleSection":"PowerCLI, vSphere"},{"@type":"BreadcrumbList","@id":"http:\/\/vblog.hochsticher.de\/?p=620#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de#listItem","position":1,"name":"Home","item":"http:\/\/vblog.hochsticher.de","nextItem":{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?cat=4#listItem","name":"PowerCLI"}},{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?cat=4#listItem","position":2,"name":"PowerCLI","item":"http:\/\/vblog.hochsticher.de\/?cat=4","nextItem":{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?p=620#listItem","name":"PowerCLI 6.5 watchout the Modules"},"previousItem":{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?p=620#listItem","position":3,"name":"PowerCLI 6.5 watchout the Modules","previousItem":{"@type":"ListItem","@id":"http:\/\/vblog.hochsticher.de\/?cat=4#listItem","name":"PowerCLI"}}]},{"@type":"Person","@id":"http:\/\/vblog.hochsticher.de\/?author=1#author","url":"http:\/\/vblog.hochsticher.de\/?author=1","name":"Christoph Hochsticher","image":{"@type":"ImageObject","@id":"http:\/\/vblog.hochsticher.de\/?p=620#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d87fe995d7081d178014a72c729204792aff213f894bac1d28d0e0cc956c1171?s=96&d=mm&r=g","width":96,"height":96,"caption":"Christoph Hochsticher"}},{"@type":"WebPage","@id":"http:\/\/vblog.hochsticher.de\/?p=620#webpage","url":"http:\/\/vblog.hochsticher.de\/?p=620","name":"PowerCLI 6.5 watchout the Modules - Chris - vBlog","description":"You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules! Before PowerCLI 6.5 you added your Snapins via Add-PSSnapin VMware.VimAutomation.Core In 6.5 you have to load the","inLanguage":"en-US","isPartOf":{"@id":"http:\/\/vblog.hochsticher.de\/#website"},"breadcrumb":{"@id":"http:\/\/vblog.hochsticher.de\/?p=620#breadcrumblist"},"author":{"@id":"http:\/\/vblog.hochsticher.de\/?author=1#author"},"creator":{"@id":"http:\/\/vblog.hochsticher.de\/?author=1#author"},"image":{"@type":"ImageObject","url":"http:\/\/vblog.hochsticher.de\/wp-content\/uploads\/2016\/11\/PCLI.png?wsr","@id":"http:\/\/vblog.hochsticher.de\/?p=620\/#mainImage","width":640,"height":357},"primaryImageOfPage":{"@id":"http:\/\/vblog.hochsticher.de\/?p=620#mainImage"},"datePublished":"2016-11-28T11:17:18+01:00","dateModified":"2016-11-28T11:32:30+01:00"},{"@type":"WebSite","@id":"http:\/\/vblog.hochsticher.de\/#website","url":"http:\/\/vblog.hochsticher.de\/","name":"Chris - vBlog","description":"Blog about Virtualization","inLanguage":"en-US","publisher":{"@id":"http:\/\/vblog.hochsticher.de\/#person"}}]},"og:locale":"en_US","og:site_name":"Chris - vBlog - Blog about Virtualization","og:type":"article","og:title":"PowerCLI 6.5 watchout the Modules - Chris - vBlog","og:description":"You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules! Before PowerCLI 6.5 you added your Snapins via Add-PSSnapin VMware.VimAutomation.Core In 6.5 you have to load the","og:url":"http:\/\/vblog.hochsticher.de\/?p=620","article:published_time":"2016-11-28T10:17:18+00:00","article:modified_time":"2016-11-28T10:32:30+00:00","twitter:card":"summary_large_image","twitter:title":"PowerCLI 6.5 watchout the Modules - Chris - vBlog","twitter:description":"You have to look at the Modules in PowerCLI 6.5. When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before. In 6.5 there are no longer PSSnapins! Now there are only Modules! Before PowerCLI 6.5 you added your Snapins via Add-PSSnapin VMware.VimAutomation.Core In 6.5 you have to load the"},"aioseo_meta_data":{"post_id":"620","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-03-16 21:40:54","updated":"2025-06-03 20:40:45","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/vblog.hochsticher.de\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/vblog.hochsticher.de\/?cat=4\" title=\"PowerCLI\">PowerCLI<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPowerCLI 6.5 watchout the Modules\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/vblog.hochsticher.de"},{"label":"PowerCLI","link":"http:\/\/vblog.hochsticher.de\/?cat=4"},{"label":"PowerCLI 6.5 watchout the Modules","link":"http:\/\/vblog.hochsticher.de\/?p=620"}],"_links":{"self":[{"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/posts\/620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=620"}],"version-history":[{"count":6,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/posts\/620\/revisions"}],"predecessor-version":[{"id":626,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/posts\/620\/revisions\/626"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=\/wp\/v2\/media\/627"}],"wp:attachment":[{"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=620"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/vblog.hochsticher.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}