> 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-universal/de/powershell-befehle/new-udtabs.md).

# New-UDTabs

### Übersicht

Erstellt einen neuen Satz von Registerkarten.

### Syntax

```powershell
New-UDTabs [-Tabs] <ScriptBlock> [[-Id] <String>] [-RenderOnActive] [[-Orientation] <String>] [[-Variant] <String>] [[-ScrollButtons] <String>] [-Centered] [[-ClassName] <String>] [[-SelectedTabIndex] <Int32>] [[-Style] <Hashtable>] [[-Sx] <Hashtable>] [<CommonParameters>]
```

### Beschreibung

Erstellt einen neuen Satz von Registerkarten. Registerkarten können verwendet werden, um viele Inhalte auf einer einzigen Seite anzuzeigen.

### Parameter

#### -Tabs

Die Registerkarten, die in diesem Container platziert werden sollen.

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

#### -Id

Die ID der Komponente. Standardmäßig ist dies eine zufällige GUID.

```
Required?                    false
Position?                    2
Default value                ([Guid]::NewGuid()).ToString()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

    -RenderOnActive [<SwitchParameter>]
        Deprecated

Required?                    false
Position?                    named
Default value                False
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -Orientation

Die Ausrichtung der Registerkarten. Gültige Werte sind horizontal und vertical.

```
Required?                    false
Position?                    3
Default value                horizontal
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -Variant

Die Variante der Registerkarten. Gültige Werte sind standard, fullWidth und scrollable.

```
Required?                    false
Position?                    4
Default value                standard
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -ScrollButtons

Das Verhalten der Scroll-Schaltflächen. Gültige Werte sind on, off, auto und desktop. On aktiviert die Scroll-Schaltflächen in jedem Fall. off deaktiviert alle Scroll-Schaltflächen. Auto zeigt Scroll-Schaltflächen, wenn nötig. Desktop zeigt Scroll-Schaltflächen auf mittleren und großen Bildschirmen.

```
Required?                    false
Position?                    5
Default value                auto
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

    -Centered [<SwitchParameter>]
        Whether the tabs should be centered.

Required?                    false
Position?                    named
Default value                False
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -ClassName

Die CSS-Klasse, die auf die Registerkarten angewendet wird.

```
Required?                    false
Position?                    6
Default value
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -SelectedTabIndex

```
Required?                    false
Position?                    7
Default value                0
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -Style

Der Stil, der auf die Registerkarten angewendet wird.

```
Required?                    false
Position?                    8
Default value
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -Sx

Ein themenspezifischer Stil, der auf die Registerkarten angewendet wird.

```
Required?                    false
Position?                    9
Default value
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see
        about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
```

### Ausgaben

\-------------------------- BEISPIEL 1 --------------------------

```
PS >New-UDTabs -Tabs {
PS >     New-UDTab -Text "Tab1" -Id 'Tab1' -Content {
PS >         New-UDElement -Tag div -Id 'tab1Content' -Content { "Tab1Content"}
PS >     }
PS >     New-UDTab -Text "Tab2" -Id 'Tab2' -Content {
PS >         New-UDElement -Tag div -Id 'tab2Content' -Content { "Tab2Content"}
PS >     }
PS >     New-UDTab -Text "Tab3" -Id 'Tab3' -Content {
PS >         New-UDElement -Tag div -Id 'tab3Content' -Content { "Tab3Content"}
PS >     }
PS >  } -Id 'tabs1'

Basic Tabs|A basic set of tabs.




-------------------------- EXAMPLE 2 --------------------------

PS >New-UDTabs -Id 'tabs2' -Tabs {
PS >     New-UDTab -Text "Tab1" -Id 'DynamicTab1' -Dynamic -Content {
PS >         New-UDElement -Tag div -Id 'DynamicTab1Content' -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab2" -Id 'DynamicTab2' -Dynamic -Content {
PS >         New-UDElement -Tag div -Id 'DynamicTab2Content' -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab3" -Id 'DynamicTab3' -Dynamic -Content {
PS >         New-UDElement -Tag div -Id 'DynamicTab3Content' -Content { Get-Date }
PS >     }
PS >  }

Dynamic Tabs|A set of dynamic tabs.




-------------------------- EXAMPLE 3 --------------------------

PS >New-UDTabs -Id 'tabs3' -Orientation 'vertical' -Tabs {
PS >     New-UDTab -Text "Tab1" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab2" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab3" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS > }

Vertical Tabs|A set of vertical tabs.




-------------------------- EXAMPLE 4 --------------------------

PS >New-UDTabs -Id 'tabs4' -Variant 'fullWidth' -Tabs {
PS >     New-UDTab -Text "Tab1" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab2" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab3" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS > }

Full Width Tabs|A set of full width tabs.




-------------------------- EXAMPLE 5 --------------------------

PS >New-UDTabs -Id 'tabs5' -Variant 'scrollable' -Tabs {
PS >     New-UDTab -Text "Tab1" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab2" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab3" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS > }

Scrollable Tabs|A set of scrollable tabs.




-------------------------- EXAMPLE 6 --------------------------

PS >New-UDTabs -Id 'tabs6' -ScrollButtons 'on' -Tabs {
PS >     New-UDTab -Text "Tab1" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab2" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab3" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS > }

Scroll Buttons On|A set of tabs with scroll buttons always on.




-------------------------- EXAMPLE 7 --------------------------

PS >New-UDTabs -Id 'tabs7' -Centered -Tabs {
PS >     New-UDTab -Text "Tab1" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab2" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab3" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS > }

Centered Tabs|A set of centered tabs.




-------------------------- EXAMPLE 8 --------------------------

PS >New-UDTabs -Id 'tabs8' -Tabs {
PS >     New-UDTab -Text "Tab1" -Icon (New-UDIcon -Icon Eye) -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab2" -Icon (New-UDIcon -Icon Home) -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab3" -Icon (New-UDIcon -Icon User) -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS > }

Tabs with Icons|A set of tabs with icons.




-------------------------- EXAMPLE 9 --------------------------

PS >New-UDTabs -Id 'tabs7' -Tabs {
PS >     New-UDTab -Text "Tab1" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab2" -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS >     New-UDTab -Text "Tab3" -Disabled -Content {
PS >         New-UDElement -Tag div -Content { Get-Date }
PS >     }
PS > }

Disabled Tab|A set of tabs with a disabled tab.
```


---

# 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-universal/de/powershell-befehle/new-udtabs.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.
