locked
Bulk export Acess Control List RRS feed

  • Question

  • Hi All,

    I have approx. 50 Azure Virtual Machines and Remote Desktop endpoint is added on each Virtual Machine. Access control list is configured on each VM. 

    Now i want to export all Virtual machine ACL list in a single azure powersheel command. I am using the below powersheel command and this command is not allowing me to add another Virtual machine. Please suggest how can i export the list in a single go?

    $svc="Cloud Service name"
    $vmname="Virtual Machine Name"
    $epname="Endpoint Name"
    Get-AzureVM -ServiceName $svc -Name $vmname | Get-AzureAclConfig -EndpointName $epname | FT -Auto


    Nirmal Singh IT Administrator

    Friday, September 18, 2015 3:45 PM