VSTS CLI has an admin commandlet that let’s you control the banner messages on Azure DevOps interface. Apart from being able to see existing banners already in place, you can create banner messages. What’s really cool is you’ll be able to set a category for the message and the expiry datetime. How about using the banner messages to wish your users a geeky merry xmas and new years! Check out how to do this…


Download and install the VSTS CLI if you don’t already have it… Steps on how to set it up are documented here

Next set up VSTS CLI with a PAT token for the account(s) you intend to use it against.

VSTS CLI banner command

\>vsts admin banner list

VSTS CLI banner list

Okay, basics out of the way… Let’s add a new banner… The commandlet supports adding a banner with message type and expiration date time…

VSTS CLI banner create

Alright let’s get down to business…

/>vsts admin banner add -m "Wish you a Merry Xmas & 
a very Happy New Years 2019!... Best wishes of the festive season from: 
VisualStudioGeeks" -t info --expiration 20190102

VSTS CLI banner add

Ta-da… Let’s check it out in Azure DevOps…

AzureDevOps banner

Azure DevOps is cool!

Well wish you all a Merry Xmas and a very happy new years 2019! Eat up and Drink up and hopefully Geek out during the xmas holidays…



About author
Tarun Arora
Tarun Arora
Tarun Arora is obsessed with high-quality working software, DevOps, Continuous Delivery and Agile. His core strengths are Azure, Azure DevOps, PowerShell, SQL and WPF. He is a Microsoft MVP in Visual Studio Development Tools and the author of 'DevOps & ALM with TFS 2015'.
We Are
  • onlyutkarsh
    Utkarsh Shigihalli
    Microsoft MVP, Technologist & DevOps Coach

  • arora_tarun
    Tarun Arora
    Microsoft MVP, Author & DevOps Coach at Avanade

Do you like our posts? Subscribe to our newsletter!
Our Book