Hi,
It seems the screenshot is from the below blog. Is there anything wrong when we follow the blog?
Choose a Disk to Install Windows on using WPF and PowerShell
Regards,
Alex
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Does there have any way to show out the disk select page during OS install via MDT? the expected result as follows
Hi,
It seems the screenshot is from the below blog. Is there anything wrong when we follow the blog?
Choose a Disk to Install Windows on using WPF and PowerShell
Regards,
Alex
Hi,
Thank you for the response. After checking the screenshots, I have the following comments:
1, for the "create folder" task, the command is incorrect, the ending double quotation marks is missing, for example:
powershell -command "& {new-item x:\choosedisk -itemtype directory -ea silentlycontinue}"
2, for the "copy" task, we should check if the folder exist first, if yes, continue to copy
3, if we use a package as shown in below picture, why need to copy the .ps1 to x drive and execute it form there? If we do NOT want to use a package, alternatively, we can put the script folder in a UNC path and map the drive prior to executing it, for example:
net use m: \\server01\d /user:<username> <password>
Regards,
Alex