For those steps, I always put a marker at the end of the step name (i.e., 
"[**PWD**]") to help me remember which need special attention.


From: [email protected] [mailto:[email protected]] On 
Behalf Of Marable, Mike
Sent: Thursday, June 13, 2013 12:43 PM
To: [email protected]; [email protected]
Subject: RE: [mssms] RE: [MDT-OSD] Script to edit task sequences?

"...with "secrets" (passwords, product keys, etc.) being more difficult to 
export and import."

Speaking of which.....

.... Is there a way to export and import a task sequence including passwords 
for steps that are run as a specific user?

I have about a half dozen steps in my task sequence that run as a specified 
user.  When I export / modify / import the XML I always forget at least one 
when I have to go back and manually re-enter the passwords.

Thanks
Mike



From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Michael Niehaus
Sent: Thursday, June 13, 2013 1:31 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: RE: [mssms] RE: [MDT-OSD] Script to edit task sequences?

It's a rather nasty process involving SMS_TaskSequencePackage and 
SMS_TaskSequence objects, with embedded objects for all the steps and groups.  
Personally, I would avoid trying to do the manipulation this way.  Yes, it's 
possible, no, it's not fun.

As an alternative, you can more easily export the existing task sequence as an 
XML blob, modify the XML, then import it back in again.  Even that is a little 
tricky, with "secrets" (passwords, product keys, etc.) being more difficult to 
export and import.

Thanks,
-Michael

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Daniel Ratliff
Sent: Thursday, June 13, 2013 10:24 AM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: RE: [mssms] RE: [MDT-OSD] Script to edit task sequences?

Hmm, I looked through the WMI classes and such a couple months back and 
couldn't find anything. I'll take another look too!

Daniel Ratliff

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Trevor Sullivan
Sent: Thursday, June 13, 2013 12:46 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: [mssms] RE: [MDT-OSD] Script to edit task sequences?

Daniel,

As far as I know, that is not necessary. All the appropriate WMI classes are 
defined, for each type of task sequence step, which allow you to manage the 
task sequence without exporting it first. I will have to do some research and 
write up an example.

Cheers,
Trevor Sullivan
[WordPress Logo 32px]<http://trevorsullivan.net/>   [Twitter Logo 32px] 
<http://twitter.com/pcgeek86>    [Facebook Logo 32px] 
<http://facebook.com/trevor.sullivan>     [Google+ Icon 32px] 
<https://plus.google.com/106658223083457664096>

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Daniel Ratliff
Sent: Thursday, June 13, 2013 9:15 AM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: [MDT-OSD] Script to edit task sequences?

Anyone ever found/created a script that will edit a task sequence? The only way 
I can see if exporting the TS, editing, and re-importing it. It doesn't look 
like there is a way to do this automatically via PowerShell/WMI.

Any other ideas?

Daniel Ratliff


The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.


The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be 
used for urgent or sensitive issues

[CONFIDENTIALITY AND PRIVACY NOTICE]

Information transmitted by this email is proprietary to Medtronic and is 
intended for use only by the individual or entity to which it is addressed, and 
may contain information that is private, privileged, confidential or exempt 
from disclosure under applicable law. If you are not the intended recipient or 
it appears that this mail has been forwarded to you without proper authority, 
you are notified that any use or dissemination of this information in any 
manner is strictly prohibited. In such cases, please delete this mail from your 
records.
 
To view this notice in other languages you can either select the following link 
or manually copy and paste the link into the address bar of a web browser: 
http://emaildisclaimer.medtronic.com



<<inline: image001.gif>>

<<inline: image002.gif>>

<<inline: image003.gif>>

<<inline: image004.gif>>

Reply via email to