The final option in administering the trusted host list is to clear the entire list. The following function will clear the trusted host list
function clear-trustedhost {
[CmdletBinding()]
param (
[string]$computername = $env:COMPUTERNAME
)
if… Read the full text.