Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet, function, script file, or PS C:\> Install-Module -Name VMware.PowerCLI –Scope AllUsers PS C:\Users\a-lburroughs2> Find-Module -Name VMware.PowerCLI + CategoryInfo : ObjectNotFound: (Save-Module:String), CommandNotFoundException Save-Module : The term 'Save-Module' is not recognized as the name of a cmdlet, function, script file, or operable PS C:\> Save-Module -Name VMware.PowerCLI + FullyQualifiedErrorId : CommandNotFoundException + CategoryInfo : ObjectNotFound: (Find-Module:String), CommandNotFoundException Check the spelling of the name, or if a path was included, verify that the path is correct and try again. PS C:\> Find-Module -Name VMware.PowerCLIįind-Module : The term 'Find-Module' is not recognized as the name of a cmdlet, function, script file, or operable Results below none of the cmds can be found Where is the module so I can impot the module?
Server 2012r2, server 2016 desktop mode windows 10 same results and I am connected to the internet.
Main::deploy_template() called at /var/www/html/perl/ line 174Ĭan somebody assist? How should i fix this? ViewBase::invoke(Folder=HASH(0x418b420), "CreateFolder", 123, undef) called at (eval 186) line 5įolderOperations::CreateFolder(Folder=HASH(0x418b420), 123) called at /var/www/html/perl/ line 94 VimService::CreateFolder(VimService=HASH(0x32b2c98), "_this", ManagedObjectReference=HASH(0x42623a8), 123, undef) called at /usr/share/perl/5.22/VMware/VICommon.pm line 1884 VimService::build_arg_string(ARRAY(0x37ccdd8), HASH(0x37ccd60)) called at (eval 52) line 1183 Unexpected arguments: 123 at (eval 52) line 143. Odd number of elements in hash assignment at (eval 186) line 4. $folder = Vim::find_entity_view( view_type => 'Folder', filter => ) One part of this script should create a folder. Hi! We have vCenter v6.0 installation and i'm trying to write a Perl script.
the vcenter server service is running under local system account - not sure this one is related since i've managed to install different plugin user login the the VC machine is a domain adminĤ. the user running the install is an admin on the VC. the VC is installed on with Dutch settings ( i am not sure the english is available vc )Ģ. I will try to give as much information as i can on the enviromentġ. > reason = "Cannot open locale file for writing.", > faultCause = (vmodl.MethodFault) null, T12:17:34.309+01:00 Failed: cannot open locale file for writing: C:\Program Files\VMware\Infrastructure\VirtualCenter Server\extensions\MyPlugin\locale\en\extension.vmsg While trying to install plugin on VC environment Is this the ONLY way to backup a vSphere host?ĭon't they test these installers on prisoners before posting them? Never used Perl but clearly something didn't get installed because LibXML.pm is nowhere to be found.įound on The CPAN Search Site. ) at C:\Program Files\VMware\VMware vSphere CLI\Perl\lib/VMware/VICommon.pm line 11.īEGIN failed-compilation aborted at C:\Program Files\VMware\VMware vSphere CLI\Perl\lib/VMware/VICommon.pm line 11.Ĭompilation failed in require at C:\Program Files\VMware\VMware vSphere CLI\Perl\lib/VMware/VIRuntime.pm line 15.Ĭompilation failed in require at C:\Program Files\VMware\VMware vSphere CLI\bin\ line 6.īEGIN failed-compilation aborted at C:\Program Files\VMware\VMware vSphere CLI\bin\ line 6.Ĭ:\Program Files\VMware\VMware vSphere CLI\Perl\lib contains two folders:Ĭ:\Perl\lib contains a folder called XML but it does not contain LibXML.pm. server=myserver -username=root -s myserver.bakĬan't locate XML/LibXML.pm in (you may need to install the XML::LibXML contains: C:\Program Files\VMware\VMware vSphere CLI\Perl\lib C:/Perl/site/lib C:/Perl/lib. Downloaded and installed Perl from Perl Solutions | ActiveState. Trying to backup a standalone vSphere host from a Windows 10 workstation.