Delen via


Reset-SCSMAllowList

Resets the allow list of classes that is used by the Operations Manager CI Connector in Service Manager to the default allow list.

Syntax

Reset-SCSMAllowList
     [-SCSession <Connection[]>]
     [-ComputerName <String[]>]
     [-Credential <PSCredential>]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Description

The Reset-SCSMAllowList cmdlet resets the allow list of classes that the Operations Manager CI Connector in Service Manager uses to the default allow list.

The default allow list contains the following classes:

  • System.Service. System.Library management pack
  • System.Database. System.Library management pack
  • Microsoft.Windows.ApplicationComponent. Microsoft.Windows.Library management pack
  • Microsoft.Windows.ComputerRole. Microsoft.Windows.Library management pack
  • System.Computer. System.Library management pack
  • System.OperatingSystem. System.Library management pack
  • Microsoft.Windows.LogicalDevice. Microsoft.Windows.Library management pack
  • System.SoftwareInstallation. System.Library management pack
  • System.WebSite. System.Library management pack

Examples

Example 1: Reset the allow list

PS C:\>Reset-SCSMAllowList

This command resets the allow list on the local server to the default allow list.

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:System.String[]
Position:Named
Default value:Localhost
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:System.Management.Automation.SwitchParameter
Aliases:cf
Position:Named
Default value:False
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:System.Management.Automation.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:Microsoft.SystemCenter.Core.Connection.Connection[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:System.Management.Automation.SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None.

You cannot pipe input to this cmdlet.

Outputs

None.

This cmdlet does not generate any output.