> 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-uddashboard.md).

# New-UDDashboard

### Übersicht

Erstellt ein neues Dashboard.

### Syntax

```powershell
New-UDDashboard [-Title <String>] [-Pages <DashboardPage[]>] [-Theme <Hashtable>] [-Scripts <String[]>] [-Stylesheets <String[]>] [-Logo <String>] [-DefaultTheme <String>] [-DisableThemeToggle] [-HeaderPosition <String>] [-HeaderColor <DashboardColor>] [-HeaderBackgroundColor <DashboardColor>] [-NavigationLayout <String>] [-Navigation <Hashtable[]>] [-HideUserName] [-HideNavigation] [-LoadNavigation <Endpoint>] [-HeaderContent <Endpoint>] [-PageNotFound <Endpoint>] [-NotAuthorized <Endpoint>] [-SessionTimeoutModal <ScriptBlock>] [-Menu <Endpoint>] [<CommonParameters>]

    New-UDDashboard [-Title <String>] -Content <Endpoint> [-Theme <Hashtable>] [-Scripts <String[]>] [-Stylesheets <String[]>] [-Logo <String>] [-DefaultTheme <String>] [-DisableThemeToggle] [-HeaderPosition <String>] [-HeaderColor <DashboardColor>] [-HeaderBackgroundColor <DashboardColor>] [-NavigationLayout <String>] [-Navigation <Hashtable[]>] [-HideUserName] [-HideNavigation] [-LoadNavigation <Endpoint>] [-HeaderContent <Endpoint>] [-PageNotFound <Endpoint>] [-NotAuthorized <Endpoint>] [-SessionTimeoutModal <ScriptBlock>] [-Menu <Endpoint>] [<CommonParameters>]
```

### Beschreibung

Erstellt ein neues Dashboard. Diese Komponente ist das Root-Element für alle Dashboards. Sie können Inhalte, Seiten, Themes und mehr definieren.

### Parameter

#### -Title

Der Titel des Dashboards.

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

#### -Content

Der Inhalt für dieses Dashboard. Bei Verwendung von Content wird ein Dashboard mit einer einzelnen Seite erstellt.

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

#### -Pages \<DashboardPage\[]>

Seiten für dieses Dashboard. Verwenden Sie New-UDPage, um eine Seite zu definieren, und übergeben Sie ein Array von Seiten an diesen Parameter.

```
Required?                    false
Position?                    named
Default value                @()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -Theme

Das Theme für dieses Dashboard. Sie können ein Theme mit New-UDTheme definieren.

```
Required?                    false
Position?                    named
Default value                (Get-UDTheme -Name $UDDefaultTheme)
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -Scripts \<String\[]>

JavaScript-Dateien, die beim Laden dieses Dashboards ausgeführt werden. Diese JavaScript-Dateien können absolut sein und in einem Drittanbieter-CDN gehostet werden, oder Sie können sie selbst mit New-PSUPublishedFolder hosten.

```
Required?                    false
Position?                    named
Default value                @()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -Stylesheets \<String\[]>

CSS-Dateien, die beim Laden dieses Dashboards ausgeführt werden. Diese CSS-Dateien können absolut sein und in einem Drittanbieter-CDN gehostet werden, oder Sie können sie selbst mit New-PSUPublishedFolder hosten.

```
Required?                    false
Position?                    named
Default value                @()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false
```

#### -Logo

Ein Logo, das in der Navigationsleiste angezeigt wird. Sie können New-PSUPublishedFolder verwenden, um diese Logodatei zu hosten.

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

#### -DefaultTheme

Das Standard-Theme, das beim Laden der Seite angezeigt wird. Standardmäßig wird das helle Theme verwendet.

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

    -DisableThemeToggle [<SwitchParameter>]
        Disables the toggle for the theme.

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

#### -HeaderPosition

Position des Headers innerhalb des Dashboards.

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

#### -HeaderColor

Die Farbe des Headers. Dies überschreibt die Theme-Farben.

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

#### -HeaderBackgroundColor

Die Hintergrundfarbe des Headers. Dies überschreibt die Theme-Farben.

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

#### -NavigationLayout

Das Layout der Navigation. Gültige Werte sind 'Temporary' und 'Permanent'.

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

#### -Navigation \<Hashtable\[]>

Die Navigation für das Dashboard. Dies ist ein Array von Navigationselementen.

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

    -HideUserName [<SwitchParameter>]
        Obsolete. This parameter was intended for testing purposes.

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

    -HideNavigation [<SwitchParameter>]
        Obsolete. This parameter was intended for testing purposes.

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

#### -LoadNavigation

Ein Endpunkt zum Laden von Navigationselementen. Dieser Endpunkt sollte ein Array von Navigationselementen zurückgeben.

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

#### -HeaderContent

Ein Endpunkt zum Laden von Inhalten in den Header.

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

#### -PageNotFound

Ein Endpunkt zum Laden von Inhalten, wenn eine Seite nicht gefunden wird.

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

#### -NotAuthorized

Ein Endpunkt zum Laden von Inhalten, wenn ein Benutzer nicht autorisiert ist.

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

#### -SessionTimeoutModal

Ein Skriptblock, der ausgeführt wird, wenn die Sitzung abläuft.

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

#### -Menu

Ein Endpunkt zum Laden eines Menüs in das Dashboard.

```
Required?                    false
Position?                    named
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 > Creates a new dashboard with a single page.

New-UDDashboard -Title 'My Dashboard' -Content {
    New-UDTypography -Text 'Hello, world!'
}




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

PS > Creates a new dashboard with multiple pages.

$Pages = @(
    New-UDPage -Name 'HomePage' -Content {
        New-UDTypography -Text 'Home Page'
    }
    New-UDPage -Name 'Page2' -Content {
        New-UDTypography -Text 'Page2'
    }
)

New-UDDashboard -Title 'My Dashboard' -Pages $Pages
```


---

# 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-uddashboard.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.
