In our production environment administrators need to use smart cards to authenticate. I'm trying to automate some recomposes via a powercli script and can't figure out a way to get the script to connect. Has anyone run into this?
You mean with Connect-HVServer ?
What happens? Errors? Timeouts?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes when using Connect-HVServer
I get prompted for my username password. While I can enter my username we have no passwords for our smart card accounts.
Afaik, smartcard support is not currently implemented in the Connect-HVServer.
You could try to do this via Horizon API, but that's uncharted territory for me I'm afraid.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference