Powershell profile script for SDL Web 8

Today I created a revamped the profile script for administrating a SDL Web 8 Content Management Server. (SDL Web 8 is formally known as the SDL Tridion product). The script already existed for Tridion 2011/2013. Only with renaming the product to SDL Web 8, also the services were changed.

What it does:

When installed it adds several functions. Some of them:

  • SDLServices() - Display all SDL Web 8 Services
  • Start-TServices() - Start all SDL Web 8 Services
  • Stop-TServices() - Stop all SDL Web 8 Services
  • Restart-Tservices() - Restart all SDL Web 8 Services
  • ...


Installation procedure:

  • Open PowerShell and execute the following commands:
    • > Set-ExecutionPolicy -ExecutionPolicy unrestricted -Force
    • > new-item -path $profile -itemtype file -force
    • > notepad $profile
  • PASTE the contents of this file
  • Save and Close notepad
  • Restart PowerShell


The Script (sdlweb8powershellprofile-ps1):


Add comment