Update samy.ps1
This commit is contained in:
3
samy.ps1
3
samy.ps1
@@ -5,7 +5,6 @@
|
|||||||
Full documentation: https://git.svstools.ca/.../docs/SAMY.help.md
|
Full documentation: https://git.svstools.ca/.../docs/SAMY.help.md
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
|
||||||
#region Safely bypass Restricted Execution Policy
|
#region Safely bypass Restricted Execution Policy
|
||||||
# Safely bypass Restricted Execution Policy
|
# Safely bypass Restricted Execution Policy
|
||||||
if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
|
if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
|
||||||
@@ -30,8 +29,6 @@ if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
|
|||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
$ConfirmPreference = 'None'
|
$ConfirmPreference = 'None'
|
||||||
#endregion Safely bypass Restricted Execution Policy
|
|
||||||
|
|
||||||
#endregion Safely bypass Restricted Execution Policy
|
#endregion Safely bypass Restricted Execution Policy
|
||||||
|
|
||||||
function Invoke-ScriptAutomationMonkey {
|
function Invoke-ScriptAutomationMonkey {
|
||||||
|
|||||||
Reference in New Issue
Block a user