Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

using same profile for a script for all users

$
0
0

Hello All,

I have a  powershell script which uses functions loaded into my profile and it all works fine.

But if another user want to execute the script he get an error function not recognized as cmdlet I am thinking his profile is different and functions are not loaded into his.

Is there a way for all the users who is running the script use the same profile or a different way to source those functions into my script so that anybody can run the script as needed.

Thanks In Advance!

 


Viewing all articles
Browse latest Browse all 6937

Latest Images

Trending Articles



Latest Images