Microsoft Virtualization Discussions

Find NetApp powershell toolkit version on remote server

PHILIPALBERT

Hi,

 

Is there an easy way to get the version of netApp powershell toolkit installed on a remote server.

I would like to make a script that will scan my servers to be sure all of them have the latest version installed.

 

Thanks

Philip

1 ACCEPTED SOLUTION

JGPSHNTAP

Look at invoke-command and pair it with get-natoolkitversion

View solution in original post

4 REPLIES 4

JGPSHNTAP

Look at invoke-command and pair it with get-natoolkitversion

View solution in original post

PHILIPALBERT

I thought I would have to load the module on the remote server...silly me.

 

Thanks

PHILIPALBERT

It's weird because when I run the command locally and then from a remote server, I'm not getting the same version.

 

Remote:

PS C:\> Invoke-Command -computername server1 -scriptblock { get-natoolkitversion }

Major Minor Build Revision PSComputerName
----- ----- ----- -------- --------------
1 7 0 112 server1


PS C:\>

 

Locally:

PS C:\> get-natoolkitversion

Major Minor Build Revision
----- ----- ----- --------
3 2 0 65


PS C:\>

PHILIPALBERT

Looks like I have multiple version installed.

If I run powershell in x86 I get 3.2 and if I run it in x64 I get 1.7

 

I'll do some cleanup, should be good after that.

 

Thanks

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public