Jump to content


Bav

Dynamic Task Sequence selection frontend

Recommended Posts

Hi Guys,

 

We are trying to create PowerShell script where Deployment technicians can enter their AD credentials and based on their group membership, they are presented with Task sequence list.

 

 

Any thoughts?

 

 

Regards

Bav,

Share this post


Link to post
Share on other sites


Thanks. This is exactly what I was looking for. I can call PS1 script in prestart command to set SMSTSPreferredAdvertID based on username and password. Is there any way I can pass AD credential ?

 

Thank you once again

Edited by Bav

Share this post


Link to post
Share on other sites

you can use ad credentials with the adsi winpe plugin from Johan Arwidmark, please share the solution you come up with so others can benefit.

Share this post


Link to post
Share on other sites

Thank you for that. I will look into that..or I was thinking of using AD cmdlets with server IP. I will post my progress..

Share this post


Link to post
Share on other sites

you can use ad credentials with the adsi winpe plugin from Johan Arwidmark, please share the solution you come up with so others can benefit.

I have a question about an issue I've been having with task sequence variables.... I have multiple PowerShell scripts throughout my task sequence that both create TS variables and retrieve them, and all of them work just fine, except for one PowerShell script that I am running with a specified service account instead of the default. Is there any reason that running a script as a different user would affect the ability to interact with the variables in the task sequence environment? I have scripts in the early phases of the sequence in WinPE that set variables and scripts at the end after being booted into the new Windows install and all the variables are working fine. It's just the one script run as a service account that can't seem to create or read TS variables.

 

Any advice? In the meantime, I'm having to write results of the code to a file on C:\ and read the results back in! Very messy...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...