API Reference
Command
Restore-CxServiceCommandLine
Implements the Restore-CxServiceCommandLine cmdlet.
Examples
Example 1
Restore-CxServiceCommandLine -Name TestimoX.Monitoring -Path C:\Temp\monitoring-binpath.txt
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Restore-CxServiceCommandLine -Name <string> [-ComputerName <string>] -Path <string> [-ExecutablePathOverride <string>] [-KeepBackupFile] [<CommonParameters>]#Parameters
- Name string
- Gets or sets the Windows service name.
- ComputerName string
- Gets or sets the target computer name.
- Path string
- Gets or sets the local filesystem path of the backup file.
- ExecutablePathOverride string
- Gets or sets an optional executable path used to rebase the restored command line.
- KeepBackupFile SwitchParameter
- Gets or sets a value indicating whether the backup file should be preserved after restore.
Outputs
System.Boolean