< Back
Get-ADUsersForBB
Post
NAME Get-ADUsersForBB
SYNOPSIS
Get user information from ActiveDirectory with the information needed in GoBright BrightBooking
SYNTAX
Get-ADUsersForBB [-Filter] <String> [[-SearchBase] <String>] [[-Server] <String>] [[-ADUserPincodePropertyName]
<String>] [[-ADUserNamePropertyName] <String>] [[-ADUserMobilePropertyName] <String>] [[-ADUserNFCIdPropertyName]
<String>] [<CommonParameters>]
DESCRIPTION
Get user information via the Get-ADUser command, retreiving the information needed for GoBright BrightBooking.
(Requiring RSAT tools: Remote Server Administration Tools)
PARAMETERS
-Filter <String>
A filter used to pass to Get-ADUser, if you don't need a filter, then use: '*'
Example: 'samAccountName -like "admin*"'
More information: https://technet.microsoft.com/en-us/lib ... s.10).aspx
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SearchBase <String>
A SearchBase used to pass to Get-ADUser, specifies an Active Directory path to search under.
Example: "OU=Office,DC=Company,DC=com"
More information: https://technet.microsoft.com/library/hh852208.aspx
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Server <String>
Specifies the AD DS instance to connect to, by providing one of the following values for a corresponding
domain name or directory server.
More information: https://technet.microsoft.com/library/hh852208.aspx
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ADUserPincodePropertyName <String>
Optional ActiveDirectory User Property which contains the pincode
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ADUserNamePropertyName <String>
Optional ActiveDirectory User Property which contains the name of the user, in case you do not want to use the
default property
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ADUserMobilePropertyName <String>
Required? false
Position? 6
Default value Mobile
Accept pipeline input? false
Accept wildcard characters? false
-ADUserNFCIdPropertyName <String>
Required? false
Position? 7
Default value
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ADUsersForBB -Filter *
# Get all users in the Active Directory
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-ADUsersForBB -Filter { memberOf -RecursiveMatch "CN=Administrators,DC=Company,DC=com" } -SearchBase
"OU=Office,DC=Company,DC=com"
# Get the users in the Active Directory, which are member of the given group
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-ADUsersForBB -Filter * -SearchBase "OU=Office,DC=Company,DC=com" -ADUserPincodePropertyName
PersonnelNumber -ADUserNamePropertyName FullUserName
# Get the users in the Active Directory, which in the specified SearchBase path, and use the custom property
'PersonnelNumber' as pincode, and the custom property 'FullUserName' as username
RELATED LINKS
https://support.gobright.com/
https://technet.microsoft.com/library/hh852208.aspx
Export-ADUsersForBB
Convert-ADUsersToBBUserExport
SYNOPSIS
Get user information from ActiveDirectory with the information needed in GoBright BrightBooking
SYNTAX
Get-ADUsersForBB [-Filter] <String> [[-SearchBase] <String>] [[-Server] <String>] [[-ADUserPincodePropertyName]
<String>] [[-ADUserNamePropertyName] <String>] [[-ADUserMobilePropertyName] <String>] [[-ADUserNFCIdPropertyName]
<String>] [<CommonParameters>]
DESCRIPTION
Get user information via the Get-ADUser command, retreiving the information needed for GoBright BrightBooking.
(Requiring RSAT tools: Remote Server Administration Tools)
PARAMETERS
-Filter <String>
A filter used to pass to Get-ADUser, if you don't need a filter, then use: '*'
Example: 'samAccountName -like "admin*"'
More information: https://technet.microsoft.com/en-us/lib ... s.10).aspx
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SearchBase <String>
A SearchBase used to pass to Get-ADUser, specifies an Active Directory path to search under.
Example: "OU=Office,DC=Company,DC=com"
More information: https://technet.microsoft.com/library/hh852208.aspx
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Server <String>
Specifies the AD DS instance to connect to, by providing one of the following values for a corresponding
domain name or directory server.
More information: https://technet.microsoft.com/library/hh852208.aspx
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ADUserPincodePropertyName <String>
Optional ActiveDirectory User Property which contains the pincode
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ADUserNamePropertyName <String>
Optional ActiveDirectory User Property which contains the name of the user, in case you do not want to use the
default property
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ADUserMobilePropertyName <String>
Required? false
Position? 6
Default value Mobile
Accept pipeline input? false
Accept wildcard characters? false
-ADUserNFCIdPropertyName <String>
Required? false
Position? 7
Default value
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ADUsersForBB -Filter *
# Get all users in the Active Directory
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-ADUsersForBB -Filter { memberOf -RecursiveMatch "CN=Administrators,DC=Company,DC=com" } -SearchBase
"OU=Office,DC=Company,DC=com"
# Get the users in the Active Directory, which are member of the given group
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-ADUsersForBB -Filter * -SearchBase "OU=Office,DC=Company,DC=com" -ADUserPincodePropertyName
PersonnelNumber -ADUserNamePropertyName FullUserName
# Get the users in the Active Directory, which in the specified SearchBase path, and use the custom property
'PersonnelNumber' as pincode, and the custom property 'FullUserName' as username
RELATED LINKS
https://support.gobright.com/
https://technet.microsoft.com/library/hh852208.aspx
Export-ADUsersForBB
Convert-ADUsersToBBUserExport