New Post: Using SMLETS to assign an incident to a user
I have been trying to do this for quite some time. I have already created an incident and filled in all of the fields with the appropriate information. All I need to do now is have that incident...
View ArticleNew Post: Add private comment to an incident
Hello, is there a way to add a private analyst comment to an incident by using SMlets? I tried the following command but the attribute "private" has null value after the execution: Set-SCSMIncident...
View ArticleNew Post: Possible to export attachments via SMlets?
Hi all, I'm looking for a way to export attachments from existing incidents in SCSM 2012. Is there an option doing this with SMlets? Have tried to go through (get-scsmincident -id IRXX).fileattachment...
View ArticleNew Post: Possible to export attachments via SMlets?
UPDATE: I was able to get this done meanwhile. Have used the code in this thread http://social.technet.microsoft.com/Forums/en-US/customization/thread/ec095751-5df1-4b2a-8438-b0fdfcc7e0d5 as a...
View ArticleNew Post: Update Owner for Windows Computer
we have an owner field that pulls from AD, is there a way to update the owner of a Windows Computer with set-scsmobject? Thanks
View ArticleCommented Issue: Issues invoking SMlets from a remote machine [10188]
I have SCSM installed in a lab, on a member server. I'm on a laptop that sits outside the domain. I have SMlets installed there too, as well as the authoring toolkit and the SCSM console.When I try to...
View ArticleNew Post: Retrieve End-User and Analyst comments for an incident
Hi all, is there a way to query the End-User and Analyst comments created in a particular incident by using the PowerShell SMlets? I've noticed there's a way to create new Analyst comments by using...
View ArticleNew Post: get-scsmobject
I am creating a test/dev environment for SCSM 2012 and only wanted to bring in a subset of users through the AD Connector. Unfortunately I pulled in 230,000 users and it has overwhelmed my test box....
View ArticleNew Post: Retrieve End-User and Analyst comments for an incident
Have sorted this now. If anyone is interested below is the code I wrote to get the comments and extract them with some additional data into a CSV like file. You need to change the classes and filter...
View ArticleNew Post: get-scsmobject
Hi mate, try this one: $UserClass = get-scsmclass -Name Microsoft.AD.User$ get-scsmobject -class $UserClass -Filter "Firstname -eq 'Phil'" | remove-scsmobject -whatif Regards Alex
View ArticleNew Post: Add-SCSMEnumeration
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...
View ArticleNew Post: Add-SCSMEnumeration
got it to work. I wasn't able to get the command working with the -ManagementPackName parameter and used the -ManagementPack parameter instead. My command is posted below. Add-SCSMEnumeration -Parent...
View ArticleNew Post: New-SCQueue - Class problem
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...
View ArticleNew Post: New-SCQueue - Class problem
We are trying to add a queue aswell If i create a new MP and the run the command new-scqueue i works, But if the MP is already in the system we get the same error Error 1:Found error in...
View ArticleNew Post: New-SCQueue - Class problem
One note more. This Error only happens on MP´s created in the console. If i add another queue to a MP created with Powershell I dont get the error
View ArticleNew Post: New-SCSMUserRole
New-SCSMUserRole works but name and discription is emty in the console. get-SCSMUserRole returns the rigth data .
View ArticleNew Post: Can get-scsmobject get a specific property from an extended class?
I am trying to pull a couple of properties from an extended service request fields. I have been attempting this with the get-scsmobject -class smlet but I can't seem to figure out how to get just the...
View ArticleNew Post: Suggestion for how to get Change Request Areas?
I'm not normally the SCSM 2010 admin for our company, but I'm helping our main SCSM admin out with a project to migrate a bunch of active Change Requests over to new "Areas". I was able to look at...
View ArticleNew Post: Suggestion for how to get Change Request Areas?
Nevermind, I just wasn't digging far enough, just had to get the child enumerations: Get-SCSMEnumeration -Name ChangeAreaEnum | Get-SCSMChildEnumeration Cheers!
View ArticleNew Post: Can get-scsmobject get a specific property from an extended class?
I was able to get the Information that I was looking for by using this script from Andreas Baumgarten on the SCSM Technet Forums: import-module smlets # Get the extended class $GetClass = Get-SCSMclass...
View Article