InputBox provides a graphical user interface to command-line utilities. It can be used with Migration Manager Resource Kit utilities or any other applications that accept their parameters from the command line.
Use the following command-line parameters:
InputBox[.exe] [{/prompt:text | /p:text}] [{/title:caption | /t:caption}] {/command:argument | /c:argument} [{/remain | /r}] [{/default:value | /d:value}] [/{interactive | /i}]
/prompt: or /p:text
Specifies the message to be displayed in the dialog box.
/title: or /t:text
Specifies the string to be displayed in the title bar of the dialog box.
/command: or /c:parameter
The program you want to run and its command line arguments. Arguments may include %1, which will be replaced by the user input from the dialog box.
/remain: or /r
Don't close the command interpreter window after executing the command.
/default: or /d:value
Specifies the string to be displayed in the text box as the default response if no other input is provided.
/interactive: or /i
Show the command interpreter window.
Example
The following command runs the Netdom utility and prompts the user for a new name for the computer. You can write the command in a CMD file and send this file to users so they can rename their computers as they like without having to use the command line.
InputBox /p:" Please input new computer name" /t:"Rename computer" /d:%computername% /c:"netdom renamecomputer %computername% /newname:%1" /r /i
|
|
The GPMCExport custom add-in allows administrators to migrate group policy objects (GPOs) when performing domain migration, as follows:
The following group policy settings contain security principals (users, security groups, and computers) and can be updated using the mapping file:
GPMCExport allows GPMC to translate all of these settings during GPO migration. Thus, all settings within GPOs, GPO security filtering (restricting GPO application), and GPO delegation (permissions on the GPO objects) can be set to the correct target domain accounts.
GPO migration consists of two steps:
Step 1. Export Account Mapping from Migration Manager for Active Directory
After you have completed the domain migration with Migration Manager for Active Directory, the migration project has account mapping information for all users, groups, and computers that were migrated.
Use the following procedure to export the mapping information:
Where:
For example:
GPMCExport.vbs /host:MyServer /pdn:CN=Migration /port:389
GPMCExport will produce the following files:
All files will be created in the folder in which the custom add-in is located.
Step 2. Migrate GPOs with GPMC
Use the following procedure to migrate GPOs:
Finish the wizard. The GPOs will be migrated to the target forest. All the account settings that used to be set for the source accounts are translated to the corresponding target domain accounts.
After that you can link the GPOs to the appropriate domains, sites, and OUs in the target forest.
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy