4.2 KiB
4.2 KiB
external help file | Module Name | online version | schema |
---|---|---|---|
DSInternals.PowerShell.dll-Help.xml | DSInternals | https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/Get-ADReplAccount.md | 2.0.0 |
Get-ADReplAccount
SYNOPSIS
Reads one or more accounts through the DRSR protocol, including secret attributes.
SYNTAX
ByName
Get-ADReplAccount [-SamAccountName] <String> [-Domain] <String> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
BySID
Get-ADReplAccount -ObjectSid <SecurityIdentifier> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
All
Get-ADReplAccount [-All] -NamingContext <String> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
ByDN
Get-ADReplAccount -DistinguishedName <String> -Server <String> [-Credential <PSCredential>]
[-Protocol <RpcProtocol>] [<CommonParameters>]
ByGuid
Get-ADReplAccount -ObjectGuid <Guid> -Server <String> [-Credential <PSCredential>] [-Protocol <RpcProtocol>]
[<CommonParameters>]
DESCRIPTION
{{Fill in the Description}}
EXAMPLES
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS
-All
TODO
Type: SwitchParameter
Parameter Sets: All
Aliases: AllAccounts, ReturnAllAccounts
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Credential
TODO
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DistinguishedName
TODO
Type: String
Parameter Sets: ByDN
Aliases: dn
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Domain
TODO
Type: String
Parameter Sets: ByName
Aliases: AccountDomain, UserDomain
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-NamingContext
TODO
Type: String
Parameter Sets: All
Aliases: NC, DomainNC, DomainNamingContext
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ObjectGuid
TODO
Type: Guid
Parameter Sets: ByGuid
Aliases: Guid
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-ObjectSid
TODO
Type: SecurityIdentifier
Parameter Sets: BySID
Aliases: Sid
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Protocol
TODO
Type: RpcProtocol
Parameter Sets: (All)
Aliases: Proto, RPCProtocol, NCACN
Accepted values: TCP, SMB, HTTP
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SamAccountName
TODO
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
-Server
TODO
Type: String
Parameter Sets: (All)
Aliases: Host, DomainController, DC
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
System.Security.Principal.SecurityIdentifier
System.Guid
OUTPUTS
DSInternals.Common.Data.DSAccount
NOTES
RELATED LINKS
Get-ADDBAccount Get-ADSIAccount Test-PasswordQuality Save-DPAPIBlob