You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## Abstract
6
6
7
-
This module contains a collection of functions, variables, and format files that you can use to enhance your PowerShell scripting work or get more done from a PowerShell prompt with less typing. Most of the commands are designed to work cross-platform. Please post any questions, problems, or feedback at [Issues](https://github.com/jdhitsolutions/PSScriptTools/issues). Any feedback is greatly appreciated.
7
+
This module contains a collection of functions, variables, and format files that you can use to enhance your PowerShell scripting work or get more done from a PowerShell prompt with less typing. Most of the commands are designed to work cross-platform. Please post any questions, problems, or feedback at [Issues](https://github.com/jdhitsolutions/PSScriptTools/issues) section of this module's Github repository. Feedback is greatly appreciated.
8
8
9
9
The contents of this file and other documentation can be viewed using the `Open-PSScriptToolsHelp` command. You can also use `Get-PSScriptTools` to see a summary of module commands.
10
10
@@ -2589,8 +2589,7 @@ If you find this module useful, you might also want to look at my PowerShell too
2589
2589
+[Creating and managing custom type extensions](https://github.com/jdhitsolutions/PSTypeExtensionTools)
Copy file name to clipboardExpand all lines: changelog.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,17 @@
2
2
3
3
This file contains the most recent change history for the PSScriptTools module.
4
4
5
+
## v2.41.0
6
+
7
+
+ Added function `Copy-CommandHistory` with an alias of `ch`.
8
+
+ Updated `Out-Copy` to ignore ANSI unless specified. [Issue #118](https://github.com/jdhitsolutions/PSScriptTools/issues/118)
9
+
+ Added an alias of `oc` for `Out-Copy`.
10
+
+ Updated `New-PSFormatXML` to fix ReadOnly property error. [Issue #121](https://github.com/jdhitsolutions/PSScriptTools/issues/121)
11
+
+ Updated `Get-ModuleCommand` to include version information and to accept pipeline input.
12
+
+ Updated `modulecommand.format.ps1xml` with a new table view called `version`.
13
+
+ Updated missing online help links.
14
+
+ Updated `README.md`.
15
+
5
16
## v2.40.0
6
17
7
18
+ Updated parameter validation for IP address in `Get-WhoIs` to allow addresses with 255 in an octet. [Issue #117](https://github.com/jdhitsolutions/PSScriptTools/issues/117).
This copies the command from history item 25 and turns it into a scriptblock.
73
+
74
+
## PARAMETERS
75
+
76
+
### -Confirm
77
+
78
+
Prompts you for confirmation before running the cmdlet.
79
+
80
+
```yaml
81
+
Type: SwitchParameter
82
+
Parameter Sets: (All)
83
+
Aliases: cf
84
+
85
+
Required: False
86
+
Position: Named
87
+
Default value: None
88
+
Accept pipeline input: False
89
+
Accept wildcard characters: False
90
+
```
91
+
92
+
### -ID
93
+
94
+
The history ID number. The default is the last command.
95
+
96
+
```yaml
97
+
Type: Int32[]
98
+
Parameter Sets: (All)
99
+
Aliases:
100
+
101
+
Required: False
102
+
Position: 0
103
+
Default value: $(Get-History).Count
104
+
Accept pipeline input: False
105
+
Accept wildcard characters: False
106
+
```
107
+
108
+
### -Passthru
109
+
110
+
Use this parameter if you also want to see the command as well as copy it to the clipboard.
111
+
112
+
```yaml
113
+
Type: SwitchParameter
114
+
Parameter Sets: (All)
115
+
Aliases:
116
+
117
+
Required: False
118
+
Position: Named
119
+
Default value: False
120
+
Accept pipeline input: False
121
+
Accept wildcard characters: False
122
+
```
123
+
124
+
### -WhatIf
125
+
126
+
Shows what would happen if the cmdlet runs. The cmdlet is not run.
127
+
128
+
```yaml
129
+
Type: SwitchParameter
130
+
Parameter Sets: (All)
131
+
Aliases: wi
132
+
133
+
Required: False
134
+
Position: Named
135
+
Default value: None
136
+
Accept pipeline input: False
137
+
Accept wildcard characters: False
138
+
```
139
+
140
+
### CommonParameters
141
+
142
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Enter a set of properties to include. If you don't specify anything then all properties will be used. When creating a Wide view you should only specify a single property. If you specify an invalid property name, the ps1xml file will NOT be created.
267
+
Enter a set of properties to include. If you don't specify anything then all properties will be used. When creating a Wide view you should only specify a single property. If you specify an invalid property name, the ps1xml file will NOT be created. Ideally, you will specify an instance of the object that contains a value for all the properties you want to use.
268
268
269
269
```yaml
270
270
Type: Object[]
@@ -379,3 +379,5 @@ Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell
0 commit comments