The NetApp Community is moving to a new platform and is in Read-Only mode. Click to learn more.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

global setting

JSHACHER11
4,154 Views

Hi guys,

I know there is a way to import the DataONTAP toolkit when starting Powershell and also to set the working directory upon start but I forgot how. Can you please remind me?

(basically, Powershell will run a few commands upon startup)

Thank you

1 ACCEPTED SOLUTION

vinith
4,154 Views

Check this link to create custom profiles.

http://www.howtogeek.com/50236/customizing-your-powershell-profile/

just put "ipmo dataontap" in the profile to autom import dataontap module., in PS V3 and V4 modules get auto imported when you type and cmdlet which relates to it.

View solution in original post

2 REPLIES 2

vinith
4,155 Views

Check this link to create custom profiles.

http://www.howtogeek.com/50236/customizing-your-powershell-profile/

just put "ipmo dataontap" in the profile to autom import dataontap module., in PS V3 and V4 modules get auto imported when you type and cmdlet which relates to it.

JSHACHER11
4,153 Views

thanks

Public