{"id":189,"date":"2016-03-11T20:47:47","date_gmt":"2016-03-11T20:47:47","guid":{"rendered":"http:\/\/onebyte.org\/blog\/?p=189"},"modified":"2016-03-12T03:34:16","modified_gmt":"2016-03-12T03:34:16","slug":"veeam-9-x-pssnapin-failure","status":"publish","type":"post","link":"https:\/\/www.onebyte.org\/blog\/2016\/03\/11\/veeam-9-x-pssnapin-failure\/","title":{"rendered":"Veeam 9.x PSSnapIn failure"},"content":{"rendered":"<h3>ISSUE<\/h3>\n<blockquote><p>Installed Veeam 9 Backup and Recovery. Installed the Veeam Powershell after a couple days of demoing. When launching the Veeam powershell module via Veeam menu it opens<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_189_1('footnote_plugin_reference_189_1_1');\" onkeypress=\"footnote_moveToReference_189_1('footnote_plugin_reference_189_1_1');\" ><sup id=\"footnote_plugin_tooltip_189_1_1\" class=\"footnote_plugin_tooltip_text\">[1]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_189_1_1\" class=\"footnote_tooltip\"><a href=\"http:\/\/forums.veeam.com\/powershell-f26\/how-do-you-even-get-powershell-to-work-with-veeam-t26429.html?hilit=icon#p137617p\" target=\"_blank\"><span class=\"footnote_url_wrap\">http:\/\/forums.veeam.com\/powershell-f26\/how-do-you-even-get-powershell-to-work-with-veeam-t26429.html?hilit=icon#p137617p<\/span><\/a><\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_189_1_1').tooltip({ tip: '#footnote_plugin_tooltip_text_189_1_1', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script> and works just fine. However when attempting to launch the Veeamssnapin using the command &#8216;Add-PsSnapIn VeeamPSSnapIn&#8217; I received an error (below). As you can see, when running &#8216;get-pssnapin&#8217; Veeam isn&#8217;t listed.<\/p><\/blockquote>\n<h3>Solution:<\/h3>\n<blockquote>\n<ul>\n<li>Install latest version of Powershell (see below)<\/li>\n<li>Run &#8216;add-pssnapin veeampssnapin&#8217; via Veeam powershell module from GUI<\/li>\n<\/ul>\n<\/blockquote>\n<p>I attempted many steps to resolve, check sources.<\/p>\n<ul>\n<li>Backing up registry and using the infamous &#8216;registry key fix&#8217; unsuccessfully<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_189_1('footnote_plugin_reference_189_1_2');\" onkeypress=\"footnote_moveToReference_189_1('footnote_plugin_reference_189_1_2');\" ><sup id=\"footnote_plugin_tooltip_189_1_2\" class=\"footnote_plugin_tooltip_text\">[2]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_189_1_2\" class=\"footnote_tooltip\"><a href=\"https:\/\/forums.veeam.com\/powershell-f26\/veeampssnapin-not-found-t26632.html#p148605\" target=\"_blank\"><span class=\"footnote_url_wrap\">https:\/\/forums.veeam.com\/powershell-f26\/veeampssnapin-not-found-t26632.html#p148605<\/span><\/a><\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_189_1_2').tooltip({ tip: '#footnote_plugin_tooltip_text_189_1_2', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script><\/li>\n<li>Installing the toolkit ps in the original installer ISO<\/li>\n<li>Updating Powershell from 2.0<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_189_1('footnote_plugin_reference_189_1_3');\" onkeypress=\"footnote_moveToReference_189_1('footnote_plugin_reference_189_1_3');\" ><sup id=\"footnote_plugin_tooltip_189_1_3\" class=\"footnote_plugin_tooltip_text\">[3]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_189_1_3\" class=\"footnote_tooltip\"><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=40855\" target=\"_blank\"><span class=\"footnote_url_wrap\">https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=40855<\/span><\/a><\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_189_1_3').tooltip({ tip: '#footnote_plugin_tooltip_text_189_1_3', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script><\/li>\n<\/ul>\n<p>The actual solution for my instance was that I was on powershell version2 coupled with an additional undocumented step for adding the plugin since I&#8217;m on 9.x. You can verify your powershell<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_189_1('footnote_plugin_reference_189_1_4');\" onkeypress=\"footnote_moveToReference_189_1('footnote_plugin_reference_189_1_4');\" ><sup id=\"footnote_plugin_tooltip_189_1_4\" class=\"footnote_plugin_tooltip_text\">[4]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_189_1_4\" class=\"footnote_tooltip\"><a href=\"http:\/\/stackoverflow.com\/questions\/1825585\/determine-installed-powershell-version\" target=\"_blank\"><span class=\"footnote_url_wrap\">http:\/\/stackoverflow.com\/questions\/1825585\/determine-installed-powershell-version<\/span><\/a><\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_189_1_4').tooltip({ tip: '#footnote_plugin_tooltip_text_189_1_4', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script> version by running the command:<\/p>\n<pre class=\"lang:default decode:true\">PS C:\\Users\\moo&gt; $PSVersionTable\r\n\r\nName                           Value\r\n----                           -----\r\nPSVersion                      4.0\r\nWSManStackVersion              3.0\r\nSerializationVersion           1.1.0.1\r\nCLRVersion                     4.0.30319.34209\r\nBuildVersion                   6.3.9600.16406\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}\r\nPSRemotingProtocolVersion      2.2<\/pre>\n<p>or<\/p>\n<pre class=\"lang:default decode:true \">PS C:\\&gt; $PSVersionTable.PSVersion\r\n\r\nMajor  Minor  Build  Revision\r\n-----  -----  -----  --------\r\n4      0      -1     -1<\/pre>\n<p>After you have 3.0+ installed (I installed 4.0) I launched Veeam application and ran command &#8216;add-pssnapin veeampssnapin&#8217;, then launched standard PS to confirm and it worked without issues.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-195\" src=\"http:\/\/onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/6.jpg\" alt=\"6\" width=\"585\" height=\"407\" srcset=\"https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/6.jpg 585w, https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/6-300x209.jpg 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-196\" src=\"http:\/\/onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/7.jpg\" alt=\"7\" width=\"667\" height=\"331\" srcset=\"https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/7.jpg 667w, https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/7-300x149.jpg 300w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/p>\n<p>Enjoy!<\/p>\n<div class=\"speaker-mute footnotes_reference_container\"> <div class=\"footnote_container_prepare\"><p><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_label pointer\" onclick=\"footnote_expand_collapse_reference_container_189_1();\">Notes & References<\/span><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_collapse_button\" style=\"display: none;\" onclick=\"footnote_expand_collapse_reference_container_189_1();\">[<a id=\"footnote_reference_container_collapse_button_189_1\">+<\/a>]<\/span><\/p><\/div> <div id=\"footnote_references_container_189_1\" style=\"\"><table class=\"footnotes_table footnote-reference-container\"><caption class=\"accessibility\">Notes & References<\/caption> <tbody> \r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_189_1('footnote_plugin_tooltip_189_1_1');\"><a id=\"footnote_plugin_reference_189_1_1\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>1<\/a><\/th> <td class=\"footnote_plugin_text\"><a href=\"http:\/\/forums.veeam.com\/powershell-f26\/how-do-you-even-get-powershell-to-work-with-veeam-t26429.html?hilit=icon#p137617p\" target=\"_blank\"><span class=\"footnote_url_wrap\">http:\/\/forums.veeam.com\/powershell-f26\/how-do-you-even-get-powershell-to-work-with-veeam-t26429.html?hilit=icon#p137617p<\/span><\/a><\/td><\/tr>\r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_189_1('footnote_plugin_tooltip_189_1_2');\"><a id=\"footnote_plugin_reference_189_1_2\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>2<\/a><\/th> <td class=\"footnote_plugin_text\"><a href=\"https:\/\/forums.veeam.com\/powershell-f26\/veeampssnapin-not-found-t26632.html#p148605\" target=\"_blank\"><span class=\"footnote_url_wrap\">https:\/\/forums.veeam.com\/powershell-f26\/veeampssnapin-not-found-t26632.html#p148605<\/span><\/a><\/td><\/tr>\r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_189_1('footnote_plugin_tooltip_189_1_3');\"><a id=\"footnote_plugin_reference_189_1_3\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>3<\/a><\/th> <td class=\"footnote_plugin_text\"><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=40855\" target=\"_blank\"><span class=\"footnote_url_wrap\">https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=40855<\/span><\/a><\/td><\/tr>\r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_189_1('footnote_plugin_tooltip_189_1_4');\"><a id=\"footnote_plugin_reference_189_1_4\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>4<\/a><\/th> <td class=\"footnote_plugin_text\"><a href=\"http:\/\/stackoverflow.com\/questions\/1825585\/determine-installed-powershell-version\" target=\"_blank\"><span class=\"footnote_url_wrap\">http:\/\/stackoverflow.com\/questions\/1825585\/determine-installed-powershell-version<\/span><\/a><\/td><\/tr>\r\n\r\n <\/tbody> <\/table> <\/div><\/div><script type=\"text\/javascript\"> function footnote_expand_reference_container_189_1() { jQuery('#footnote_references_container_189_1').show(); jQuery('#footnote_reference_container_collapse_button_189_1').text('\u2212'); } function footnote_collapse_reference_container_189_1() { jQuery('#footnote_references_container_189_1').hide(); jQuery('#footnote_reference_container_collapse_button_189_1').text('+'); } function footnote_expand_collapse_reference_container_189_1() { if (jQuery('#footnote_references_container_189_1').is(':hidden')) { footnote_expand_reference_container_189_1(); } else { footnote_collapse_reference_container_189_1(); } } function footnote_moveToReference_189_1(p_str_TargetID) { footnote_expand_reference_container_189_1(); var l_obj_Target = jQuery('#' + p_str_TargetID); if (l_obj_Target.length) { jQuery( 'html, body' ).delay( 0 ); jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.2 }, 380); } } function footnote_moveToAnchor_189_1(p_str_TargetID) { footnote_expand_reference_container_189_1(); var l_obj_Target = jQuery('#' + p_str_TargetID); if (l_obj_Target.length) { jQuery( 'html, body' ).delay( 0 ); jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.2 }, 380); } }<\/script>","protected":false},"excerpt":{"rendered":"<p>ISSUE Installed Veeam 9 Backup and Recovery. Installed the Veeam Powershell after a couple days of demoing. When launching the Veeam powershell module via Veeam menu it opens[1]http:\/\/forums.veeam.com\/powershell-f26\/how-do-you-even-get-powershell-to-work-with-veeam-t26429.html?hilit=icon#p137617p and works just fine. However when attempting to launch the Veeamssnapin using the command &#8216;Add-PsSnapIn VeeamPSSnapIn&#8217; I received an error (below). As [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":198,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[2,5],"tags":[16,17],"class_list":["post-189","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","category-windows","tag-backups","tag-veeam"],"uagb_featured_image_src":{"full":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud.jpg",665,245,false],"thumbnail":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud-150x150.jpg",150,150,true],"medium":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud-300x111.jpg",300,111,true],"medium_large":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud.jpg",665,245,false],"large":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud.jpg",665,245,false],"1536x1536":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud.jpg",665,245,false],"2048x2048":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud.jpg",665,245,false],"post-thumbnail":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud.jpg",665,245,false],"modality-logo":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2016\/03\/veeam-cloud.jpg",217,80,false]},"uagb_author_info":{"display_name":"Mr-Moo","author_link":"https:\/\/www.onebyte.org\/blog\/author\/ahess\/"},"uagb_comment_info":0,"uagb_excerpt":"ISSUE Installed Veeam 9 Backup and Recovery. Installed the Veeam Powershell after a couple days of demoing. When launching the Veeam powershell module via Veeam menu it opens[1]http:\/\/forums.veeam.com\/powershell-f26\/how-do-you-even-get-powershell-to-work-with-veeam-t26429.html?hilit=icon#p137617p and works just fine. However when attempting to launch the Veeamssnapin using the command &#8216;Add-PsSnapIn VeeamPSSnapIn&#8217; I received an error (below). As [&hellip;]","_links":{"self":[{"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/posts\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":2,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/posts\/189\/revisions"}],"predecessor-version":[{"id":212,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/posts\/189\/revisions\/212"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/media\/198"}],"wp:attachment":[{"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/categories?post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/tags?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}