Are there any Netsh step templates for Octopus? Need to manage URL reservations for self hosted asp.net app.
scott
Are there any Netsh step templates for Octopus? Need to manage URL reservations for self hosted asp.net app.
scott
Under Library, Step Templates look for Network - Add URL Reservation, the content for this is as follows:-
$url = $OctopusParameters[‘Url’]
$user = $OctopusParameters[‘User’]
$delegate = if (‘True’ -eq $OctopusParameters[‘Delegate’]) { ‘yes’ } else { ‘no’}
$delacl = “http delete urlacl url=$url”
$addacl = “http add urlacl url=$url user=$user delegate=$delegate”
write-host “Removing ACL: $delacl”
$delacl | netsh | out-host
write-host “Creating ACL: $addacl”
$addacl | netsh | out-host