All,
Note: I have updated the question after some feedback.
Thanks to @jisaak for his help so far.
I have the need to run a PowerShell script that adds TCP bindings and some other stuff when I deploy my Cloud Service.
Here is my Cloud Service Project:
Here is my Cloud Service Project and Webrole project:

Here is my task in ServiceDefinition.csdef:
And here is the PowerShell script I want to run:

here is my attempt at the Startup.cmd:

When I deploy I get this in the Azure log:

And this in the powershell log:

Any help would be very much appreciated.
I think I am nearly there but following other people syntax on the web doesn't seem to get me there.
thanks Russ



