Get-SCSMAllowList

Retrieves the allow list of classes that is used during synchronization.

Syntax

Get-SCSMAllowList
   [-SCSession <Connection[]>]
   [-ComputerName <String[]>]
   [-Credential <PSCredential>]
   [<CommonParameters>]

Description

The Get-SCSMAllowList cmdlet retrieves the allow list of classes that the Service Manager Operations Manager CI Connector uses during synchronization. The connector imports only the instances of the class types that this allow list includes.

Examples

Example 1: Get the allow list for the local computer

PS C:\>Get-SCSMAllowList
Name                                                                MP
----                                                                --
System.Service                                                      System.Library
System.Database                                                     System.Library
Microsoft.Windows.ApplicationComponent                              Microsoft.Windows.Library
Microsoft.Windows.ComputerRole                                      Microsoft.Windows.Library
System.Computer                                                     System.Library
System.OperatingSystem                                              System.Library
Microsoft.Windows.LogicalDevice                                     Microsoft.Windows.Library
System.SoftwareInstallation                                         System.Library
System.WebSite                                                      System.Library

This command retrieves the allow list on the local computer by using the credentials of the current user.

Parameters

-ComputerName

Specifies the name of the computer on which the System Center Data Access service runs. The user account that is specified in the Credential parameter must have access rights to the specified computer.

Type:String[]
Position:Named
Default value:Localhost
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Credential

Specifies the credentials that this cmdlet uses to connect to the server on which the System Center Data Access service runs. The specified user account must have access rights to that server.

Type:PSCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SCSession

Specifies an object that represents the session to a Service Manager management server.

Type:Connection[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None.

You cannot pipe input to this cmdlet.

Outputs

System.Xml.XmlElement

This cmdlet returns a list of pairs that each contain the class name and management pack for each class type in the allow list.