Share via


Get-SCSMAllowList

Retrieves the allow list of classes that is used by the Service Manager Operations Manager CI Connector during synchronization.

Syntax

Default (Default)

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.

Parameter properties

Type:

System.String[]

Default value:Localhost
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:System.Management.Automation.PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SCSession

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

Parameter properties

Type:

Microsoft.SystemCenter.Core.Connection.Connection[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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

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.