-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pscx.UserPreferences.ps1
58 lines (50 loc) · 3.27 KB
/
Pscx.UserPreferences.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# ---------------------------------------------------------------------------
# You can override individual preferences by passing a hashtable with just those
# preference defined as shown below:
#
# Import-Module Pscx -arg @{ModulesToImport = @{Prompt = $true}}
#
# Any value not specified will be retrieved from the default preferences built
# into the PSCX DLL.
#
# If you have a sufficiently large number of altered preferences, copy this file,
# modify it and pass the path to your preferences file to Import-Module e.g.:
#
# Import-Module Pscx -arg "$(Split-Path $profile -parent)\Pscx.UserPreferences.ps1"
#
# ---------------------------------------------------------------------------
@{
ShowModuleLoadDetails = $false # Display module load details during Import-Module
CD_GetChildItem = $false # Display the contents of new provider location after using
# cd (Set-LocationEx). Mutually exclusive with CD_EchoNewLocation.
CD_EchoNewLocation = $false # Display new provider location after using cd (Set-LocationEx).
# Mutually exclusive with CD_GetChildItem.
TextEditor = 'Notepad.exe' # Default text editor used by the Edit-File function
PromptTheme = 'Modern' # Prompt string and window title updates. To enable, first
# set the ModulesToImport setting for Prompt below to $true.
# Then set this value to one of: 'Modern', 'WinXP' or 'Jachym'.
PageHelpUsingLess = $true # Pscx replaces PowerShell's More function. When this setting
# is set to $true, less.exe is used to page items piped
# to the More function. Less.exe is powerful paging app
# that allows advanced navigation and search. Press 'h' to
# access help inside less.exe and 'q' to exit less.exe.
# Set this setting to $false to use more.com for paging.
SmtpFrom = $null # These settings are used by the PSCX Send-SmtpMail cmdlet.
SmtpHost = $null # Specify a default SMTP server.
SmtpPort = $null # Specify a default port number if not specified port 25 is used.
FileSizeInUnits = $false # Pscx prepends format data for display of file information.
# If this value is set to $true, file sizes are displayed in
# using KB,MG,GB and TB units.
ModulesToImport = @{
CD = $true
DirectoryServices = $true
FileSystem = $true
GetHelp = $false # Disabled by default due to some bugs that have to be resolved.
Net = $true
Prompt = $false # Disabled by default because a lot of users already have established prompt functions.
TranscribeSession = $false # Disabled by default for security and privacy reasons.
Utility = $true
Vhd = $true
Wmi = $true
}
}