Posts about powershell

Bulk unlist old NuGet package versions

Keeping only the latest versions of your NuGet packages listed on the official NuGet gallery is easy to automate with a PowerShell function built on dotnet nuget delete.

Delete an Azure DevOps pipeline whose builds are retained by a release

Azure DevOps can refuse to delete a pipeline when its builds are retained by a release, but a small PowerShell script can clean up the leases and unblock the deletion.