Quantcast
Viewing all articles
Browse latest Browse all 293210

Re: Editing .\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

Sure, you can use the Add-PsSnapin cmdlet for each of the snapins in one of the profile files.

 

Another possibility is to use a customised 'console' file (.psc1) and mention all the snapins in there.

Start PowerShell with the PSConsoleFile parameter and point to your customised console file.


Viewing all articles
Browse latest Browse all 293210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>