Is your feature request related to a problem? Please describe.
When executing Remove-HVMachine, it attempts to log off the user. If the user is connected via RDP for example and not Horizon, it retries until it times out which lengthens script completion and clutters up the powershell output window.
Describe the solution you'd like
Is there already a way to limit the number of attempts for it to log the user off? Is there a force logoff option that is not shown in the docs for this module? If not, I would like to request this feature to limit the logoff attempts when trying to remove a desktop from a Horizon pool. Thanks.
Is your feature request related to a problem? Please describe.
When executing Remove-HVMachine, it attempts to log off the user. If the user is connected via RDP for example and not Horizon, it retries until it times out which lengthens script completion and clutters up the powershell output window.
Describe the solution you'd like
Is there already a way to limit the number of attempts for it to log the user off? Is there a force logoff option that is not shown in the docs for this module? If not, I would like to request this feature to limit the logoff attempts when trying to remove a desktop from a Horizon pool. Thanks.
Describe alternatives you've considered
No response
Additional context
No response