Need to take Windows Remote Desktop from git.yaml file

Hello Everyone,

I need to take a remote windows desktop from git.yaml file. I tried “cmdkey /generic:“hostname” /user:”" /pass:“” mstsc /v:". It works fine in commandline alone. But not works with git yaml command. Any idea to work this perfectly?