立即与支持人员聊天
与支持团队交流

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

Get-RumDomainCredential

Returns the objects representing domain credential.

Detailed Description

The Get-RumDomainCredential cmdlet returns the objects representing domain credential in the specified collection or project root. The objects can be requested by wildcard or by ID.

Syntax
Get-RumDomainCredential [[-Collection] <PSRumCollection>] [
<CommonParameters>]
Get-RumDomainCredential [-Id] <Guid[]> [<CommonParameters>]
Get-RumDomainCredential [[-Name] <String[]>] 
-CollectionName <String> [<CommonParameters>]
Get-RumDomainCredential [-Name] <String[]> [[
-Collection] <PSRumCollection>] [<CommonParameters>]
Parameters
-Id <Guid[]>

ID of the requested object.

Required? true
Position? 1
Default value none
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

 

-Name <String[]>

Wildcard of domain name for requested objects.

Required? false
Position? 1
Default value none
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

 

-Collection <PSRumCollection>

Collection.

Required? false
Position? 2
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

 

<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

PSRumDomainCredential

Examples
Example 1
Get-RumDomainCredential "domain_1"
Example 2
Get-RumCollection "collection_1" | Get-RumDomainCredential 
"domain_1"

Get-RumProject

Returns a list of existing projects.

Detailed Description

The Get-RumProject cmdlet returns a list of existing projects.

Syntax
Get-RumProject [<CommonParameters>]
Parameters
<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

String

Examples
Example 1
Get-RumProject

Get-RumResult

Returns task results.

Detailed Description

The Get-RumResult cmdlet returns the results for specified tasks or computers.

Syntax
Get-RumResult [-Computer] <PSRumComputer> [<CommonParameters>]
Get-RumResult [-Task] <PSRumTask> [<CommonParameters>]
Get-RumResult [-Computer] <PSRumComputer> [-Task] <PSRumTask> [
<CommonParameters>]
Parameters
-Computer <PSRumComputer>

Computer.

Required? true
Position? 1
Default value none
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

 

-Task <PSRumTask>

Task.

Required? true
Position? 2
Default value none
Accept pipeline input? true (ByValue)
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

PSRumComputer

PSRumTask

Outputs

PSRumResult

Objects containing information about tasks performed

Examples
Example 1
Get-RumTask -CollectionName "collection_1" | Get-RumResult
Example 2
Get-RumComputer -CollectionName "collection_1" "computer_1" | 
Get-RumResult
Example 3
Get-RumTask -CollectionName "collection_1" | Get-RumResult 
(Get-RumComputer -CollectionName "collection_1" "computer_1")

Get-RumTask

Returns existing tasks for the specified collection

Detailed Description

The Get-RumTask cmdlrt returns existing tasks for the specified collection. You can request all tasks, tasks by wildcard or a task by ID.

Syntax
Get-RumTask [[-Collection] <PSRumCollection>] [<CommonParameters>]
Get-RumTask [-Id] <Guid[]> [<CommonParameters>]
Get-RumTask [[-Name] <String[]>] -CollectionName <String> [
<CommonParameters>]
Get-RumTask [-Name] <String[]> [[-Collection] <PSRumCollection>] [
<CommonParameters>]
Parameters
-Id <Guid[]>

ID of the requested task.

Required? true
Position? 1
Default value none
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

 

-Name <String[]>

Wildcard for the names of the requested tasks.

Required? true
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? true

 

-Collection <PSRumCollection>

Collection.

Required? false
Position? 2
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

 

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, see about_CommonParameters.

Inputs

PSRumCollection

Collection

Outputs

PSRumTask

Task

Examples
Example 1
Get-RumTask
Example 2
Get-RumCollection "collection_1" | Get-RumTask
Example 3
Get-RumTask -CollectionName "collection_1"
Example 4
Get-RumTask -Id $taskId
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级