swaudit lässt sich nicht mehr installieren

Antworten
NorbertKoch
Beiträge: 158
Registriert: 26 Aug 2021, 08:37

swaudit lässt sich nicht mehr installieren

Beitrag von NorbertKoch »

Hallo zusammen,

beim Versuch swaudit zu verteilen erhalte ich:
"[2] [2026-02-10 11:52:47.069] [swaudit] Syntax Error in Section: sub_handle_info_line (Command in line 28 in defined function: get_windows_appx_infos file: swauditlib_win.opsiscript function start at line: 245; origin: swauditlib_win.opsiscript line: 246): not("c:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1 : Die Datei "C:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1" kann nicht geladen " = "") -> relation symbol ("<", "=", ">" ...) expected
[2] [2026-02-10 11:52:47.069] [swaudit] Syntax Error found in line: >if not("c:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1 : Die Datei "C:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1" kann nicht geladen " = "")<
[2] [2026-02-10 11:52:47.069] [swaudit] Syntax Error in Section: sub_handle_info_line (Command in line 28 in defined function: get_windows_appx_infos file: swauditlib_win.opsiscript function start at line: 245; origin: swauditlib_win.opsiscript line: 246): C:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1" kann nicht geladen " = "") -> erroneous characters
[2] [2026-02-10 11:52:47.069] [swaudit] Syntax Error found in line: >if not("c:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1 : Die Datei "C:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1" kann nicht geladen " = "")<
[2] [2026-02-10 11:52:47.069] [swaudit] Syntax Error in Section: sub_handle_info_line (Command in line 29 in defined function: get_windows_appx_infos file: swauditlib_win.opsiscript function start at line: 245; origin: swauditlib_win.opsiscript line: 247): EndIf -> expected
[2] [2026-02-10 11:52:47.069] [swaudit] Syntax Error found in line: >set $appxInfoLineEntryList$ = splitString("c:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1 : Die Datei "C:\opsi.org\tmp\_opsiscript_k7hm8GO6B8.ps1" kann nicht geladen ",":")<
[2] [2026-02-10 11:52:47.070] [swaudit] Syntax Error in Section: Actions (Command in line 908 in section: Actions; file: swaudit.opsiscript; section start at line: 4; origin: swaudit.opsiscript; line: 908): EndIf -> expected
[2] [2026-02-10 11:52:47.070] [swaudit] Syntax Error found in line: >endif<"

Jemand ne Idee?

Danke.
Liebe Grüße

Norbert
JakobCGN
Beiträge: 25
Registriert: 12 Okt 2023, 20:51

Re: swaudit lässt sich nicht mehr installieren

Beitrag von JakobCGN »

Bei uns ist das Problem bisher nicht aufgetreten. Wir setzen es regelmäßig ein. Mit welcher Version vom opsi-client-agent, opsi-script, swaudit und Client OS Build tritt es ein?

Soeben zur Sicherheit bei mir gegengetestet. Wird ohne Probleme installiert.

Code: Alles auswählen

[swaudit] script finished: success

Windows 11 Enterprise 25H2	10.0.26200.7623 x64	de-DE
opsi-client-agent_4.3.17.4-1
opsi-script_4.12.19.0-8
swaudit_4.3.2.0-1
Hab auch keine aktuellere swaudit im experimental repo von uib zum Testen gesehen.
Bei mir zeigt es in den logs nur folgenden Fehler ein, welches aber meines Wissens daran liegt, dass wmic mit Win11 25H2 abgeschafft wurde.

Code: Alles auswählen

Error: Could not get hotfixes via wmic qfe - fatal
Antworten