Skip to content

Commit da3b2a8

Browse files
v2.37.0
1 parent 95a1909 commit da3b2a8

28 files changed

+1530
-1447
lines changed

Archive-ChangeLog.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
This file contains older change history. It is maintained for reference purposes.
44

5+
## v2.33.1
6+
7+
+ Fixed bug in `ConvertTo-WPFGrid` with refresh and timeout values. (Issue #98)
8+
+ Added missing online help links.
9+
+ Added a few related module links in `README.md`.
10+
11+
## v2.33.0
12+
13+
+ Added `Select-Before`,`Select-After`,`Select-Newest` and `Select-Oldest` and their respective aliases of *before*,*after*,*newest*, and *oldest*.
14+
+ Added `Get-MyCounter` and a custom format file `mycounter.format.ps1xml`.
15+
+ Added `Trace-Message` and its alias *trace*.
16+
+ Added more Verbose messages to `Get-PSScriptTools`.
17+
+ Code cleanup in `SelectFunctions.ps1`.
18+
+ Modified `Get-PSScriptTools` to let you specify a verb. Updated command help.
19+
+ Modified `ConvertTo-Markdown` to handle properties with line returns when formatting as a table. (I[Issue #97](https://github.com/jdhitsolutions/PSScriptTools/issues/97))
20+
+ Code cleanup in sample script files.
21+
+ Added sample file `CounterMarkdown.ps1`.
22+
+ Updated `README.md`.
23+
524
## v2.32.0
625

726
+ Added `ConvertTo-ASCIIArt` and its alias *cart*.

PSScriptTools.psd1

0 Bytes
Binary file not shown.

PSScriptTools.psm1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ if ($myinvocation.line -match "-verbose") {
55
Write-Verbose "Loading public functions"
66

77
#exclude Get-MyCounter.ps1 because it requires a Windows platform
8-
Get-ChildItem -path $PSScriptRoot\functions\*.ps1 -Exclude 'Get-MyCounter.ps1' | ForEach-Object -process {
8+
Get-ChildItem -path $PSScriptRoot\functions\*.ps1 -Exclude 'Get-MyCounter.ps1' |
9+
ForEach-Object -process {
910
Write-Verbose $_.fullname
1011
. $_.FullName
1112
}

PSScriptToolsManual.pdf

-3.55 KB
Binary file not shown.

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,7 +2058,7 @@ This will display the service status color-coded.
20582058

20592059
![ServiceAnsi](images/serviceansi.png)
20602060

2061-
This will not work in the PowerShell ISE as it is not ANSI-aware.
2061+
__ANSI formatting will only work in a PowerShell 5.1 console window or VS Code. It will not display properly in the PowerShell ISE, or older versions of PowerShell.__
20622062

20632063
### PSAnsiMap
20642064

@@ -2140,7 +2140,7 @@ The file will look like this:
21402140

21412141
You can create or modify file groups. The Pattern value should be a regular expression pattern to match the filename. Don't forget you will need to escape characters for the JSON format. The Ansi value will be an ANSI escape sequence. You can use `\u001b` for the \``e` character.
21422142

2143-
If you prefer not to edit JSON files, you can use the PSAnsiFileMap commands from the module.
2143+
If you prefer not to edit JSON files, you can use the PSAnsiFileMap commands from this module.
21442144

21452145
### [Get-PSAnsiFileMap](docs/Get-PSAnsiFileMap.md)
21462146

@@ -2266,14 +2266,15 @@ I've created a PDF version of this document which I thought you might find usefu
22662266

22672267
If you find this module useful, you might also want to look at my PowerShell tools for:
22682268

2269+
+ [Keeping up to date with PowerShell 7.x releases](https://github.com/jdhitsolutions/PSReleaseTools)
2270+
+ [Reporting on Active Directory](https://github.com/jdhitsolutions/ADReportingTools)
22692271
+ [Creating and managing custom type extensions](https://github.com/jdhitsolutions/PSTypeExtensionTools)
22702272
+ [Managing scheduled jobs](https://github.com/jdhitsolutions/ScheduledJobTools)
22712273
+ [Running remote commands outside of PowerShell Remoting](https://github.com/jdhitsolutions/PSRemoteOperations).
22722274
+ [Getting memory status and information](https://github.com/jdhitsolutions/MemoryTools)
2273-
+ [Keeping up to date with PowerShell 7.x releases](https://github.com/jdhitsolutions/PSReleaseTools)
22742275
+ [Inventorying your PowerShell script library](https://github.com/jdhitsolutions/PSScriptingInventory)
22752276
+ [A simple command-line task and to-do manager](https://github.com/jdhitsolutions/MyTasks)
22762277

22772278
## Compatibility
22782279

2279-
Where possible, module commands have been tested with PowerShell 7, but not on every platform. If you encounter problems, have suggestions, or other feedback, please post an [issue](https://github.com/jdhitsolutions/PSScriptTools/issues). It is assumed you will __not__ be running these commands on any edition of PowerShell Core, i.e PowerShell 6.x.
2280+
Where possible, module commands have been tested with PowerShell 7.x, but not on every platform. If you encounter problems, have suggestions, or other feedback, please post an [issue](https://github.com/jdhitsolutions/PSScriptTools/issues). It is assumed you will __not__ be running these commands on any edition of PowerShell Core, i.e PowerShell 6.x.

changelog.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
This file contains the most recent change history for the PSScriptTools module.
44

5+
## v2.37.0
6+
7+
+ Updated `Convertto-WPFGrid` to better handle non-standard property names. ([Issue #108](https://github.com/jdhitsolutions/PSScriptTools/issues/108)).
8+
+ Modified custom format files that use ANSI to test if host name matches 'console' or 'code' to support VSCode.
9+
+ Modified `Summary` view in `psparameterinfo.format.ps1xml` to not use autosizing.
10+
+ Added `<AutoSize/>` back to `serviceansi.format.ps1xml` so that ANSI output displays properly.
11+
+ Modified `Show-ANSI` and `Get-PSAnsiFileMap` to use `[char]27` instead of `[char]0x1b` for Windows PowerShell sessions.
12+
+ Modified ANSI sequences in format files to use `[char]27`. ([Issue #107](https://github.com/jdhitsolutions/PSScriptTools/issues/107)).
13+
+ Modified ANSI sequences in format files recognize a remote PSSession. ([Issue #106](https://github.com/jdhitsolutions/PSScriptTools/issues/106)).
14+
+ Update `Get-PSLocation` to work in a PowerShell remoting session where there is no profile. ([Issue #104](https://github.com/jdhitsolutions/PSScriptTools/issues/104)).
15+
+ Updated help.
16+
+ Updated `README.md`.
17+
518
## v2.36.0
619

720
+ Update `Get-MyVariable` to make it more compatible with PowerShell 7 ([Issue #103](https://github.com/jdhitsolutions/PSScriptTools/issues/103)). This also makes the command now compatible with the PowerShell ISE.
@@ -51,25 +64,6 @@ This file contains the most recent change history for the PSScriptTools module.
5164
+ Updated module description.
5265
+ Help updates.
5366

54-
## v2.33.1
55-
56-
+ Fixed bug in `ConvertTo-WPFGrid` with refresh and timeout values. (Issue #98)
57-
+ Added missing online help links.
58-
+ Added a few related module links in `README.md`.
59-
60-
## v2.33.0
61-
62-
+ Added `Select-Before`,`Select-After`,`Select-Newest` and `Select-Oldest` and their respective aliases of *before*,*after*,*newest*, and *oldest*.
63-
+ Added `Get-MyCounter` and a custom format file `mycounter.format.ps1xml`.
64-
+ Added `Trace-Message` and its alias *trace*.
65-
+ Added more Verbose messages to `Get-PSScriptTools`.
66-
+ Code cleanup in `SelectFunctions.ps1`.
67-
+ Modified `Get-PSScriptTools` to let you specify a verb. Updated command help.
68-
+ Modified `ConvertTo-Markdown` to handle properties with line returns when formatting as a table. (I[Issue #97](https://github.com/jdhitsolutions/PSScriptTools/issues/97))
69-
+ Code cleanup in sample script files.
70-
+ Added sample file `CounterMarkdown.ps1`.
71-
+ Updated `README.md`.
72-
7367
## Archive
7468

7569
If you need to see older change history, look at the [Archive ChangeLog](https://github.com/jdhitsolutions/PSScriptTools/blob/master/Archive-ChangeLog.md)

docs/ConvertTo-TitleCase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: PSScriptTools-help.xml
33
Module Name: PSScriptTools
4-
online version:
4+
online version: https://bit.ly/3gQclWl
55
schema: 2.0.0
66
---
77

docs/Get-PSAnsiFileMap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Text \.((txt)|(log)|(htm(l)?))$ `e[38;2;58;120;255m`e[38;2;58;120;255m
3535
...
3636
```
3737

38-
The output will display the ANSI sequence using the sequence itself. The escape character will be based on the version of PowerShell you are using.
38+
The output will display the ANSI sequence using the sequence itself. The escape character will be based on the version of PowerShell you are using. This example shows output from PowerShell 7.
3939

4040
## PARAMETERS
4141

docs/Get-PSSessionInfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: PSScriptTools-help.xml
33
Module Name: PSScriptTools
4-
online version:
4+
online version: https://bit.ly/3xOCRFb
55
schema: 2.0.0
66
---
77

docs/New-FunctionItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: PSScriptTools-help.xml
33
Module Name: PSScriptTools
4-
online version:
4+
online version: https://bit.ly/2UuSKlN
55
schema: 2.0.0
66
---
77

0 commit comments

Comments
 (0)