Chapter 9. Working with Windows PowerShell Profiles
After completing this chapter, you will be able to:
Understand the different Windows PowerShell profiles.
Use New-Item to create a new Windows PowerShell profile.
Use the $profile automatic variable.
Describe the best profile to provide specific functionality.
Six Different PowerShell profiles
A Microsoft Windows PowerShell profile creates a standardized environment by creating custom functions, aliases, PS drives, and variables upon startup. Windows PowerShell profiles are a bit confusing—there are, in fact, six different ones. Both the Windows PowerShell console and the Windows PowerShell ISE have their own profiles. In addition, there are profiles for the current user, as well as profiles for all ...
Get Windows PowerShell™ 3.0 Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.