Earlier on this community, I started a discussion of “Powerful SharePoint PowerShell Direction” http://goo.gl/DPIr75. Essentially I’ve been in awe of the direction started by these three blogs:
- Wictor Wilén
— SharePoint Central Admin Productivity Tip: http://goo.gl/XmvVxg - Ryan Dennis–Customizing the SharePoint 2013 Suite Bar Branding: http://goo.gl/QvYIep
- Chris Stretton–Mastering the SharePoint 2013 Suit Bar: http://goo.gl/y8olSi
Starting with Wictor’s basic PowerShell Script :
asnp microsoft.sharepoint.powershell
$ca = Get-SPWebApplication -IncludeCentralAdministration | `
?{$_.IsAdministrationWebApplication -eq $true}
$ca.SuiteBarBrandingElementHtml = “<div class=’ms-core-brandingText’>Central Admin: FarmA Production</div>”
$ca.Update()
(asnp -Must mean add PowerShell Snapin–which I handle through the Profile.)
The script essentially puts a visible label on the Central Admin Site of “Central Admin: FarmA Production”. Wictor alludes to more that can be done-like “Blinking” text. (For Joy! Everyone loves this as much as Flash and Crawling Ants!)
(I can remember in my younger days working on a Unix Machine and then shutting it down. When to my amazement I hear exclamations and expletives from another room: I had shutdown the wrong machine. Not the last time either! Anyone looking for a good Unix Admin? Shutdowns–No Extra Charge!)
$ca = Get-SPWebApplication | `
?{$_.IsAdministrationWebApplication -eq $true}
$ca.SuiteBarBrandingElementHtml = “<div class=’ms-core-brandingText’>FarmA Production</div>”
$ca.Update()
(Note the first pipe and where clause aren’t really needed since Admin Sites are only included if specified. Hindsight is Precious but hard to muster at first!)
But all was not well in PowerShell Land: