From 7c77b7fd6e947d0396940e6ed482180342db56e7 Mon Sep 17 00:00:00 2001 From: Alexis Spencer Date: Fri, 25 Nov 2022 09:50:22 +1100 Subject: [PATCH] republish --- Standard-CT-Module/CT-PS-Standard.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Standard-CT-Module/CT-PS-Standard.psm1 b/Standard-CT-Module/CT-PS-Standard.psm1 index 87f8bff..6fbd479 100644 --- a/Standard-CT-Module/CT-PS-Standard.psm1 +++ b/Standard-CT-Module/CT-PS-Standard.psm1 @@ -13,8 +13,8 @@ function Initialize-Script { This needs to be imported to a script by using the following two commands: - Invoke-WebRequest -uri "https://raw.githubusercontent.com/alexisspencer/ct_store/main/Standard-CT-Module/CT-PS-Standard.psm1" -OutFile "$($PSScriptRoot)\CT-PS-Standard.psm1" -Verbose:$VerbosePreference #-SkipCertificateCheck - Import-Module -Name "$($PSScriptRoot)\CT-PS-Standard.psm1" -Force -Verbose:$VerbosePreference + Invoke-WebRequest -uri "https://raw.githubusercontent.com/alexisspencer/ct_store/main/Standard-CT-Module/CT-PS-Standard.psm1" -OutFile "$($PSScriptRoot)\CT-PS-Standard.psm1" -Verbose:$VerbosePreference -Debug:$DebugPreference + Import-Module -Name "$($PSScriptRoot)\CT-PS-Standard.psm1" -Force -Verbose:$VerbosePreference -Debug:$DebugPreference Then trigger the function "Initialize-Script" at the start of your script