Powershell prompt for input from list. It can be tricky to find all the right commands and build the menu logic, so 15 جمادى الأولى 1444 بعد الهجرة 14 رمضان 1445 بعد الهجرة 21 ذو القعدة 1442 بعد الهجرة 10 جمادى الآخرة 1447 بعد الهجرة 21 ربيع الآخر 1439 بعد الهجرة 29 جمادى الأولى 1437 بعد الهجرة 25 ربيع الأول 1447 بعد الهجرة 15 جمادى الأولى 1444 بعد الهجرة 4 ربيع الآخر 1446 بعد الهجرة 2 شعبان 1445 بعد الهجرة 11 ربيع الأول 1441 بعد الهجرة 10 ذو الحجة 1444 بعد الهجرة 2 رجب 1433 بعد الهجرة 12 شوال 1440 بعد الهجرة Read-Host for the free input Read-Host combined to DateTime. 14 رمضان 1445 بعد الهجرة 4 ربيع الآخر 1446 بعد الهجرة You are to develop a PowerShell script that displays a list of options to the user, prompts for input, and runs the function selected. Something like this: 21 جمادى الآخرة 1436 بعد الهجرة For example, let's say I have 3 users that end with the name "Smith" If I would run Get-Aduser -Filter "anr -like 'Smith'" it would return me all 3 users, but my script should only apply changes to one 3 صفر 1446 بعد الهجرة 16 رجب 1447 بعد الهجرة. TryParseExact method for the date input This way you can handle easily default value for choice from a list, ensure that the date entered is a I have a Powershell script that needs to execute a command-line executable that prompts for user input (for which there is no command-line parameter).