MIM Sync Service
Documentation Home
  • Home
  • Disclaimer
  • Installation
    • Getting Started
    • Downloads
  • Usage
    • Cmdlet Reference
      • Clear-RunHistory
      • Clear-FullSyncWarning
      • Disconnect-CSObject
      • Export-MetaverseConfiguration
      • Export-ManagementAgent
      • Get-Connectors
      • Get-CSObject
      • Get-Disconnectors
      • Get-LastRunDetails
      • Get-MAStatistics
      • Get-MVSchema
      • Get-MVObject
      • Get-MVConfiguration
      • Get-ManagementAgent
      • Get-PendingImports
      • Get-PendingImportAdds
      • Get-PendingImportDeletes
      • Get-PendingImportUpdates
      • Get-PendingExports
      • Get-PendingExportAdds
      • Get-PendingExportDeletes
      • Get-PendingExportRenames
      • Get-PendingExportUpdates
      • Get-RunProfiles
      • Get-RunProfileNames
      • Join-CSObject
      • New-MVObject (Project-MVObject)
      • New-MVQuery
      • Set-DisconnectorState
      • Set-MVProvisioningRulesExtension
      • Start-ManagementAgent
      • Stop-ManagementAgent
      • Sync-CSObject
      • Wait-ManagementAgent
Powered by GitBook
On this page
  • Synopsis
  • Syntax
  • Description
  • Parameters
  • Examples
  • Get an object by its known ID
  • Get an object by its DN
  • Get all objects in the sales OU
  • Get an object by its RDN
  1. Usage
  2. Cmdlet Reference

Get-CSObject

PreviousGet-ConnectorsNextGet-Disconnectors

Last updated 2 years ago

Synopsis

Gets one or more connector space objects

Syntax

Get-CSObject [-ID] <Guid> [-MA] <string> [<CommonParameters>]

Get-CSObject [-DN] <String> [[-IncludeSubTree] <SwitchParameter>] [-MA] <Object> [<CommonParameters>]

Get-CSObject [-Rdn] <String> [-MA] <string> [<CommonParameters>]

Description

The cmdlet allows you to get one or more connector space objects using the connector space object's ID, its DN, or RDN

Parameters

-MA <string>

The management agent to get the connector space object from

Required?

true

Position?

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-ID <Guid>

The connector space object ID

Required?

true

Position?

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-DN <string>

The distinguished name of the connector space object

Required?

true

Position?

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Rdn <string>

The relative distinguished name of the connector space object

Required?

true

Position?

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-IncludeSubTree <SwitchParameter>

Specifies that all objects contained below the specified DN should be returned

Required?

false

Position?

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

<CommonParameters>

Examples

Get an object by its known ID

PS C:\> Get-CSObject -ID 82BFCE95-0DE6-4537-85B0-6DFD360313A1 -MA ADMA

Get an object by its DN

PS C:\> Get-CSObject -DN "CN=John Smith, OU=Sales, DC=contoso, DC=local" -MA ADMA

Get all objects in the sales OU

PS C:\> Get-CSObject -DN "OU=Sales, DC=contoso, DC=local" -IncludeSubTree -MA ADMA

Get an object by its RDN

PS C:\> Get-CSObject -RDN "CN=John Smith" -MA ADMA

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see .

Get-CSObject
about CommonParameters