-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugWG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core modulecmdlets in the Microsoft.PowerShell.Core module
Description
Summary of the new feature / enhancement
Currently, Set-StrictMode -Version accepts "latest" to indicate the most recent version of StrictMode. It would be beneficial to also accept "off" and remove the Set-StrictMode -Off option. The "off" option would turn StrictMode to version 0.0
Usage: Set-StrictMode -Version off
Proposed technical implementation details (optional)
Invoke-Command -StrictMode allows "off" as a parameter.
Refer to this pull request #16545 (comment)
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugWG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core modulecmdlets in the Microsoft.PowerShell.Core module