Creates a new processing task.
The New-RumProcessingTask cmdlet creates a new processing task.
New-RumProcessingTask [-Collection] <PSRumCollection> [ -Computer <PSRumComputer[]>] [-Description <String>] [ -InProgressTimeout <Int32>] [-Name <String>] [ -PendingTimeout <Int32>] [-Process <ProcessResource>] [ -ProcessingMode <RumProcessingModes>] [-Schedule <DateTime>] [ -ScriptAfter <String>] [-ScriptBefore <String>] [-SidHistoryTargetDomain <String>] [-PassThru] [ <CommonParameters>]
New-RumProcessingTask -CollectionName <String> [ -Computer <PSRumComputer[]>] [-Description <String>] [ -InProgressTimeout <Int32>] [-Name <String>] [ -PendingTimeout <Int32>] [-Process <ProcessResource>] [ -ProcessingMode <RumProcessingModes>] [-Schedule <DateTime>] [ -ScriptAfter <String>] [-ScriptBefore <String>] [-SidHistoryTargetDomain <String>] [-PassThru] [ <CommonParameters>]
-Collection <PSRumCollection>
Collection.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-CollectionName <String>
Name of the collection.
Required? | true |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Computer <PSRumComputer[]>
Collection member computers where the task will run.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-Description <String>
Description of the task.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-InProgressTimeout <Int32>
The timeout in minutes for keeping the task in the In Progress state.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Name <String>
Task name.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-SidHistoryTargetDomain <String>
Target domain where SIDHistory of objects will be used for account matching.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-PassThru
Returns the object that represents the task that was created. By default, this cmdlet does not generate any output.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-PendingTimeout <Int32>
The timeout in minutes for keeping the task in the Pending state.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Process<ProcessResource>
The types of objects whose permissions should be re-assigned to target users.
Values : LocalGroupMembership, UserRights, ServiceAccounts, ScheduledTasks, LocalProfiles, RoamingProfiles, Registry, FileSystem, FileOwnership, Shares, Printers, COMPlus, DCOM, IIS, All
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ProcessingMode <RumProcessingModes>
Re-Permissioning mode.
Values : Reassign, Copy, Cleanup, Revert
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Schedule <DateTime>
When to run the task.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ScriptAfter <String>
Script to run after the task
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ScriptBefore <String>
Script to run before the task.
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.
PSRumCollection
PSRumComputer
PSRumTask
$task = Get-RumCollection "collection_1" | New-RumProcessingTask -PassThru -Process All
New-RumProcessingTask -Name "task_1" -CollectionName "collection_2" -SidHistoryTargetDomain domainName.local -ProcessingMode Copy -Process Shares,Printers
Creates a new rename task.
The New-RumRenameTask cmdlet creates a new rename task.
New-RumRenameTask [-Collection] <PSRumCollection> -RenameFile <String> [-Computer <PSRumComputer[]>] [ -Description <String>] [-InProgressTimeout <Int32>] [ -Name <String>] [-PendingTimeout <Int32>] [-Remote <Boolean>] [ -RestartMessage <String>] [-RestartTimeout <Int32>] [ -Schedule <DateTime>] [-ScriptAfter <String>] [ -ScriptBefore <String>] [-PassThru] [-Restart] [-RestartForce] [ <CommonParameters>]
New-RumRenameTask -CollectionName <String> -RenameFile <String> [ -Computer <PSRumComputer[]>] [-Description <String>] [ -InProgressTimeout <Int32>] [-Name <String>] [ -PendingTimeout <Int32>] [-Remote <Boolean>] [ -RestartMessage <String>] [-RestartTimeout <Int32>] [ -Schedule <DateTime>] [-ScriptAfter <String>] [ -ScriptBefore <String>] [-PassThru] [-Restart] [-RestartForce] [ <CommonParameters>]
-Collection <PSRumCollection>
Collection.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-CollectionName <String>
Name of the collection.
Required? | true |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Computer <PSRumComputer[]>
Collection member computers where the task will run.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-Description <String>
Description of the task.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-InProgressTimeout <Int32>
The timeout in minutes for keeping the task in the In Progress state.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Name <String>
Task name.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-PassThru
Returns the object that represents the task that was created. By default, this cmdlet does not generate any output.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-PendingTimeout <Int32>
The timeout in minutes for keeping the task in the Pending state.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Remote <Boolean>
Makes the cmdlet perform the task remotely.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-RenameFile <String>
File containing pairs of the old and new computer names.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Restart
Makes the cmdlet restart the computer.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-RestartForce
Makes the cmdlet force restart.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-RestartMessage <String>
Restart message.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-RestartTimeout <Int32>
Restart timeout.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Schedule <DateTime>
When to run the task.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ScriptAfter <String>
Script to run after the task.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ScriptBefore <String>
Script to run before the task.
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.
PSRumCollection
PSRumComputer
PSRumTask
$task = Get-RumCollection "collection_1" | New-RumRenameTask -PassThru -RenameFile c:\rename.txt
Creates a new scripting task.
The New-RumScriptingTask cmdlet creates a new scripting task.
New-RumScriptingTask [-Collection] <PSRumCollection> -Script <String> [-Computer <PSRumComputer[]>] [ -Description <String>] [-InProgressTimeout <Int32>] [ -Name <String>] [-PendingTimeout <Int32>] [-Schedule <DateTime>] [ -PassThru] [<CommonParameters>]
New-RumScriptingTask -CollectionName <String> -Script <String> [ -Computer <PSRumComputer[]>] [-Description <String>] [ -InProgressTimeout <Int32>] [-Name <String>] [ -PendingTimeout <Int32>] [-Schedule <DateTime>] [-PassThru] [ <CommonParameters>]
-Collection <PSRumCollection>
Collection.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-CollectionName <String>
Name of the collection.
Required? | true |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Computer <PSRumComputer[]>
Collection member computers where the task will run.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-Description <String>
Description of the task.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-InProgressTimeout <Int32>
The timeout in minutes for keeping the task in the In Progress state.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Name <String>
Task name.
Required? | false |
Position? | named |
Default value | none |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-PassThru
Returns the object that represents the task that was created. 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.
PSRumCollection
PSRumComputer
PSRumTask
$task = Get-RumCollection "collection_1" | New-RumScriptingTask -PassThru -Script c:\script.cmd
Removes a collection from the project.
The Remove-RumCollection cmdlet removes a collection from the project
Remove-RumCollection [-Collection] <PSRumCollection[]> [ <CommonParameters>]
Remove-RumCollection [-Id] <Guid[]> [<CommonParameters>]
Remove-RumCollection [-Name] <String[]> [<CommonParameters>]
-Collection <PSRumCollection[]>
Collection to remove.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-Id <Guid[]>
ID of the collection to remove.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | false |
-Name <String[]>
Name of the collection to remove.
Required? | true |
Position? | 1 |
Default value | none |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | true |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, see about_CommonParameters.
PSRumCollection
None
Remove-RumCollection "collection_1"
Get-RumCollection "collection_1" | Remove-RumCollection
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center