BUG: Error in PSDWizardNew.psm1 Language Selection
I observed that when attempting to select the language in the Locale tab, the Next button becomes greyed out.
Subsequently, I have to backtrack and simply skip the language selection to set it. While investigating in PowerShell, I encountered an error that directed me to the PSDWizardNew.psm1 file:
$Global:OSSupportedLanguages = @(($Global:OperatingSystemList | Where-Object Guid -eq $TSAssignedOSGUID).Language)
#Get only available locales settings from Select OS
$Global:LanguageList = $Global:PSDWizardLocales | Where-Object-Object {$_.Culture -in $Global:OSSupportedLanguages} | Select-Object -Unique
Upon closer inspection, it appears that there is an extra "-Object" in the Where-Object cmdlet, leading to this error.
I edited the PSDWizardNew. The Error is not there anymore, but the Button still gets greyed out
I observed that when attempting to select the language in the Locale tab, the Next button becomes greyed out.
Subsequently, I have to backtrack and simply skip the language selection to set it. While investigating in PowerShell, I encountered an error that directed me to the PSDWizardNew.psm1 file:
$Global:OSSupportedLanguages = @(($Global:OperatingSystemList | Where-Object Guid -eq $TSAssignedOSGUID).Language) #Get only available locales settings from Select OS $Global:LanguageList = $Global:PSDWizardLocales | Where-Object-Object {$_.Culture -in $Global:OSSupportedLanguages} | Select-Object -UniqueUpon closer inspection, it appears that there is an extra "-Object" in the Where-Object cmdlet, leading to this error.
Nice catch! This issue is for @PowerShellCrack to take care of and assist you further.
I am looking into this. thanks for catching it.
@Tenster Please test this in the new release of PSD (version 2.30) and send feedback. Thanks
Hello @PowerShellCrack, Thank you for informing me about the update, and I apologize for my delayed response. Unfortunately, the problem has worsened. I had to remove the modern design completely because selecting it initiates a task sequence even though none is selected and then runs into an error. Additionally, the language error persists.
I'm sorry this is still happening.
We are not seeing this issue. Please be sure to update ur cs.ini with the one provided in the repo. Also if u get a chance send screenshots or the PSDStart.log
Thanks