July 2017
Intermediate to advanced
648 pages
31h 9m
English
Trying to remember all of the profile types and their associated script paths can be a little tough. There's actually a pretty neat trick that you can use with the $profile variable to view all of the profile types and file paths in the shell. To do this, access the psextended property of the $profile object:
$profile.psextended | Format-List
This will give you a list of each profile type and the path of the .ps1 script that should be used to create the profile.
Read now
Unlock full access