Possible to export attachments via SMlets?

Jun 4, 2012 at 9:11 AM

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 | fl to find the "content" but it seems to be more complex than this... :)

 

Any help is very appreciated.

Thanks

Alex

Jun 5, 2012 at 12:08 PM

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 reference and modified it a bit to build the script.

Cheers

Alex