You can use the Endpoint Security Agent to test scripts. You can test an unpublished script as part of the script development process, or you can test a published Scripting policy in order to troubleshoot problems.
The following sections provide information to help you test scripts. The sections do not include information about creating scripts; for that information, see Section 1.0, Script Development.