Removes the network certificate for SQL Server instance. This setting is found in Configuration Manager.
Removes the Network Certificate for the default instance (MSSQLSERVER) on localhost.
Removes the Network Certificate for the SQL2008R2SP2 instance on sql1.
Remove-DbaNetworkCertificate -SqlInstance sql1\SQL2008R2SP2
Shows what would happen if the command were run.
Remove-DbaNetworkCertificate -SqlInstance localhost\SQL2008R2SP2 -WhatIf
This command was created by Chrissy LeMaire. You can find Chrissy on Twitter.