uwefranke / msgDSM7Module

powershell Module SOAP interface Ivanti DSM
GNU General Public License v3.0
9 stars 1 forks source link

Latest new DSM Version 2024.1 (Build 5710!) breaks "Connect-DSM7Web" aka the whole module! #12

Open FurkanVG opened 4 months ago

FurkanVG commented 4 months ago

Hey, i have installed the latest DSM version with the fixed MSI-Client issue. This changed the Build to 5710 from 5703! But once the update finished successfully, all my PS Scripts are running into this error:

PS C:\WINDOWS\system32> Connect-DSM7Web -WebServer "XXXXXXX" -Credential $credObjectDSM  -UseSSL

2024-05-20 13:35:37 - Info    - [Connect-DSM7Web] - Verbinde zu https://XXXXXXX.de:443/blsAdministration/AdministrationService.asmx?WSDL.
2024-05-20 13:35:37 - Error   - [Connect-DSM7Web] - Verbindungsfehler: Cannot find drive. A drive with the name '09' does not exist. Cannot find drive. A drive with the name '09' does not exist.
out-file : Cannot find drive. A drive with the name '09' does not exist.
At C:\Program Files\WindowsPowerShell\Modules\msgDSM7Module\1.0.4.2\msgDSM7Module.psm1:86 char:3
+         echo $LogMessageStr >> $logfile
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (09:String) [Out-File], DriveNotFoundException
    + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.OutFileCommand

Im open to provide any more logfiles if needed. Thanks! Furkan