Converse agora com nosso suporte
Chat com o suporte

Migration Manager for AD 8.15 - Resource Updating Toolkit for PowerShell Reference

New-RumProcessingTask

Creates a new processing task.

Detailed Description

The New-RumProcessingTask cmdlet creates a new processing task.

Syntax
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>]
Parameters
-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.

Inputs

PSRumCollection

PSRumComputer

Outputs

PSRumTask

Examples
Example 1
$task = Get-RumCollection "collection_1" | New-RumProcessingTask 
-PassThru -Process All
Example 2
New-RumProcessingTask -Name "task_1" -CollectionName "collection_2" 
-SidHistoryTargetDomain domainName.local -ProcessingMode Copy -Process Shares,Printers

New-RumRenameTask

Creates a new rename task.

Detailed Description

The New-RumRenameTask cmdlet creates a new rename task.

Syntax
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>]
Parameters
-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.

Inputs

PSRumCollection

PSRumComputer

Outputs

PSRumTask

Examples
Example 1
$task = Get-RumCollection "collection_1" | New-RumRenameTask 
-PassThru -RenameFile c:\rename.txt

New-RumScriptingTask

Creates a new scripting task.

Detailed Description

The New-RumScriptingTask cmdlet creates a new scripting task.

Syntax
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>]
Parameters
-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.

Inputs

PSRumCollection

PSRumComputer

Outputs

PSRumTask

Examples
Example 1
$task = Get-RumCollection "collection_1" | New-RumScriptingTask 
-PassThru -Script c:\script.cmd

Remove-RumCollection

Removes a collection from the project.

Detailed Description

The Remove-RumCollection cmdlet removes a collection from the project

Syntax
Remove-RumCollection [-Collection] <PSRumCollection[]> [
<CommonParameters>]
Remove-RumCollection [-Id] <Guid[]> [<CommonParameters>]
Remove-RumCollection [-Name] <String[]> [<CommonParameters>]
Parameters
-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.

Inputs

PSRumCollection

Outputs

None

Examples
Example 1
Remove-RumCollection "collection_1"
Example 2
Get-RumCollection "collection_1" | Remove-RumCollection
Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação