diff --git a/EasyPIM/EasyPIM.psd1 b/EasyPIM/EasyPIM.psd1 index e647066..f932e88 100644 --- a/EasyPIM/EasyPIM.psd1 +++ b/EasyPIM/EasyPIM.psd1 @@ -4,7 +4,7 @@ RootModule = 'EasyPIM.psm1' # Version number of this module. -ModuleVersion = '1.2.0' +ModuleVersion = '1.2.1' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/EasyPIM/internal/scripts/variables.ps1 b/EasyPIM/internal/scripts/variables.ps1 index e785cac..0ca169a 100644 --- a/EasyPIM/internal/scripts/variables.ps1 +++ b/EasyPIM/internal/scripts/variables.ps1 @@ -21,7 +21,7 @@ $script:teamsWebhookURL = "https://microsoft.webhook.office.com/webhookb2/xxxxxx #from now every error will be treated as exception and terminate the script $script:_scriptFullName = $MyInvocation.scriptName -$script:_scriptName = Split-Path -Leaf $_scriptFullName +$script:_scriptName = "EasyPIM" #Split-Path -Leaf $_scriptFullName $script:HostFQDN = $env:computername + "." + $env:USERDNSDOMAIN # ERROR HANDLING $ErrorActionPreference = "STOP" # make all errors terminating ones so they can be catched