Share via


RemoveByInputObject method of the PS_DnsServerTrustAnchor class

Deletes the specified trust anchor.

Syntax

uint32 RemoveByInputObject(
  [in]  string               ComputerName,
  [in]  boolean              Force,
  [in]  boolean              PassThru,
  [in]  DnsServerTrustAnchor InputObject[],
  [out] DnsServerTrustAnchor cmdletOutput[]
);

Parameters

ComputerName [in]

Optional DNS server name.

Force [in]

If specified, overrides the default confirmation before performing the operation.

PassThru [in]

If specified, returns the object or objects on which the operation was done.

InputObject [in]

Specifies Trust Anchor object (retrieved from Get-DnsServerTrustAnchor) that needs to be removed

cmdletOutput [out]

On return, contains an embedded instance of DnsServerTrustAnchor. 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
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerTrustAnchor