Hello all - attempting to add an azure endpoint to a VM for passive FTP. command is as follows:
add-AzureEndpoint -name TCP5000 -Protocol TCP -LocalPort 5000 -PublicPort 5000
cmdlet Add-AzureEndpoint at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
VM: Web-01
Add-AzureEndpoint : Cannot bind parameter 'VM'. Cannot convert the "Web-01" value of type "System.String" to type
"Microsoft.WindowsAzure.Management.ServiceManagement.Model.IPersistentVM".
At line:1 char:1
+ Add-AzureEndpoint -name TCP5000 -Protocol TCP -LocalPort 5000 -PublicPort 5000
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Add-AzureEndpoint], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.WindowsAzure.Management.ServiceManagement.IaaS.
Endpoints.AddAzureEndpoint
what other values could powershell be asking for? Thanks