It could, all it is doing is passing the username to the task sequence. How you 
use it in the task sequence is up to you. 

I am using it for UDA via two Run Command Line steps. (I need to merge them to 
eliminate a step)

powershell.exe -executionpolicy bypass -command "& {$sourceuser = get-content 
x:\sms\pkg\sms10000\sourceuser.txt; $tsenv = New-Object -COMObject 
Microsoft.SMS.TSEnvironment; $tsenv.Value('SourceUser') = $sourceuser; 
$tsenv.Value('SourceUser')}"

powershell.exe -executionpolicy bypass -command "& {$tsenv = New-Object 
-COMObject Microsoft.SMS.TSEnvironment; $tsenv.Value('SMSTSUDAUsers') = 
"%SOURCEUSER%"; $tsenv.Value('SMSTSUDAUsers')}"

Daniel Ratliff

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Marcum, John
Sent: Monday, March 17, 2014 9:21 AM
To: '[email protected]'
Subject: [mssms] RE: PowerShell OSD Frontend 2.0

Does the migration tab set a computer association to restore user state? I am 
looking for a front end that has an app chooser and computer association 
setting.





-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Daniel Ratliff
Sent: Saturday, March 15, 2014 7:25 PM
To: '[email protected]'; '[email protected]'
Subject: [mssms] PowerShell OSD Frontend 2.0

2.0 is out guys, take a look!

http://www.potentengineer.com/powershell-osd-frontend-2-0/

-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.


________________________________

Confidentiality Notice: This e-mail is from a law firm and may be protected by 
the attorney-client or work product privileges. If you have received this 
message in error, please notify the sender by replying to this e-mail and then 
delete it from your computer.

________________________________

Confidentiality Notice: This e-mail is from a law firm and may be protected by 
the attorney-client or work product privileges. If you have received this 
message in error, please notify the sender by replying to this e-mail and then 
delete it from your computer.


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.

Reply via email to