< Back
Add-InternalDnsCacheRecord
Post
NAME Add-InternalDnsCacheRecord
SYNOPSIS
Add a new CacheRecord to the DNS cache object.
SYNTAX
Add-InternalDnsCacheRecord -CacheRecord <DnsCacheRecord> [-ResourceType {Hint | Address}] [-Permanent]
[<CommonParameters>]
Add-InternalDnsCacheRecord -ResourceRecord <DnsResourceRecord> [-ResourceType {Hint | Address}] [-Permanent]
[<CommonParameters>]
DESCRIPTION
The DNS cache is used to reduce the effort required to resolve DNS server names used with the ComputerName
parameter.
PARAMETERS
-CacheRecord <DnsCacheRecord>
A record to add to the cache.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ResourceRecord <DnsResourceRecord>
A resource record to add to the cache.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ResourceType
The cache object type.
Required? false
Position? named
Default value Address
Accept pipeline input? false
Accept wildcard characters? false
-Permanent [<SwitchParameter>]
A time property is used to age entries out of the cache. If permanent is set the time is not, the value will
not be purged based on the TTL.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
DnsCacheRecord
DnsResourceRecord
OUTPUTS
DnsCacheRecord
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$CacheRecord | Add-InternalDnsCacheRecord
RELATED LINKS
SYNOPSIS
Add a new CacheRecord to the DNS cache object.
SYNTAX
Add-InternalDnsCacheRecord -CacheRecord <DnsCacheRecord> [-ResourceType {Hint | Address}] [-Permanent]
[<CommonParameters>]
Add-InternalDnsCacheRecord -ResourceRecord <DnsResourceRecord> [-ResourceType {Hint | Address}] [-Permanent]
[<CommonParameters>]
DESCRIPTION
The DNS cache is used to reduce the effort required to resolve DNS server names used with the ComputerName
parameter.
PARAMETERS
-CacheRecord <DnsCacheRecord>
A record to add to the cache.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ResourceRecord <DnsResourceRecord>
A resource record to add to the cache.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ResourceType
The cache object type.
Required? false
Position? named
Default value Address
Accept pipeline input? false
Accept wildcard characters? false
-Permanent [<SwitchParameter>]
A time property is used to age entries out of the cache. If permanent is set the time is not, the value will
not be purged based on the TTL.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
DnsCacheRecord
DnsResourceRecord
OUTPUTS
DnsCacheRecord
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$CacheRecord | Add-InternalDnsCacheRecord
RELATED LINKS