To enable seamless automation of IGEL device management in our environment, particularly for use cases like force-shutting down devices when users resist or cause issues, it would be highly beneficial if the Get-IgelRMServerLogin cmdlet supported passing the password as a parameter, rather than requiring interactive input.
Currently, the -Password parameter is not available in this cmdlet, forcing users to enter the password manually during execution. This significantly limits the use of automation scripts, especially when using secure service accounts with strong, complex passwords.
Adding a -Password parameter to Get-IgelRMServerLogin would greatly enhance scriptability, operational efficiency, and security. Making automated IGEL management more reliable, scalable, and suitable for enterprise environments.
For example:
$securePassword = ConvertTo-SecureString “MyStrongPassword!” -AsPlainText -Force
Get-IgelRMServerLogin -Server “%UMS-Server%” -Username “admin” -Password $securePassword
This is already possible:
Get-IgelRMServerLogin -Servername servername -Username username -Password (ConvertTo-SecureString ‘password’ -AsPlainText -Force) -IgnoreUntrustedCertificates $true -ForceIMIVersion v2
Hello Sven-Ove Thanks it works now :-)
thanks