external help file | Module Name | online version | schema |
---|---|---|---|
DSInternals.PowerShell.dll-Help.xml |
DSInternals |
2.0.0 |
Reads one or more accounts through the MS-DRSR protocol, including secret attributes.
Get-ADReplAccount [-All] -NamingContext <String> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
Get-ADReplAccount [-SamAccountName] <String> [-Domain] <String> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
Get-ADReplAccount -UserPrincipalName <String> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
Get-ADReplAccount -ObjectSid <SecurityIdentifier> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
Get-ADReplAccount [-DistinguishedName] <String> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
Get-ADReplAccount -ObjectGuid <Guid> -Server <String> [-Credential <PSCredential>] [-Protocol <RpcProtocol>]
[<CommonParameters>]
{{Fill in the Description}}
PS C:\> {{ Add example code here }}
{{ Add example description here }}
Indidates that all accounts will be replicated from the target domain controller.
Type: SwitchParameter
Parameter Sets: All
Aliases: AllAccounts, ReturnAllAccounts
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a user account that has permission to perform this action. The default is the current user.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the identifier of the account that will be replicated.
Type: String
Parameter Sets: ByDN
Aliases: dn
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the NetBIOS domain name of the account that will be replicated.
Type: String
Parameter Sets: ByName
Aliases: AccountDomain, UserDomain
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the naming context root of the replica to replicate.
Type: String
Parameter Sets: All
Aliases: NC, DomainNC, DomainNamingContext
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the identifier of the account that will be replicated.
Type: Guid
Parameter Sets: ByGuid
Aliases: Guid
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the identifier of the account that will be replicated.
Type: SecurityIdentifier
Parameter Sets: BySID
Aliases: Sid
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the protocol sequence that is used for RPC communication.
Type: RpcProtocol
Parameter Sets: (All)
Aliases: Proto, RPCProtocol, NCACN
Accepted values: TCP, SMB, HTTP
Required: False
Position: Named
Default value: TCP
Accept pipeline input: False
Accept wildcard characters: False
Specifies the identifier of the account that will be replicated.
Type: String
Parameter Sets: ByName
Aliases: Login, sam, AccountName, User
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the target computer for the operation. Enter a fully qualified domain name (FQDN), a NetBIOS name, or an IP address. When the remote computer is in a different domain than the local computer, the fully qualified domain name is required.
Type: String
Parameter Sets: (All)
Aliases: Host, DomainController, DC
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the identifier of the account that will be replicated.
Type: String
Parameter Sets: ByUPN
Aliases: UPN
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
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.
Get-ADDBAccount Get-ADSIAccount Test-PasswordQuality Save-DPAPIBlob