mqh7 Posted February 10, 2014 Report post Posted February 10, 2014 I found the HTA tool on this site but I wanted to know if there are any HTA style tools that are written in PowerShell. I know PS a little but and I wanted to create a custom HTA for a Windows 7 OSD using CM2012. And if not can I use a PowerShell front end with CM2012 OSD? I can create prompts and query AD with PS so it would make my life easier. Thanks. Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted February 11, 2014 Report post Posted February 11, 2014 how about http://www.potentengineer.com/powershell-osd-frontend-with-windows-forms/ Quote Share this post Link to post Share on other sites More sharing options...
mqh7 Posted February 11, 2014 Report post Posted February 11, 2014 Thank you. one more quick question for you. How about using PrimalScript? I've played with it a little and it works good with PowerShell. If I wrote a PrimalScript / PowerShell GUI could I then pass my variables into a CM2012 Task Sequence? Thanks again for your help. Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted February 11, 2014 Report post Posted February 11, 2014 Yes you can, just pass it back as a task sequence variable. Quote Share this post Link to post Share on other sites More sharing options...
mqh7 Posted February 14, 2014 Report post Posted February 14, 2014 On another forum someone said powershell is not really good for task sequences due to the .Net Framework. It was a bit unclear is reason. But I wanted to ask this board. Is there any reason you would "Not" use PowerShell for your .HTA tool in a cm2012 task sequence? Quote Share this post Link to post Share on other sites More sharing options...
Peter33 Posted February 15, 2014 Report post Posted February 15, 2014 The only downside is that your PE Image will be inflated to 300MB. So it takes a little bit longer to load. I also experienced some problems during the reimaging of some older bitlocker encrypted builds, because of the size of their BDE partitions. So i had to add an additional partitoning step (bitlocker command line ), which kicks in in case the BDE Partition is too small to keep the PE. Otherwise the Task sequence would just error out after applying the boot Image. New BDE partitions are getting formatted with 500MB now. Quote Share this post Link to post Share on other sites More sharing options...
mqh7 Posted February 25, 2014 Report post Posted February 25, 2014 How does WinPE and PowerShell handled calls to AD? I use the Quest AD CMDLET's which of course would not work in WinPE. But to run GET-ADUser or GET-ADComputer in WinPE don't you need all of the RSAT tools? Quote Share this post Link to post Share on other sites More sharing options...
Peter33 Posted February 25, 2014 Report post Posted February 25, 2014 I am using a webservice (Maik Kosters) for AD queries. It's way faster and more secure. Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted February 25, 2014 Report post Posted February 25, 2014 same here, still using Maik Kosters web services (they rock) Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted February 25, 2014 Report post Posted February 25, 2014 As an add-on to these suggestions, you could also use Orchestrator for doing the AD calls. Quote Share this post Link to post Share on other sites More sharing options...