jhorsman
9/21/2017 - 8:23 PM

Remove all of the configurations in the SDL Web Topology Manager.

Remove all of the configurations in the SDL Web Topology Manager.

Write-Host "CAUTION! this script will attempt to remove all data from your Topoloy Manager instance."
pause

(Get-TtmMapping).Id | ForEach { Remove-TtmMapping -Id $_ }

(Get-TtmWebApplication).Id | ForEach { Remove-TtmWebApplication -Id $_ }

(Get-TtmWebsite).Id | ForEach { Remove-TtmWebsite -Id $_ }

(Get-TtmCdTopology).Id | ForEach { Remove-TtmCdTopology -Id $_ }

(Get-TtmCdEnvironment).Id | ForEach { Remove-TtmCdEnvironment -Id $_ }

(Get-TtmCmEnvironment).Id | ForEach { Remove-TtmCmEnvironment -Id $_ }

(Get-TtmCdTopologyType).Id | ForEach { Remove-TtmCdTopologyType -Id $_ }

Get-TtmMapping
Get-TtmWebApplication
Get-TtmWebsite
Get-TtmCdTopology
Get-TtmCdEnvironment
Get-TtmCmEnvironment
Get-TtmCdTopologyType