The .NET Uninstall Tool lets you remove .NET SDKs and Runtimes from a system. This is a utility that would get installed on systems with .NET Core, and then ran by an administrator. I would install this in all systems where I need to manage the versions, and then run a separate app with the actual command line (dotnet-core-uninstall) for removing specific versions. Microsoft has documented examples for the parameter options.