I needed a script to purge the CDN of this blog, I have the CDN setup already.
Get a list of all the powershell commands for the CDN
get-command -module AzureRM.Cdn
$resourceGroupName = '' $profileName = '' $endpointName = '' $cdnEndpoint = Get-AzureRmCdnEndpoint -ResourceGroupName $ResourceGroupName -ProfileName $profileName -EndpointName $endpointName $cdnEndpoint | Unpublish-AzureRmCdnEndpointContent -PurgeContent "/*"
This is really something you want to have inclued as part of your automated deployment. In a future article I will tie this together with a deployment scenario.
I'm a .NET Software Engineer. Obsessed with Scrum / agile practices, DevOps, Azure... and C# of course
Nant (1) Load testing (1) Visual studio (1) Azure (25) Aws (1) Asp.net (1) Tfs (1) Puppetlabs reports (2) Devops (2) Iis (1) Powershell (7) Arm templates (2) Arm template (1) Azure (9) Arm (2) Powershell (1) Dsc (1) Jekyll (1) Vsts (1) Arm (2)