> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell/it/powershell-commands/get-rdmtask.md).

# Get-RDMTask

### Sinossi

Recupera l'elenco delle attività dello spazio di lavoro corrente.

### Sintassi

#### \_\_AllParameterSets

```
Get-RDMTask [-CaseSensitive] [-CreationDateEnd <datetime>] [-CreationDateStart <datetime>]
 [-Due <DateFilter>] [-DueDateEnd <datetime>] [-DueDateStart <datetime>] [-Entry <Object>]
 [-LiteralName <string[]>] [-Name <string[]>] [-Status <TodoStatus[]>] [-User <Object[]>]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
```

### Descrizione

Consente di cercare attività con diversi parametri nelle casseforti principali e private dell'utente. Questa funzionalità è disponibile solo per i seguenti spazi di lavoro: Devolutions Server, Azure SQL, SQL Server e SQLite. Se lo spazio di lavoro non supporta gli utenti, il parametro User verrà semplicemente ignorato. Se è coinvolta una cartella virtuale, l'utente deve disporre dei diritti di aggiunta e modifica per ottenere le attività.

### Esempi

#### Esempio 1

```powershell
PS C:\> $tasks = Get-RDMTask -Entry AnEntry -CaseSensitive
```

Recupera le attività dello spazio di lavoro corrente associate alla voce AnEntry (con distinzione tra maiuscole e minuscole) e le memorizza nella variabile $tasks.

#### Esempio 2

```powershell
PS C:\> Get-RDMTask -Name Task* -Due Today -Status Open, Assigned, InProgress, Default
```

Ottiene tutte le attività dello spazio di lavoro corrente che scadono oggi e sono ancora attive.

#### Esempio 3

```powershell
PS C:\> Get-RDMTask -CreationDateStart 2022/1/1 -CreationDateEnd 2022/2/1 -DueDateStart 2022/2/1 -DueDateEnd 2022/3/1
```

Ottiene tutte le attività dello spazio di lavoro corrente che scadono oggi e sono ancora attive.

#### Esempio 4

```powershell
PS C:\> $user = Get-RDMUser -Name AUser; Get-RDMTask -Status Assigned -User $user | Set-RDMTask -UnassignUser
```

Annulla l'assegnazione di tutte le attività assegnate all'utente AUser.

### Parametri

#### -CaseSensitive

Ricerca con distinzione tra maiuscole e minuscole durante la ricerca del nome della voce, dell'attività o dell'utente.

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -CreationDateEnd

Il limite superiore per la data di creazione dell'attività.

```yaml
Type: System.Nullable`1[System.DateTime]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -CreationDateStart

Il limite inferiore per la data di creazione dell'attività.

```yaml
Type: System.Nullable`1[System.DateTime]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Due

Filtra le attività in base alla loro data di scadenza.

```yaml
Type: Devolutions.RemoteDesktopManager.DateFilter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -DueDateEnd

Il limite superiore per una data di scadenza personalizzata.

```yaml
Type: System.Nullable`1[System.DateTime]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -DueDateStart

Il limite inferiore per una data di scadenza personalizzata.

```yaml
Type: System.Nullable`1[System.DateTime]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Entry

Voce a cui l'attività è assegnata. Può essere specificata tramite ID, nome o PSConnection. Le voci nella cassaforte privata sono accessibili. Per le cartelle virtuali sono richiesti i diritti di aggiunta e modifica per ottenere le attività.

```yaml
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -ForcePromptAnswer

Opzione da usare con cautela. Risponderà automaticamente alle richieste che pongono domande sì/no, sì/no/annulla oppure ok/annulla. In caso di più richieste, è possibile passare più valori a questo parametro. Ecco i valori accettati:

* Yes: accetta la richiesta. Copre i valori OK e Automatic.
* No: rifiuta la richiesta sì/no/annulla. "Cancel" è l'opzione di riserva se non è presente l'opzione "No".
* Cancel: annulla la richiesta sì/no/annulla. "No" è l'opzione di riserva se non è presente l'opzione "Cancel".

```yaml
Type: System.Windows.Forms.DialogResult[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -LiteralName

Nome dell'attività. Nessun carattere viene interpretato come carattere jolly.

```yaml
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Name

Nome dell'attività.

```yaml
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Status

Filtra le attività in base allo stato specificato. Più stati equivalgono a una condizione OR.

```yaml
Type: Devolutions.RemoteDesktopManager.TodoStatus[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -User

Attività assegnata a tali utenti. Gli utenti possono essere specificati con il loro nome, il loro indirizzo email, il loro ID o il loro PSUserInfo.

```yaml
Type: System.Object[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, consulti [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

### Note

Per maggiori informazioni, digiti "Get-Help Get-RDMTask -detailed". Per informazioni tecniche, digiti "Get-Help Get-RDMTask -full".


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/powershell/it/powershell-commands/get-rdmtask.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
