SDL Web core
- CM: Content Manager
- CD: Content Delivery
- CDaaS: Content Delivery as a Service (introduced in Web 8)
Targeting
- ST: SmartTarget
- FH: Fredhopper
- AM: Audience Manager
SDL Web core
Targeting
| Function Get-OctopusEnvironmentMachines{ | |
| Param( | |
| [string]$EnvironmentName, #"App1 DEV" | |
| [string]$APIKey, #API-XXXXXXXXXXXXXXXXXXXXXXXXX | |
| [string]$OctopusBaseURI #http://octopus | |
| ) | |
| try{ | |
| $environmentsJSON=Invoke-WebRequest -URI "$OctopusBaseURI/api/environments" -Header @{ "X-Octopus-ApiKey" = $apiKey } -Method GET; | |
| }catch{ | |
| throw "Get-OctopusEnvironmentMachines: Failed to retrieve list of environments :: $_ " |
| At the end of your Blogger post , using HTML editor, append this | |
| <script src="https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js" type="text/javascript"></script> | |
| In the content of your blog post, simply add this: | |
| <div class="gistLoad" data-id="8488564" id="gist-8488564">Loading https://gist.github.com/8488564....</div> | |
| Note: adding the URL is useful because when the javascript does not work, readers can copy and paste the URL themselves. |
| Write-Host "Restarting all Tridion Services" | |
| foreach ($svc in Get-Service) | |
| { | |
| if($svc.displayname.StartsWith("Tridion") -or $svc.displayname.StartsWith("SDL Web") -or $svc.displayname.StartsWith("SDL Delivery")) | |
| { | |
| if($svc.Status -eq "Running") | |
| { | |
| Write-Host " restarting"$svc.DisplayName | |
| Restart-Service $svc.name -Force | |
| } else { |