Skip to content

Latest commit

 

History

History
117 lines (89 loc) · 2.34 KB

Get-OMEDirectoryServiceSearch.md

File metadata and controls

117 lines (89 loc) · 2.34 KB
external help file Module Name online version schema
DellOpenManage-help.xml
DellOpenManage
2.0.0

Get-OMEDirectoryServiceSearch

SYNOPSIS

Search a directory service for groups

SYNTAX

Get-OMEDirectoryServiceSearch [-Name] <Object> [-DirectoryService] <AccountProvider>
 [[-DirectoryType] <String>] [-UserName] <String> [-Password] <SecureString> [<CommonParameters>]

DESCRIPTION

This script uses the OME REST API. Note that the credentials entered are not stored to disk.

EXAMPLES

EXAMPLE 1

Get-OMEDirectoryServiceSearch -Name "Admin" -DirectoryService $(Get-OMEDirectoryService -DirectoryType "AD" -Name "LAB.LOCAL") -DirectoryType "AD" -UserName "[email protected]" -Password $(ConvertTo-SecureString 'calvin' -AsPlainText -Force) -Verbose | Format-Table

PARAMETERS

-Name

String containing group name to search

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DirectoryService

Object of type AccountProvider returned from Get-OMEDirectoryService commandlet

Type: AccountProvider
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DirectoryType

Directory type (Default="AD", "LDAP")

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: AD
Accept pipeline input: False
Accept wildcard characters: False

-UserName

Username to login to the Directory Service

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Password

Password to login to the Directory Service

Type: SecureString
Parameter Sets: (All)
Aliases:

Required: True
Position: 5
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.

INPUTS

OUTPUTS

NOTES

RELATED LINKS