You use the delete userscripts
command to delete a user-defined script
from the repository table that is displayed in the Control Center. This is also a useful
procedure when you are creating and debugging scripts.
Once the script is deleted, it is no longer displayed in the Execute Server Action list in the Control Center.
To delete a userscript, you must know its ID number, which was returned when you ran the
add userscripts
command. You can also use the show
userscripts
command to get the ID of the script you want to delete.
delete userscripts
command must be run from the _control repository.Syntax
delete userscripts SEQNO <sequence number>
where
SEQNO <sequence number> |
Sequence number or ID of the user-defined script that is to be deleted. This is the ID that was originally returned when the add userscripts command was executed. |
Example
The following example deletes a user-defined script with ID 1.
delete userscripts SEQNO 1