Removes all entries from PowerShell trusted hosts list.
Clear-TrustedHost [-WhatIf] [-Confirm] [<CommonParameters>]
The Add-TrustedHost
function adds new entries to the trusted hosts list. Set-TrustedHost
sets it to a new list. This function clears out the trusted hosts list completely. After you run it, you won't be able to connect to any computers until you add them to the trusted hosts list.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
WhatIf | SwitchParameter | false | false | ||
Confirm | SwitchParameter | false | false | ||
CommonParameters | This cmdlet supports common parameters. For more information type Get-Help about_CommonParameters . |
Clear-TrustedHost
Clears everything from the trusted hosts list.