Skip to content

Instantly share code, notes, and snippets.

View ServiceFabricClusterParameters.json
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusterName": {
"value": "ClusterName"
},
"loggingFilter": {
"value": "Verbose"
},
View download-nuget-licenses.ps1
@( Get-Project -All | ? { $_.ProjectName } | % { Get-Package -ProjectName $_.ProjectName } ) | Sort -Unique | % { $pkg = $_ ; Try { (New-Object System.Net.WebClient).DownloadFile($pkg.LicenseUrl, 'C:\Development\licenses\' + $pkg.Id + ".html") } Catch [system.exception] { Write-Host "Could not download license for $pkg" + $_.Exception.Message} }