Ano

My feedback

  1. 128 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    6 comments  ·  Networking » Content Delivery Network  ·  Flag idea as inappropriate…  ·  Admin →
    Ano commented  · 

    Any news on this?
    And is there is way to speed up an Azure Power Shell script (based on directory content)? The purge of only ten files is now taking quite a while already.

    txtOutput.Text = "Login-AzureRmAccount; ";
    string[] f = Directory.GetFiles(txtPurge.Text, "*.js", SearchOption.AllDirectories);
    foreach (var file in f)
    {
    txtOutput.Text += "Unpublish-AzureRmCdnEndpointContent -ResourceGroupName “Default-Web-WestEurope” -ProfileName “SterAdCDN” -EndpointName “SterAdCDN” -PurgeContent “/script/"+ Path.GetFileName(file) + "”; ";
    }
    txtOutput.Text = txtOutput.Text.TrimEnd(new char[] {' '} ).TrimEnd(new char[] { ';' });

Feedback and Knowledge Base