From 4df51a408d66a411e35c08a76e4b751f74e6ca03 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Wed, 7 Feb 2024 08:31:34 -0600 Subject: [PATCH 1/3] Fix cmdlet name in NOTES section (#10869) --- .../Microsoft.PowerShell.Management/Rename-ItemProperty.md | 4 ++-- .../Microsoft.PowerShell.Management/Rename-ItemProperty.md | 4 ++-- .../Microsoft.PowerShell.Management/Rename-ItemProperty.md | 4 ++-- .../Microsoft.PowerShell.Management/Rename-ItemProperty.md | 4 ++-- .../Microsoft.PowerShell.Management/Rename-ItemProperty.md | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Management/Rename-ItemProperty.md b/reference/5.1/Microsoft.PowerShell.Management/Rename-ItemProperty.md index e2083f5760f..1f603e5947e 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Rename-ItemProperty.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Rename-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 12/12/2022 +ms.date: 02/07/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/rename-itemproperty?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Rename-ItemProperty @@ -314,7 +314,7 @@ Windows PowerShell includes the following aliases for `Rename-ItemProperty`: - `rnp` -`Remove-ItemProperty` is designed to work with the data exposed by any provider. To list the +`Rename-ItemProperty` is designed to work with the data exposed by any provider. To list the providers available in your session, type `Get-PSProvider`. For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). diff --git a/reference/7.2/Microsoft.PowerShell.Management/Rename-ItemProperty.md b/reference/7.2/Microsoft.PowerShell.Management/Rename-ItemProperty.md index 69512b5bcc0..95b6d45dd5c 100644 --- a/reference/7.2/Microsoft.PowerShell.Management/Rename-ItemProperty.md +++ b/reference/7.2/Microsoft.PowerShell.Management/Rename-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 12/12/2022 +ms.date: 02/07/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/rename-itemproperty?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: Rename-ItemProperty @@ -298,7 +298,7 @@ PowerShell includes the following aliases for `Rename-ItemProperty`: - All platforms: - `rnp` -`Remove-ItemProperty` is designed to work with the data exposed by any provider. To list the +`Rename-ItemProperty` is designed to work with the data exposed by any provider. To list the providers available in your session, type `Get-PSProvider`. For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). diff --git a/reference/7.3/Microsoft.PowerShell.Management/Rename-ItemProperty.md b/reference/7.3/Microsoft.PowerShell.Management/Rename-ItemProperty.md index 14ab8eef3c4..b867a288941 100644 --- a/reference/7.3/Microsoft.PowerShell.Management/Rename-ItemProperty.md +++ b/reference/7.3/Microsoft.PowerShell.Management/Rename-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 12/12/2022 +ms.date: 02/07/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/rename-itemproperty?view=powershell-7.3&WT.mc_id=ps-gethelp schema: 2.0.0 title: Rename-ItemProperty @@ -298,7 +298,7 @@ PowerShell includes the following aliases for `Rename-ItemProperty`: - All platforms: - `rnp` -`Remove-ItemProperty` is designed to work with the data exposed by any provider. To list the +`Rename-ItemProperty` is designed to work with the data exposed by any provider. To list the providers available in your session, type `Get-PSProvider`. For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). diff --git a/reference/7.4/Microsoft.PowerShell.Management/Rename-ItemProperty.md b/reference/7.4/Microsoft.PowerShell.Management/Rename-ItemProperty.md index 82fd74c9ef9..1e99d91f8d3 100644 --- a/reference/7.4/Microsoft.PowerShell.Management/Rename-ItemProperty.md +++ b/reference/7.4/Microsoft.PowerShell.Management/Rename-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 12/12/2022 +ms.date: 02/07/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/rename-itemproperty?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Rename-ItemProperty @@ -298,7 +298,7 @@ PowerShell includes the following aliases for `Rename-ItemProperty`: - All platforms: - `rnp` -`Remove-ItemProperty` is designed to work with the data exposed by any provider. To list the +`Rename-ItemProperty` is designed to work with the data exposed by any provider. To list the providers available in your session, type `Get-PSProvider`. For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). diff --git a/reference/7.5/Microsoft.PowerShell.Management/Rename-ItemProperty.md b/reference/7.5/Microsoft.PowerShell.Management/Rename-ItemProperty.md index fb760a255ab..20b85ba603e 100644 --- a/reference/7.5/Microsoft.PowerShell.Management/Rename-ItemProperty.md +++ b/reference/7.5/Microsoft.PowerShell.Management/Rename-ItemProperty.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 12/12/2022 +ms.date: 02/07/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/rename-itemproperty?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: Rename-ItemProperty @@ -298,7 +298,7 @@ PowerShell includes the following aliases for `Rename-ItemProperty`: - All platforms: - `rnp` -`Remove-ItemProperty` is designed to work with the data exposed by any provider. To list the +`Rename-ItemProperty` is designed to work with the data exposed by any provider. To list the providers available in your session, type `Get-PSProvider`. For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md). From 693d5573cf443cde7e08c68b0600361fcee06515 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Wed, 7 Feb 2024 15:37:31 -0600 Subject: [PATCH 2/3] Add link to JSON Schema docs (#10870) --- .../whats-new/What-s-New-in-PowerShell-74.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md index 8027c106c3a..0b54c832a9d 100644 --- a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md +++ b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md @@ -1,7 +1,7 @@ --- title: What's New in PowerShell 7.4 description: New features and changes released in PowerShell 7.4 -ms.date: 01/18/2024 +ms.date: 02/07/2024 --- # What's New in PowerShell 7.4 @@ -18,8 +18,9 @@ For a complete list of changes, see the [CHANGELOG][chg] in the GitHub repositor - Update some PowerShell APIs to throw **ArgumentException** instead of **ArgumentNullException** when the argument is an empty string ([#19215][19215]) (Thanks @xtqqczze!) - Remove code related to `#requires -pssnapin` ([#19320][19320]) -- `Test-Json` now uses Json.Schema.Net instead of Newtonsoft.Json.Schema. With this change, +- `Test-Json` now uses JsonSchema.Net instead of Newtonsoft.Json.Schema. With this change, `Test-Json` no longer supports the older Draft 4 schemas. ([#18141][18141]) (Thanks @gregsdennis!) + For more information about JSON schemas, see [JSON Schema][14] documentation. - Output from `Test-Connection` now includes more detailed information about TCP connection tests - .NET introduced changes that affected `Test-Connection`. The cmdlet now returns an error about the need to use `sudo` on Linux platforms when using a custom buffer size ([#20369][20369]) @@ -226,6 +227,7 @@ For more information about the Experimental Features, see [Using Experimental Fe [11]: /powershell/module/microsoft.powershell.core/about/about_redirection?view=powershell-7.4&preserve-view=true#redirecting-output-from-native-commands [12]: /powershell/module/microsoft.powershell.psresourceget [13]: /powershell/module/psreadline +[14]: https://json-schema.org/understanding-json-schema/reference/schema [chg]: https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/7.4.md [14953]: https://github.com/PowerShell/PowerShell/pull/14953 From d7743e4a55a6cff49987fb4939bbac99348fb835 Mon Sep 17 00:00:00 2001 From: John <49564480+Certezalito@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:49:55 -0500 Subject: [PATCH 3/3] DST Grammar Correction (#10871) --- reference/5.1/Microsoft.PowerShell.Utility/Get-Date.md | 6 +++--- reference/7.2/Microsoft.PowerShell.Utility/Get-Date.md | 6 +++--- reference/7.3/Microsoft.PowerShell.Utility/Get-Date.md | 6 +++--- reference/7.4/Microsoft.PowerShell.Utility/Get-Date.md | 6 +++--- reference/7.5/Microsoft.PowerShell.Utility/Get-Date.md | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Utility/Get-Date.md b/reference/5.1/Microsoft.PowerShell.Utility/Get-Date.md index 42a1f904921..3d2df680b0c 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Get-Date.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Get-Date.md @@ -146,9 +146,9 @@ The Gregorian calendar has 365 days, except for leap years that have 366 days. F `Get-Date` uses three parameters to specify the date: **Year**, **Month**, and **Day**. The command is wrapped with parentheses so that the result is evaluated by the **DayofYear** property. -### Example 6: Check if a date is adjusted for daylight savings time +### Example 6: Check if a date is adjusted for daylight saving time -This example uses a boolean method to verify if a date is adjusted by daylight savings time. +This example uses a boolean method to verify if a date is adjusted by daylight saving time. ```powershell $DST = Get-Date @@ -160,7 +160,7 @@ True ``` A variable, `$DST` stores the result of `Get-Date`. `$DST` uses the **IsDaylightSavingTime** method -to test if the date is adjusted for daylight savings time. +to test if the date is adjusted for daylight saving time. ### Example 7: Convert the current time to UTC time diff --git a/reference/7.2/Microsoft.PowerShell.Utility/Get-Date.md b/reference/7.2/Microsoft.PowerShell.Utility/Get-Date.md index 8cf2a2185d5..8fa56940494 100644 --- a/reference/7.2/Microsoft.PowerShell.Utility/Get-Date.md +++ b/reference/7.2/Microsoft.PowerShell.Utility/Get-Date.md @@ -162,9 +162,9 @@ The Gregorian calendar has 365 days, except for leap years that have 366 days. F `Get-Date` uses three parameters to specify the date: **Year**, **Month**, and **Day**. The command is wrapped with parentheses so that the result is evaluated by the **DayofYear** property. -### Example 6: Check if a date is adjusted for daylight savings time +### Example 6: Check if a date is adjusted for daylight saving time -This example uses a boolean method to verify if a date is adjusted by daylight savings time. +This example uses a boolean method to verify if a date is adjusted by daylight saving time. ```powershell $DST = Get-Date @@ -176,7 +176,7 @@ True ``` A variable, `$DST` stores the result of `Get-Date`. `$DST` uses the **IsDaylightSavingTime** method -to test if the date is adjusted for daylight savings time. +to test if the date is adjusted for daylight saving time. ### Example 7: Convert the current time to UTC time diff --git a/reference/7.3/Microsoft.PowerShell.Utility/Get-Date.md b/reference/7.3/Microsoft.PowerShell.Utility/Get-Date.md index 5f659fdd217..43b84cb87d4 100644 --- a/reference/7.3/Microsoft.PowerShell.Utility/Get-Date.md +++ b/reference/7.3/Microsoft.PowerShell.Utility/Get-Date.md @@ -162,9 +162,9 @@ The Gregorian calendar has 365 days, except for leap years that have 366 days. F `Get-Date` uses three parameters to specify the date: **Year**, **Month**, and **Day**. The command is wrapped with parentheses so that the result is evaluated by the **DayofYear** property. -### Example 6: Check if a date is adjusted for daylight savings time +### Example 6: Check if a date is adjusted for daylight saving time -This example uses a boolean method to verify if a date is adjusted by daylight savings time. +This example uses a boolean method to verify if a date is adjusted by daylight saving time. ```powershell $DST = Get-Date @@ -176,7 +176,7 @@ True ``` A variable, `$DST` stores the result of `Get-Date`. `$DST` uses the **IsDaylightSavingTime** method -to test if the date is adjusted for daylight savings time. +to test if the date is adjusted for daylight saving time. ### Example 7: Convert the current time to UTC time diff --git a/reference/7.4/Microsoft.PowerShell.Utility/Get-Date.md b/reference/7.4/Microsoft.PowerShell.Utility/Get-Date.md index a5342da8445..fb42b1ae300 100644 --- a/reference/7.4/Microsoft.PowerShell.Utility/Get-Date.md +++ b/reference/7.4/Microsoft.PowerShell.Utility/Get-Date.md @@ -162,9 +162,9 @@ The Gregorian calendar has 365 days, except for leap years that have 366 days. F `Get-Date` uses three parameters to specify the date: **Year**, **Month**, and **Day**. The command is wrapped with parentheses so that the result is evaluated by the **DayofYear** property. -### Example 6: Check if a date is adjusted for daylight savings time +### Example 6: Check if a date is adjusted for daylight saving time -This example uses a boolean method to verify if a date is adjusted by daylight savings time. +This example uses a boolean method to verify if a date is adjusted by daylight saving time. ```powershell $DST = Get-Date @@ -176,7 +176,7 @@ True ``` A variable, `$DST` stores the result of `Get-Date`. `$DST` uses the **IsDaylightSavingTime** method -to test if the date is adjusted for daylight savings time. +to test if the date is adjusted for daylight saving time. ### Example 7: Convert the current time to UTC time diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Get-Date.md b/reference/7.5/Microsoft.PowerShell.Utility/Get-Date.md index 512b41370da..b31c65d4d12 100644 --- a/reference/7.5/Microsoft.PowerShell.Utility/Get-Date.md +++ b/reference/7.5/Microsoft.PowerShell.Utility/Get-Date.md @@ -162,9 +162,9 @@ The Gregorian calendar has 365 days, except for leap years that have 366 days. F `Get-Date` uses three parameters to specify the date: **Year**, **Month**, and **Day**. The command is wrapped with parentheses so that the result is evaluated by the **DayofYear** property. -### Example 6: Check if a date is adjusted for daylight savings time +### Example 6: Check if a date is adjusted for daylight saving time -This example uses a boolean method to verify if a date is adjusted by daylight savings time. +This example uses a boolean method to verify if a date is adjusted by daylight saving time. ```powershell $DST = Get-Date @@ -176,7 +176,7 @@ True ``` A variable, `$DST` stores the result of `Get-Date`. `$DST` uses the **IsDaylightSavingTime** method -to test if the date is adjusted for daylight savings time. +to test if the date is adjusted for daylight saving time. ### Example 7: Convert the current time to UTC time