Nexus Repository Manager 3 is a tool to create private repositories for Maven, NuGet, Python, Docker and several other package systems. I was requested to automate the installation. The first of the requirements was that it would run on a Windows Server OS. The second one was that two repositories had to be created. One…
Clean JSON output for ConvertTo-Json
PowerShell 5.1 has nice cmdlet called ConvertTo-Json that converts objects to JSON syntax. Unfortunately, this conversion isn’t very clean. It contains tons of extra white space and querying JSON is not possible for most of the tools including PowerShell. PowerShell-Core 7 received a major update on cmdlet. It actually converts objects into clean JSON code.…