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

New Post: Add-SCSMEnumeration

$
0
0

I am attempting to use the Add-SCSMEnumeration command to add a value to an existing list. In crawling the web to find the best way to do this I have come up with the following. I am still unable to get this to work... Any guidance would be GREATLY appreciated in getting this to work. My command and error are shown below.

-----------------------------------------------------------------------------------------------------------------------------------------

PS C:\Users\admin_ryan> Add-SCSMEnumeration -Parent (Get-SCSMEnumeration -Id "66b02881-ba7a-00ee-8859-b3a6fc8d4a24") -Ma
nagementPackName WNB_CustomMP_IncidentExtensionLists -DisplayName "TestRegion1Add" -Name TestRegion1Add.Enum -Ordinal 80
0
Add-SCSMEnumeration : Value cannot be null.
Parameter name: input
At line:1 char:20
+ Add-SCSMEnumeration <<<< -Parent (Get-SCSMEnumeration -Id "66b02881-ba7a-00ee-8859-b3a6fc8d4a24") -ManagementPackNam
e WNB_CustomMP_IncidentExtensionLists -DisplayName "TestRegion1Add" -Name TestRegion1Add.Enum -Ordinal 800
+ CategoryInfo : NotSpecified: (:) [Add-SCSMEnumeration], ArgumentNullException
+ FullyQualifiedErrorId : System.ArgumentNullException,SMLets.AddSCSMEnumerationCommand

-----------------------------------------------------------------------------------------------------------------------------------------

Thanks,

Ryan


Viewing all articles
Browse latest Browse all 306

Trending Articles



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