I'm looking for a way to run a script, on a single instance of a cloud service (which has several instances) from a remote machine. 

I've tried DSC but that doesn't seem to support running the script only on one machine, as it would run it on all machines of the cloud service. 

Note I'm using classic Azure cloud services. 

Update: I specifically have an issue with Get-AzureVM which is part of the script example. 
How do I get the instance VM which is part of my cloud service. 
For instance I tried:

```
Get-AzureVM -ServiceName myCloudServiceName -Name instanceVMName 

```

And that didn't return anything (I made sure to Add-AzureAccount first).

I’m assuming it returns nothing because Get-AzureVM cannot be used for cloud services, and only for VMs.
I’m able to get the instance by running
$dep = Get-AzureDeployment -ServiceName myCloudServiceName -Slot Production 
$dep.RoleInstanceList[0] 
Which returns role instance type which is different from the expected VM type.

Any ideas?