Hello. I'm currently running a few Powershell scripts interactively in order to gather cluster and VM information from our AHV cluster. I'd like to automate the execution of this from Task Scheduler, but I've been unable to find any way to automate the authentication to the cluster. In other platforms, you can do this by creating a secured credential and then accessing it and passing it to the authentication cmdlet.
Is this currently possible? If not, I'd like to submit a feature request as we are automating a number of our capacity planning via powershell. Thank you!