Aug 8, 2012 at 10:45 AM

m trying to add a view with the SMLETS New-SCSMView but i cannot fine any documentation or any tip on how to do this

How is this bedst done ?

Aug 8, 2012 at 2:31 PM

I played with the code and now im stuck at this error


PS C:\Users\ksadmin> New-SCSMView -Folder $folder -criteria $criteria -managementpack $mp -displayname "test"
New-SCSMView : Object reference not set to an instance of an object.
At line:1 char:13
+ New-SCSMView <<<<  -Folder $folder -criteria $criteria -managementpack $mp -displayname "test"
    + CategoryInfo          : InvalidOperation: (test:String) [New-SCSMView], NullReferenceException
    + FullyQualifiedErrorId : NewView,SMLets.NewSMViewCommand