Microsoft Virtualization Discussions

global setting

JSHACHER11
2,938 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
2,938 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
2,939 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
2,937 Views

thanks

Public