Manage - .net Runtimes
Summary
This script ensures that the system is running the latest supported versions of .NET runtimes and SDKs while removing unsupported versions to maintain a clean and secure environment. It manages the installation, uninstallation, and listing of .NET runtimes and SDKs on a Windows system.
NOTE:
- Uninstalling/Installing SDK will uninstall/Install the associated version of AspNetCoreRuntime, DesktopRuntime and Runtime
- Uninstalling/Installing DesktopRuntime will Uninstall/Install the associated version of Runtime
Dependencies
Sample Run
User Parameters
Name | Example | Mandatory | Description |
---|---|---|---|
Action | List Install Uninstall Renew | False | Specifies the action to perform. Valid values are:
list |
Type | Sdk Runtime Desktopruntime aspNetCoreRuntime all | False | Specifies the type of .NET component to manage. Valid values are:
desktopRuntime |
Output
- Script Logs