Reset-SCSMAllowList
将 Operations Manager CI 连接器在 Service Manager 中使用的类的允许列表重置为默认允许列表。
语法
Reset-SCSMAllowList
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
Reset-SCSMAllowList cmdlet 将 Operations Manager CI 连接器在Service Manager使用的类的允许列表重置为默认允许列表。
默认值允许列表包含以下类:
- 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 管理包
示例
示例 1:重置允许列表
PS C:\>Reset-SCSMAllowList
此命令将本地服务器上的允许列表重置为默认允许列表。
参数
-ComputerName
指定运行 System Center Data Access 服务的计算机的名称。 Credential 参数中指定的用户帐户必须具有对指定计算机的访问权限。
Type: | System.String[] |
Position: | Named |
Default value: | Localhost |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
提示你在运行 cmdlet 之前进行确认。
Type: | System.Management.Automation.SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
指定此 cmdlet 用于连接到运行 System Center Data Access 服务的服务器的凭据。 指定用户帐户必须具有对该服务器的访问权限。
Type: | System.Management.Automation.PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SCSession
指定表示与 Service Manager 管理服务器的会话的对象。
Type: | Microsoft.SystemCenter.Core.Connection.Connection[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
显示在此 cmdlet 运行的情况下将会发生什么。 此 cmdlet 未运行。
Type: | System.Management.Automation.SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输入
None.
不能通过管道将输入传递给此 cmdlet。
输出
None.
此 cmdlet 将不生成任何输出。