If you were to use Remove-WindowsFeature PowerShell cmdlet, you can add the –whatif switch to see the list of features that would also be impacted.
Remove-WindowsFeature Net-Framework-45-Features –WhatIf
To completely Uninstall .NET framework , run below command.
Uninstall-WindowsFeature Net-Framework-45-Features