dbatools is a free PowerShell module with over 300 SQL Server administration, best practice and migration commands included.

Please note that documentation and command names may be out of date while we work furiously towards 1.0


Remove-DbaNetworkCertificate

Removes the network certificate for SQL Server instance. This setting is found in Configuration Manager.

Screenshots

dbatools-Remove-DbaNetworkCertificate

Examples

Removes the Network Certificate for the default instance (MSSQLSERVER) on localhost.

Remove-DbaNetworkCertificate

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

Author

This command was created by Chrissy LeMaire. You can find Chrissy on Twitter.

Get-Help

From PowerShell, execute Get-Help Remove-DbaNetworkCertificate -Detailed for more information on this function.

Source Code

Want to see the source code? View Remove-DbaNetworkCertificate.ps1 on GitHub
 

Related commands