Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
In Powershell, no problem for the installation of new forest, but when I create just one button in new form on PowerShell Studio 2018 it doesn't work (message : WARNING: The plug-in for "Active Directory Domain Services" is taking more time to load than expected). Maybe someone can help me for this problem ?
The script :
Some modules may require STA/MTA threading and some may need to be loaded before the form is launched. MAny newer modules such as Azure modules will not run in a form and can be used if run as a job.
Thank you.
But it's not azure, but just install new forest in Windows 2012 R2.
I create GUI to install new forest, gpo, OUs, Groups and Users AD Accounts but the only problem it's to use button to run the installation of new forest, maybe there is a solution to resolve this kind of problem ?
Ok thank you. So I need to put for the command "Add-WindowsFeature -Name $Feature -IncludeManagementTools" :
$test={"Add-WindowsFeature -Name $Feature -IncludeManagementTools"} start-job -ScriptBlock $test
What do you think ? Do you think if it's ok like this ?
Last edited by thematterneo on Wed Aug 08, 2018 10:54 am, edited 1 time in total.
This topic is 5 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.