r/PowerShell • • Apr 06 '21

Optimizing your $Profile

https://devblogs.microsoft.com/powershell/optimizing-your-profile/
119 Upvotes

24 comments sorted by

View all comments

2

u/Banzai51 Apr 07 '21

I have my PowerShell_ISE setup to set some variables for my Citrix Site DDCs (I can use $SiteName in my scripts to point to the correct Citrix Site), load up the Citrix PowerShell commands, load PowerCLI and log me into both vCenters.

It may not be a fast start up, but I open it in the morning and I can run scripts or commands against my environment with ease.