question archive I'm having trouble creating a script in powershell to do the following:Prompt the user to enter a source directory Design your script so that if the user enters nothing the prompt reappears and your script will not advance until the user provides a source directory
Subject:Computer SciencePrice: Bought3
I'm having trouble creating a script in powershell to do the following:Prompt the user to enter a source directory
Design your script so that if the user enters nothing the prompt reappears and your script will not advance until the user provides a source directory.
Prompt the user for a destination directory
Design your script so that if the user enters nothing the prompt reappears and the script will not advance until the user provides a destination directory
Pass the parameters to the cmdlet