Update msoffice-removal-tool.ps1
Some checks are pending
PSScriptAnalyzer / PSScriptAnalyzer (push) Waiting to run

This commit is contained in:
Maximilian Krieger 2025-01-28 09:24:47 +01:00
parent 9147faf70d
commit 2cf3e363e4

View File

@ -45,7 +45,7 @@ $SaRA_URL = "https://aka.ms/SaRA_CommandLineVersionFiles"
$SaRA_ZIP = "$env:TEMP\SaRA.zip" $SaRA_ZIP = "$env:TEMP\SaRA.zip"
$SaRA_DIR = "$env:TEMP\SaRA" $SaRA_DIR = "$env:TEMP\SaRA"
$SaRA_EXE = "$SaRA_DIR\SaRAcmd.exe" $SaRA_EXE = "$SaRA_DIR\SaRAcmd.exe"
$Office365Setup_URL = "https://git.heko-technik.de/mkrieger/msoffice-removal-tool/src/branch/main/office365-installer" $Office365Setup_URL = "https://git.heko-technik.de/mkrieger/msoffice-removal-tool/raw/branch/main/office365-installer"
#-----------------------------------------------------------[Functions]------------------------------------------------------------ #-----------------------------------------------------------[Functions]------------------------------------------------------------
Function Invoke-OfficeUninstall { Function Invoke-OfficeUninstall {
if (-Not (Test-Path "$SaRA_DIR")) { if (-Not (Test-Path "$SaRA_DIR")) {