Method | Description | |
---|---|---|
GetProfileCommands ( string shellId ) : System.Management.Automation.PSCommand[] |
Gets an array of commands that can be run sequentially to set $profile and run the profile commands.
|
Method | Description | |
---|---|---|
GetAllUsersFolderPath ( ) : string |
Used internally in GetFullProfileFileName to get the base path for all users profiles.
|
|
GetApplicationBase ( ) : string | ||
GetDollarProfile ( string allUsersAllHosts, string allUsersCurrentHost, string currentUserAllHosts, string currentUserCurrentHost ) : System.Management.Automation.PSObject |
Gets a PSObject whose base object is currentUserCurrentHost and with notes for the other 4 parameters.
|
|
GetFullProfileFileName ( string shellId, bool forCurrentUser, bool useTestProfile ) : string |
Used to get all profile file names for the current or all hosts and for the current or all users.
|
|
GetProfileCommands ( string shellId, bool useTestProfile ) : System.Management.Automation.PSCommand[] |
Gets an array of commands that can be run sequentially to set $profile and run the profile commands.
|
public static GetProfileCommands ( string shellId ) : System.Management.Automation.PSCommand[] | ||
shellId | string | The id identifying the host or shell used in profile file names. |
return | System.Management.Automation.PSCommand[] |