Modifies configuration parameters.
The Set-RumConfiguration cmdlet modifies Resource Updating Manager configuration parameters.
Set-RumConfiguration -Project <String> [<CommonParameters>]
Set-RumConfiguration [-Server] <String> [-Port] <Int32> [[ -Project] <String>] [-ControllerCredential <PSCredential>] [ <CommonParameters>]
-Server <String>
AD LDS or ADAM server.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Port <Int32>
Port number.
Required? | true |
Position? | 2 |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Project <String>
Project name.
Required? | true |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ControllerCredential <PSCredential>
Credentials for the service controller.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, see about_CommonParameters.
None
None
Set-RumConfiguration "server" 389 "CN=QMMADProject"
Set-RumConfiguration "server" 389; Set-RumConfiguration -Project (Get-RumProject | select -first 1)
Runs a task.
The Start-RumTask cmdlet runs the task immediately or sets a schedule.
Start-RumTask [-Task] <PSRumTask> [[-Schedule] <DateTime>] [ -PassThru] [<CommonParameters>]
-Task <PSRumTask>
Task.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-Schedule <DateTime>
When to run the task.
Required? | false |
Position? | 2 |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-PassThru
Returns the object that represents the task. By default, this cmdlet does not generate any output.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, see about_CommonParameters.
PSRumTask
PSRumTask
Get-RumTask -CollectionName "collection_1" | Start-RumTask -PassThru | Wait-RumUpdate
Stops a running task.
The Stop-RumTask cmdlet stops a running task
Stop-RumTask [-Task] <PSRumTask> [-PassThru] [<CommonParameters>]
-Task <PSRumTask>
Task.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-PassThru
Returns the object that represents the task. By default, this cmdlet does not generate any output.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, see about_CommonParameters.
PSRumTask
PSRumTask
Get-RumTask "task name" -CollectionName "collection_1" | Stop-RumTask
Waits until tasks or processing of computers complete with specified statuses.
The Wait-RumUpdate cmdlet waits until tasks or processing of computers complete with specified statuses.
Wait-RumUpdate [-Task] <PSRumTask[]> [-PollInterval <TimeSpan>] [ -Timeout <TimeSpan>] [-WaitTaskStatus <RumTaskStatuses[]>] [ -All] [-PassThru] [<CommonParameters>]
Wait-RumUpdate [-Computer] <PSRumComputer[]> [ -PollInterval <TimeSpan>] [-Timeout <TimeSpan>] [ -WaitComputerStatus <RumComputerStatuses[]>] [-All] [-PassThru] [ <CommonParameters>]
-Task <PSRumTask[]>
Tasks to be monitored.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-Computer <PSRumComputer[]>
Computers to be monitored.
Required? | false |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-All
Makes the cmdlet wait until all tasks or processing of all computers complete; otherwise, the waiting stops as soon as any task or processing of any computer completes.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-PassThru
Returns the object that represents the computer or task. By default, this cmdlet does not generate any output.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-PollInterval <TimeSpan>
Polling interval for status information updating in HH:mm:ss format.
Required? | false |
Position? | named |
Default value | 00:00:10 |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Timeout <TimeSpan>
Timeout for waiting in HH:mm:ss format. By default, there is no timeout.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-WaitComputerStatus <RumComputerStatuses[]>
Processing statuses for specified computers that cause cmdlet completion.
Required? | false |
Position? | named |
Default value | ComputerStatusOk, ComputerStatusFailure, ComputerStatusWarning, ComputerStatusUnknown |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-WaitTaskStatus <RumTaskStatuses[]>
Task statuses that cause cmdlet completion.
Required? | false |
Position? | named |
Default value | Cancelled, Completed, Failed |
Accept pipeline input? | false |
Accept wildcard characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, see about_CommonParameters.
PSRumTask
PSRumComputer
Object
Get-RumTask -CollectionName "collection_1" | Start-RumTask -PassThru | Wait-RumUpdate
New-RumDiscoveryTask -CollectionName $value -PassThru | Start-RumTask -PassThru | Wait-RumUpdate -WaitTaskStatus Completed -Timeout 00:01:30
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center