Clear-NWTConfiguration
The Clear-NWTConfiguration cmdlet is used to clear configuration information for all group management IP addresses configured on the host, a specific group management IP, or a combination of a group management IP and the current Windows user.
Syntax
Clear-NWTConfiguration [-GroupMgmtIP <IPAddress>] [-Force
<SwitchParameter>] [-CurrentWindowsUser <SwitchParameter>]
[<CommonParameters>]
With no options, the cmdlet clears all configured group management IP addresses and credentials from the configuration settings, and prompts the user for confirmation.
Example
PS C:\Users\Administrator> Clear-NWTConfiguration
The -Force
option clears all configured group management IP addresses
and credentials without prompting for confirmation.
Example
PS C:\Users\Administrator> Clear-NWTConfiguration -Force
The -GroupMgmtIP
option clears configuration settings for a specific
group management IP and prompts the user for confirmation.
Example
PS C:\Users\Administrator> Clear-NWTConfiguration -GroupMgmtIP 10.1.1.1
The -Force
option with the -GroupMgmtIP
option clears
configuration settings for a specific group management IP without prompting for
confirmation.
Example
PS C:\Users\Administrator> Clear-NWTConfiguration -GroupMgmtIP 10.1.1.1 -Force
The -Force
option used with the -GroupMgmtIP
, and
-CurrentWindowsUser
options clears configuration settings for a
specific group management IP and the current Windows user, without prompting for
confirmation.
Example
PS C:\Users\Administrator> Clear-NWTConfiguration -GroupMgmtIP 10.1.1.1 -Force -CurrentWindowsUser