I wanted to know about how to copy a file from a local system to 100's of Azure Virtual Machine. Example, from C:\Users\\Desktop\copyme.txt (local path) to C drive (or E drive) on Azure windows VM. I want to script this using Powershell.
I know that we can do it individually via RDP. Is there any way that we can automate this using Powershell?
Thanks in advance.
Well, just copy file to session using powershell 5? Like so: (assuming 1 single account is good for logging into all vm's)