SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Recently Changed Pages:

View All Pages


View All Tags


LinkedIn




WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Pages with comments

View All Comments

start

SHIFT - Sjoerd Hooft's InFormation Technology

This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out if you have a question about something.


Script: Azure DevOps API: Keep Forever

Goal of the script is to remove all the leases that are set on all of the builds that are created with a specific pipeline:

  • Retrieve the builddefinition id for the specified pipeline
  • Lists all leases for the builddefinition
  • Removes all the leases for the build definition id

If the leases kept you from deleting the build pipeline, you can delete the pipeline afterwards.

→ Read more...

2022/01/20 16:03 · sjoerd

Script: Powershell Remoting: Check Windows Patch Status

The script below is to check Windows Server in an Active Directory environment using PowerShell Remoting.

→ Read more...

2022/01/20 15:51 · sjoerd

Script: Azure DevOps API: Keep Forever

Goal of the script is to check all my deployments in production and set the retain indefinitely / keep forever property to true if this is not done yet. It uses the following parts / useful techniques:

  • List all projects
  • List all deployments
  • Get Releases
  • The combined use of the $top parameter and a continuation token

→ Read more...

2022/01/20 15:37 · sjoerd
You could leave a comment if you were logged in.
start.txt · Last modified: 2021/10/13 18:57 by sjoerd