Get-ADUserWorkstationLimitations
SYNOPSIS
Retrieves a list with the NetBIOS or DNS names of the computers from which the user can log on
SYNTAX
DESCRIPTION
Retrieves a list with the NetBIOS or DNS names of the computers from which the user can log on.
EXAMPLES
EXAMPLE 1
Using a distinguished name as the identity
EXAMPLE 2
Using the alias for the identity parameter 'UserName'
EXAMPLE 3
Get-ADUser -LDAPFilter "(userWorkstations=*)" | Get-ADUserWorkstationLimitations | Get-ADComputer | FT
Using objects on the pipeline, parsing any user object that has a userWorkstation restriction The function will accept any object it can convert to a string and that is accepted by the identity parameter of Get-ADUser
PARAMETERS
-Identity
Active Directory user identity
Type: String[]
Parameter Sets: (All)
Aliases: UserName
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
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.