Quantcast
Channel: SCSM PowerShell Cmdlets
Viewing all articles
Browse latest Browse all 306

New Post: New-SCQueue - Class problem

$
0
0

Hi.

I'm trying to create a new queue using the New-SCQueue in my Service Manger 2012, but I'm getting the following error:

Error 1:
Found error in 1|ManagementPack.e62ae2df46054d3b9574682ab418e216|1.0.0.0|WorkIt
emGroup.21738d9a0a724b81a6bccd9f0c22ad7d.Discovery/GroupPopulationDataSource||
with message:
The configuration specified for Module GroupPopulationDataSource is not valid.
: Cannot resolve identifier System_WorkItem_ServiceRequest_Library!System.WorkI
tem.ServiceRequest in the context of management pack ManagementPack.e62ae2df460
54d3b9574682ab418e216. Unknown alias: System_WorkItem_ServiceRequest_Library

The command that I'm executing is:

$class = get-scsmclass System.WorkItem.ServiceRequest$
$MP = get-scsmmanagementpack ManagementPack.e62ae2df46054d3b9574682ab418e216 

$QN = "ServiceRequest - Priority 1"
$QD = "..."

new-scqueue -Name $QN -Description $QD -Class $class -ManagementPack $MP -Filter $filter -Verbose -WhatIf

I got the configuration from a queue that I had created in the console and the class is: CustomSystem_WorkItem_ServiceRequest_Library
Using the command Get-SCSMManagementPackReference -ManagementPack $MP i got the following result:
Alias                                           Name                                                           
-----                                           ----                                                           
RunbookActivity                                 ServiceManager.RunbookActivity.Library                         
EnterpriseManagement                            Microsoft.EnterpriseManagement.ServiceManager.UI.Console       
CustomSystem_Notifications_Library              System.Notifications.Library                                   
CustomSystem_WorkItem_Library                   System.WorkItem.Library                                        
CustomServiceManager_SLAManagement_Library      ServiceManager.SLAManagement.Library                           
ServiceCatalog1                                 ServiceManager.ServiceCatalog.Library                          
System_Calendar_Library                         System.Calendar.Library                                        
EnterpriseManagement1                           Microsoft.EnterpriseManagement.ServiceManager.UI.Authoring     
Microsoft_SystemCenter_ServiceDesigner_Library  Microsoft.SystemCenter.ServiceDesigner.Library                 
CustomServiceManager_IncidentManagement_Library ServiceManager.IncidentManagement.Library                      
CustomMicrosoft_Windows_Library                 Microsoft.Windows.Library                                      
ServiceCatalog                                  System.ServiceCatalog.Library                                  
CustomServiceManager_ServiceRequest_Library     ServiceManager.ServiceRequest.Library                          
CustomSystem_SupportingItem_Library             System.SupportingItem.Library                                  
ConfigurationManagement                         ServiceManager.ConfigurationManagement.Library                 
System_SLA_Library                              System.SLA.Library                                             
InstanceGroup                                   Microsoft.SystemCenter.InstanceGroup.Library                   
CustomSystem_WorkItem_ServiceRequest_Library    System.WorkItem.ServiceRequest.Library                         
CustomSystem_WorkItem_Activity_Library          System.WorkItem.Activity.Library                               
System_Library                                  System.Library                                                 
CustomMicrosoft_SystemCenter_Orchestrator       Microsoft.SystemCenter.Orchestrator                            
SystemCenter                                    Microsoft.SystemCenter.Library                                 
CustomSystem_WorkItem_Incident_Library          System.WorkItem.Incident.Library                               
SystemCenter1                                   Microsoft.SystemCenter.Subscriptions                           
EnterpriseManagement2                           Microsoft.EnterpriseManagement.ServiceManager.UI.Administration

Any help would be appreciated.
 
Thanks in advance.

Viewing all articles
Browse latest Browse all 306

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>