Updates from: 03/11/2021 04:15:02
Service Microsoft Docs article Related commit history on GitHub Change details
Microsoft.PowerShell.Core Set Strictmode (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Core/Set-StrictMode.md
external help file: System.Management.Automation.dll-Help.xml
keywords: powershell,cmdlet Locale: en-US Module Name: Microsoft.PowerShell.Core Previously updated : 04/09/2020 Last updated : 03/10/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Set-StrictMode
This cmdlet does not return any output.
## NOTES
+While `Set-StrictMode` **Version** parameter will accept values greater than `3.0`, currently there
+are no additional rules defined for anything higher than `3.0`.
+ `Set-StrictMode` is effective only in the scope in which it is set and in its child scopes. For more information about scopes in PowerShell, see [about_Scopes](about/about_Scopes.md).
Microsoft.PowerShell.Core Set Strictmode (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Core/Set-StrictMode.md
external help file: System.Management.Automation.dll-Help.xml
keywords: powershell,cmdlet Locale: en-US Module Name: Microsoft.PowerShell.Core Previously updated : 04/09/2020 Last updated : 03/10/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Set-StrictMode
This cmdlet does not return any output.
## NOTES
+While `Set-StrictMode` **Version** parameter will accept values greater than `3.0`, currently there
+are no additional rules defined for anything higher than `3.0`.
+ `Set-StrictMode` is effective only in the scope in which it is set and in its child scopes. For more information about scopes in PowerShell, see [about_Scopes](about/about_Scopes.md).
Microsoft.PowerShell.Core Set Strictmode (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Core/Set-StrictMode.md
external help file: System.Management.Automation.dll-Help.xml
keywords: powershell,cmdlet Locale: en-US Module Name: Microsoft.PowerShell.Core Previously updated : 04/09/2020 Last updated : 03/10/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Set-StrictMode
This cmdlet does not return any output.
## NOTES
+While `Set-StrictMode` **Version** parameter will accept values greater than `3.0`, currently there
+are no additional rules defined for anything higher than `3.0`.
+ `Set-StrictMode` is effective only in the scope in which it is set and in its child scopes. For more information about scopes in PowerShell, see [about_Scopes](about/about_Scopes.md).
Microsoft.PowerShell.Core Set Strictmode (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Core/Set-StrictMode.md
external help file: System.Management.Automation.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Core Previously updated : 04/09/2020 Last updated : 03/10/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Set-StrictMode
This cmdlet does not return any output.
## NOTES
+While `Set-StrictMode` **Version** parameter will accept values greater than `3.0`, currently there
+are no additional rules defined for anything higher than `3.0`.
+ `Set-StrictMode` is effective only in the scope in which it is set and in its child scopes. For more information about scopes in PowerShell, see [about_Scopes](about/about_Scopes.md).
Microsoft.PowerShell.Utility Get Date (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Get-Date.md
The valid **UFormat specifiers** are displayed in the following table:
| `%d` | Day of the month - 2 digits | 05 | | `%e` | Day of the month - preceded by a space if only a single digit | \<space\>5 | | `%F` | Date in YYYY-mm-dd format, equal to %Y-%m-%d (the ISO 8601 date format) | 2019-06-27 |
-| `%G` | Same as 'Y' | |
-| `%g` | Same as 'y' | |
+| `%G` | ISO week date year (year containing Thursday of the week) | |
+| `%g` | Same as 'G' - 2 digits | |
| `%H` | Hour in 24-hour format | 17 | | `%h` | Same as 'b' | | | `%I` | Hour in 12-hour format | 05 |