RemoveByInputObject method of the PS_DnsServerRootHint class
Removes root hints form the list on the server.
Syntax
uint32 RemoveByInputObject(
[in] string ComputerName,
[in] boolean PassThru,
[in] boolean Force,
[in] DnsServerRootHint InputObject,
[out] DnsServerRootHint cmdletOutput
);
Parameters
-
ComputerName [in]
-
Specifies a remote DNS server. The acceptable values for this parameter are: an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.
-
PassThru [in]
-
Returns an object representing the item with which you are working. By default, this method does not generate any output.
-
Force [in]
-
Removes the root hints without prompting you for confirmation. By default, the method prompts you for confirmation before it proceeds
-
InputObject [in]
-
Specifies the input to this method. You can use this parameter, or you can pipe the input to this method. This parameter takes an object of type Microsoft.Management.Infrastructure.CimInstance.DnsServerRootHint as input.
-
cmdletOutput [out]
-
On return, contains an embedded instance of DnsServerRootHint. This parameter returns a value only if PassThru is set to true.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|