forked from KirkMunro/HistoryPx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHistoryPx.psd1
111 lines (88 loc) · 5.14 KB
/
HistoryPx.psd1
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<#############################################################################
HistoryPx uses proxy commands to add extended history information to
PowerShell. This includes the duration of a command, a flag indicating whether
a command was successful or not, the output generated by a command (limited to
a configurable maximum value), the error generated by a command, and the
actual number of objects returned as output and as error records. HistoryPx
also adds a "__" variable to PowerShell that captures the last output that you
may have wanted to capture, and includes commands to configure how it decides
when output should be captured. Lastly, HistoryPx includes commands to manage
the memory footprint that is used by extended history information.
Copyright 2016 Kirk Munro
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#############################################################################>
@{
ModuleToProcess = 'HistoryPx.psm1'
ModuleVersion = '1.0.6.15'
GUID = '1ceaf4bf-dc01-4790-a06d-c8224daa7027'
Author = 'Kirk Munro'
CompanyName = 'Poshoholic Studios'
Copyright = 'Copyright 2016 Kirk Munro'
Description = 'HistoryPx uses proxy commands to add extended history information to PowerShell. This includes the duration of a command, a flag indicating whether a command was successful or not, the output generated by a command (limited to a configurable maximum value), the error generated by a command, and the actual number of objects returned as output and as error records. HistoryPx also adds a "__" variable to PowerShell that captures the last output that you may have wanted to capture, and includes commands to configure how it decides when output should be captured. Lastly, HistoryPx includes commands to manage the memory footprint that is used by extended history information.'
PowerShellVersion = '3.0'
RequiredAssemblies = @(
'System.Collections.Immutable.dll'
)
RequiredModules = @(
'Microsoft.PowerShell.Utility'
)
NestedModules = @(
'HistoryPx.dll'
'SnippetPx'
)
AliasesToExport = @()
FunctionsToExport = @(
'Get-CaptureOutputConfiguration'
'Get-ExtendedHistoryConfiguration'
'Set-CaptureOutputConfiguration'
'Set-ExtendedHistoryConfiguration'
)
CmdletsToExport = @(
'Clear-History'
'Get-History'
'Out-Default'
)
VariablesToExport = @()
TypesToProcess = @(
'types.ps1xml'
)
FormatsToProcess = @(
'format.ps1xml'
)
FileList = @(
'format.ps1xml'
'HistoryPx.dll'
'HistoryPx.psd1'
'HistoryPx.psm1'
'LICENSE'
'NOTICE'
'System.Collections.Immutable.dll'
'types.ps1xml'
'en-us\HistoryPx.dll-Help.xml'
'functions\Get-CaptureOutputConfiguration.ps1'
'functions\Get-ExtendedHistoryConfiguration.ps1'
'functions\Get-CaptureOutputConfiguration.ps1'
'functions\Set-ExtendedHistoryConfiguration.ps1'
'scripts\Export-BinaryModule.ps1'
)
PrivateData = @{
PSData = @{
ExternalModuleDependencies = @(
'Microsoft.PowerShell.Utility'
)
Tags = 'history','Clear-History','Get-History','Out-Default'
LicenseUri = 'http://apache.org/licenses/LICENSE-2.0.txt'
ProjectUri = 'https://github.com/KirkMunro/HistoryPx'
IconUri = ''
ReleaseNotes = 'This module will not automatically load by invoking a *-History command because the native *-History cmdlets are loaded first in PowerShell. To start using HistoryPx, you should explicitly import the module either at the command line or as part of your profile by invoking "Import-Module HistoryPx".'
}
}
}