< Back
Get-ALLdapObject
Post
NAME Get-ALLdapObject
SYNOPSIS
Locates LDAP user or group object
SYNTAX
Get-ALLdapObject [-websession] <Object> [-object] <String> [<CommonParameters>]
DESCRIPTION
Locates LDAP user or group object
PARAMETERS
-websession <Object>
Existing Webrequest session for ELM Appliance
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-object <String>
Group or user to be located
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
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-alldapobject -websession $websession -object "myusername"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$users = @('MyGroup1','MyGroup2','Domain Users')
$finduser = $users|get-alldapobject -websession $websession
RELATED LINKS
SYNOPSIS
Locates LDAP user or group object
SYNTAX
Get-ALLdapObject [-websession] <Object> [-object] <String> [<CommonParameters>]
DESCRIPTION
Locates LDAP user or group object
PARAMETERS
-websession <Object>
Existing Webrequest session for ELM Appliance
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-object <String>
Group or user to be located
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
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-alldapobject -websession $websession -object "myusername"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$users = @('MyGroup1','MyGroup2','Domain Users')
$finduser = $users|get-alldapobject -websession $websession
RELATED LINKS