|I'm trying to automate usmt. I need to migrate only select profiles and I don't want to have to edit the batch every time the username changes. This is what I have so far.|
set /p 1=Enter profile name you wish to backup and press Enter^:
scanstate.exe \\server\USMT\Migration\%COMPUTERNAME%\Store /ue:*\* /ui:%USERDOMAIN%\%1% /i:Miguser.xml /i:MigApp.xml /o /c
Now I want to be able to somehow get user input for the profile they want to backup and place that input where %1% is. Is this possible? Any help is greatly appreciated.