text stringlengths 0 4.23k |
|---|
/p [\<password>] |
Specifies the password of the user account that is specified in the /u parameter. |
/si |
Sends the specified signal across the network. This parameter also lets you manually activate a signal. |
/t <timeout> |
Specifies the number of seconds to wait for a signal. By default, waitfor waits indefinitely. |
<signalname> |
Specifies the signal that waitfor waits for or sends. This parameter isn't case-sensitive and can't exceed 225 characters. Valid characters include a-z, A-Z, 0-9, and the ASCII extended character set (128-255). |
/? |
Displays help at the command prompt. |
<computer> |
[<domain>]<user> |
[\<password>] |
<timeout> |
<signalname> |
Remarks |
You can run multiple instances of waitfor on a single computer, but each instance of waitfor must wait for a different signal. Only one instance of waitfor can wait for a given signal on a given computer. |
Computers can only receive signals if they are in the same domain as the computer sending the signal. |
You can use this command when you test software builds. For example, the compiling computer can send a signal to several computers running waitfor after the compile has completed successfully. On receipt of the signal, the batch file that includes waitfor can instruct the computers to immediately start installing software or running tests on the compiled build. |
Examples |
To wait until the espresso\build007 signal is received, type: |
waitfor espresso\build007 |
By default, waitfor waits indefinitely for a signal. |
To wait 10 seconds for the espresso\compile007 signal to be received before timing out, type: |
waitfor /t 10 espresso\build007 |
To manually activate the espresso\build007 signal, type: |
waitfor /si espresso\build007 |
wbadmin delete catalog |
Deletes the backup catalog that is stored on the local computer. Use this command when the backup catalog has been corrupted and you can't restore it using the wbadmin restore catalog command. |
To delete a backup catalog using this command, you must be a member of the Backup Operators group or the Administrators group, or you must have been delegated the appropriate permissions. In addition, you must run wbadmin from an elevated command prompt, by right-clicking Command Prompt, and then selecting Run as administrator. |
Syntax |
wbadmin delete catalog [-quiet] |
Parameters |
Parameter |
Description |
-quiet |
Runs the command without prompts to the user. |
Remarks |
If you delete the backup catalog of a computer, you'll no longer be able to get to any backups created for that computer using the Windows Server Backup snap-in. However, if you can get to another backup location and run the wbadmin restore catalog command, you can restore the backup catalog from that location. |
We strongly recommend you create a new backup after you delete a backup catalog. |
wbadmin delete systemstatebackup |
Deletes the system state backups that you specify. If the specified volume contains backups other than system state backups of your local server, those backups will not be deleted. |
To delete a system state backup using this command, you must be a member of the Backup Operators group or the Administrators group, or you must have been delegated the appropriate permissions. In addition, you must run wbadmin from an elevated command prompt, by right-clicking Command Prompt, and then selecting Run as administrator. |
Note |
Windows Server Backup does not back up or recover registry user hives (HKEY_CURRENT_USER) as part of system state backup or system state recovery. |
Syntax |
wbadmin delete systemstatebackup {-keepVersions:<numberofcopies> | -version:<versionidentifier> | -deleteoldest} [-backupTarget:<volumename>] [-machine:<backupmachinename>] [-quiet] |
Important |
You must only specify one of these parameters: -keepVersions, -version, or -deleteOldest. |
Parameters |
Parameter |
Description |
-keepVersions |
Specifies the number of the latest system state backups to keep. The value must be a positive integer. The parameter value -keepversions:0 deletes all the system state backups. |
-version |
Specifies the version identifier of the backup in MM/DD/YYYY-HH:MM format. If you don't know the version identifier, run the wbadmin get versions command.Versions made up of exclusively system state backups can be deleted using this command. Run the wbadmin get items command to view the version type. |
-deleteOldest |
Deletes the oldest system state backup. |
-backupTarget |
Specifies the storage location for the backup that you want to delete. The storage location for disk backups can be a drive letter, a mount point, or a GUID-based volume path. This value only needs to be specified for locating backups that are not on the local computer. Information about backups for the local computer is available in the backup catalog on the local computer. |
-machine |
Specifies the computer whose system state backup you want to delete. Useful when multiple computers were backed up to the same location. Should be used when the -backupTarget parameter is specified. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.