Power shell script directory path change

%3CLINGO-SUB%20id%3D%22lingo-sub-3223082%22%20slang%3D%22en-US%22%3EPower%20shell%20script%20directory%20path%20change%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3223082%22%20slang%3D%22en-US%22%3EI%20need%20help.%20Currently%20our%20power%20shell%20scripts%20are%20installed%20to%20C%3A%2Fprogram%20data%2Fwindows%20power%20shell%2Fscripts.%20I%20want%20to%20use%20metadata%20file%20to%20provide%20default%20and%20custom%20installation%20folders.%20So%20files%20can%20be%20installed%20to%20any%20desired%20location%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3223082%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ecommunity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor
I need help. Currently our power shell scripts are installed to C:/program data/windows power shell/scripts. I want to use metadata file to provide default and custom installation folders. So files can be installed to any desired location
1 Reply

Hi @Thatcoder,

 

I think the link below will help you.

 

about Profiles - PowerShell | Microsoft Docs