Any cmdlet that can change and potentially damage your system supports the -whatif parameter, allowing you to just simulate the action without actual change. You can search for this parameter to locate all cmdlets that you should be careful with:
Get-Help * -parameter whatif