As a network adminisitrator and Powershell user I find myself having to copy my profile to every computer I log into in order to retain the same functionality across systems. Is there a way to centralize my own $profile?
I tried to follow the advice @ http://blogs.technet.com/b/heyscriptingguy/archive/2012/05/23/use-a-central-file-to-simplify-your-powershell-profile.aspx under the portion that says "Use Your Own Profile".
I had took this to mean that in the orginal profile I needed to reference the profile I wanted to use like it regular scripts but this doesn't seem to be working & I'm now uncertain if I even can do it at all. What I tried was this:
dc \\this\network\share .\MyProfile.ps1
Doesn't seem to be working however.
Is what I want to do possible and if so what's the best way?
# When I wrote this script only God & I knew what I was doing. # Now, only God Knows! don't retire technet http://social.technet.microsoft.com/Forums/en-US/e5d501af-d4ea-4c0f-97c0-dfcef0192888/dont-retire-technet?forum=tnfeedback