Tests whether SystoLOCK service DNS resource records exist.
Test-SystoLockResourceRecord [[-Domain] <String>] [[-HostName] <String>] [[-Protocol] <String>]
[[-Site] <String>] [-Priority <UInt16>] [-Weight <UInt16>] [<CommonParameters>]
Test-SystoLockResourceRecord [-ThisHost] [<CommonParameters>]
Test-SystoLockResourceRecord [[-Domain] <String>] [[-HostName] <String>] [[-Site] <String>] [[-Port] <UInt16>]
[-Priority <UInt16>] [-Weight <UInt16>] [<CommonParameters>]
The Test-SystoLockResourceRecord
cmdlet tests whether SystoLOCK service DNS resource records exist.
PS C:\> Test-SystoLockResourceRecord
Tests all SystoLOCK service DNS resource records for the current host.
PS C:\> Test-SystoLockResourceRecord -HostName 'dc01.corp.local'
Tests all SystoLOCK service DNS resource record for the specified host.
PS C:\> Test-SystoLockResourceRecord -Protocol tcp
Tests current host SystoLOCK service DNS resource records for transport protocol TCP.
PS C:\> Test-SystoLockResourceRecord -Site 'HH-west'
Tests SystoLOCK service DNS resource records for the current host in the specified site.
PS C:\> Test-SystoLockResourceRecord -ThisHost
Tests all SystoLOCK service DNS resource records for the current host.
Specifies the DNS domain name. If not specified, it defaults to the current domain name.
Type: String
Parameter Sets: Protocol, Port
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the canonical host name of the machine where the SystoLOCK service is installed. If not specified, it defaults to the current host name.
Type: String
Parameter Sets: Protocol, Port
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the DNS resource record port number.
Type: UInt16
Parameter Sets: Port
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies DNS resource record priority.
Type: UInt16
Parameter Sets: Protocol, Port
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the transport protocol of the service.
Possible value: https, tcp.
Type: String
Parameter Sets: Protocol
Aliases:
Accepted values: https, tcp
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the Active Directory site to test DNS resource records for. If not specified, it defaults to the site name where current host resides.
Type: String
Parameter Sets: Protocol, Port
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Allows to create for this host all SystoLOCK related resource records.
Type: SwitchParameter
Parameter Sets: ThisHost
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies DNS resource record weight.
Type: UInt16
Parameter Sets: Protocol, Port
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Site, Protocol, HostName, Domain.
Returns $true
if all or specified DNS resource records exist; otherwise $false
.
Remove-SystoLockResourceRecord