Closed tomSDL closed 2 years ago
Hi, I reproduced this on my test machine, it's a problem with how configuration parameters are store on linux Working on it
--Wojtek
Hi https://www.powershellgallery.com/packages/GlpiTools/1.7.1
Version 1.7.1 fixed this problem
Cheers! Wojtek
Powershell 7.2.2
Hi, This works great on Windows. Same tokens and setting on Debian I get this error on each commandlet.
Get-GlpiToolsComputers -ComputerName PC037
Invoke-RestMethod: Line | 40 | $InitSession = Invoke-RestMethod @params |
~~~~~| Name or service not known Invoke-RestMethod: Line | 40 | $InitSession = Invoke-RestMethod @params |~~~~~| Name or service not known Invoke-RestMethod: Line | 40 | $InitSession = Invoke-RestMethod @params |~~~~~| Name or service not known Invoke-RestMethod: Line | 54 | $ListSearchOptions = Invoke-RestMethod @params |~~~~~| Name or service not known Invoke-RestMethod: Line | 45 | Invoke-RestMethod @params | Out-Null |~~~~~| Name or service not known Invoke-RestMethod: Line | 126 | $SearchResult = Invoke-RestMethod @params |~~~~~| Name or service not known Invoke-RestMethod: Line | 45 | Invoke-RestMethod @params | Out-Null |~~~~~| Name or service not known Invoke-RestMethod: Line | 45 | Invoke-RestMethod @params | Out-Null |~~~~~| Name or service not knownAny ideas please? Thank you!