Retrieve the Set-StrictMode setting for the current session.
This procedure is necessary as there is, apparently, no equivalent PowerShell
variable for this and it enables the setting to be returned to its original
state after possibly being changed within a script. Add this function
to your $profile.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name strictmode

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


'Sea Star Development'


'Sea Star Development'



Get-StrictMode Version ToString


This script has no dependencies.

Version History

Version Downloads Last updated
2.1 (current version) 126 11/17/2017