Array Setup and Networking
1752590 Members
3001 Online
108788 Solutions
New Discussion юеВ

Re: PowerShell Module

 
jhauf56
Occasional Advisor

Re: PowerShell Module

After running: Connect-NSArray -SystemName 192.168.1.55 -Password p@ssw0rd I get:

Exception calling "getControllerName" with "1" argument(s): "Method 'getControllerName' not implemented: method name or namespace not recognized"

At C:\Users\a_jesse\Documents\WindowsPowerShell\Modules\Nimble\Login.ps1:37 char:7

+       $arrname = $script:nsunit.getControllerName($sid.value)

+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : SoapHeaderException

It does still connect to the array and I can add and remove volumes but I thought you might like to fix this.

Otherwise I am very eager to see future development! This is great! Thanks!

jrich52352
Trusted Contributor

Re: PowerShell Module

Interesting, what version of software are you running with your unit?

marktheblue45
Valued Contributor

Re: PowerShell Module

I'd love to chat with you to get familiar with Poweshell scripts and Nimble

in particular. Novice with CLI outside of Novell.

Regards,

Mark.

jrich52352
Trusted Contributor

Re: PowerShell Module

I usually sit in IRC, which you can access via Live Chat | PowerShell Community Groups

jhauf56
Occasional Advisor

Re: PowerShell Module

2.0.3.0-40779-opt

It might be our version, we are in a little bit of a special situation with Nimble and our unit.

jrich52352
Trusted Contributor

Re: PowerShell Module

hmm they must have changed the API.

all that does is print out the name of the unit you are connecting to, so it really has no impact on the operations of things.

will be interesting to see if you run in to any other errors.

jhauf56
Occasional Advisor

Re: PowerShell Module

I will keep you posted if I do but all of the commands appear to be working so far. Just cosmetic at this point.

Thanks for this, much easier, quicker, and cleaner than plink

jrich52352
Trusted Contributor

Re: PowerShell Module

yeah i actually had to do a good chunk of vmware work (hence all the other posts) and i was real happy about how easy it all was. made it a pleasure to do!

also found some bugs, so i've had updates, as late as yesterday.

I havent tried using the installer to overwrite/update, but i cant see why it wouldnt. depending on when you installed it, you might want to grab an update.

jhauf56
Occasional Advisor

Re: PowerShell Module

Just installed it a couple hours ago so it should be the latest. I have a project that was put on hold for awhile that I am circling back to. I will post the script up when I am done so folks can see a sample script.

jrich52352
Trusted Contributor

Re: PowerShell Module

great, cant wait to see it!