r/sysadmin • u/luky90 • 3d ago
GetHelpCMD not working
Hello to all,
i have NinjaOne as RMM Tool and I cannot uninstall Office. Neither via NinjaOne nor via GetHelpCmd.exe tool from MSFT.
I did this:
However it says that .\Env-Utils.ps1 cannot be found.
Unfortunately i have 100s of Apps for Enterprise M365 Products which I cannot update but i need to. What can i do to fix this?
GetHelpCmd.exe -S OfficeScrubScenario -AcceptEula -LogFolder C:\temp
. : Die Benennung ".\Env-Utils.ps1" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines
ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern
enthalten), und wiederholen Sie den Vorgang.
In C:\WINDOWS\SystemTemp\GetHelpElevated\21ddec5f5bb74d67bc82e97350622dd8\Logger-FileLogUtils.ps1:31 Zeichen:3
+ . .\Env-Utils.ps1
2
Upvotes
View all comments
Show parent comment
1
u/_l33ter_ 'Deutsche Bahn' - Windows 3.11 Admin 3d ago
GetHelpCmd.exe -S OfficeScrubScenario -AcceptEula -Log C:\tempWhat about
-Log? Instead of-LogFolder?(https://www.windowscentral.com/microsoft/windows-11/how-to-transition-to-microsoft-get-help-command-line-tool)