> 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/da/powershell-kommandoer/get-psugitstatus.md).

# Get-PSUGitStatus

Get-PSUGitStatus henter status for det interne git-lager i PowerShell Universal, herunder commits, redigeringer og ændringer, der ikke er committet.

## Synopsis

Returnerer status for det interne git-lager for PSU.

## Syntaks

### Status (standard)

```
Get-PSUGitStatus [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>] [<CommonParameters>]
```

### Commits

```
Get-PSUGitStatus [-Commits] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>] [<CommonParameters>]
```

### EditInProgress

```
Get-PSUGitStatus [-EditInProgress] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>] [<CommonParameters>]
```

### UncommittedChanges

```
Get-PSUGitStatus [-UncommittedChanges] [-ComputerName <String>] [-AppToken <String>]
 [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [-IncludeTotalCount] [-Skip <UInt64>] [-First <UInt64>]
 [<CommonParameters>]
```

## Beskrivelse

Returnerer status for det interne git-lager for PSU. Dette vil returnere en liste over git-synkroniseringsjobs.

## Eksempler

### Eksempel 1

```
PS C:\> Get-UAGitStatus
```

Returnerer en liste over git-synkroniseringsjobs.

## Parametre

### -AppToken

Et app-token til at få adgang til PSU-API'en.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ComputerName

HTTP-adressen på PSU REST API-serveren.

```yaml
Type: String
Parameter Sets: (All)
Aliases: Uri

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Integrated

Udfører kommandoen internt i stedet for at bruge Management API. Virker kun, når scriptet køres inde fra PowerShell Universal.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Commits

Returnerer commitoplysninger i stedet for standardstatusvisningen.

```yaml
Type: SwitchParameter
Parameter Sets: Commits
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Credential

Legitimationsoplysninger til at logge på PowerShell Universal Management API.

```yaml
Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -EditInProgress

Returnerer den aktuelle statusvisning for igangværende Git-redigering.

```yaml
Type: SwitchParameter
Parameter Sets: EditInProgress
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -First

Henter kun det angivne antal objekter. Indtast antallet af objekter, der skal hentes.

```yaml
Type: UInt64
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -IncludeTotalCount

Rapporterer det samlede antal objekter i datasættet (et heltal) efterfulgt af de valgte objekter. Hvis cmdletten ikke kan bestemme det samlede antal, viser den "Unknown total count." Heltallet har egenskaben Accuracy, som angiver pålideligheden af værdien for det samlede antal. Værdien af Accuracy går fra 0.0 til 1.0, hvor 0.0 betyder, at cmdletten ikke kunne tælle objekterne, 1.0 betyder, at antallet er nøjagtigt, og en værdi mellem 0.0 og 1.0 angiver et stadig mere pålideligt skøn.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Skip

Ignorerer det angivne antal objekter og henter derefter de resterende objekter. Angiv antallet af objekter, der skal springes over.

```yaml
Type: UInt64
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -UncommittedChanges

Returnerer ændringer, der ikke er committet, i stedet for standardstatusvisningen.

```yaml
Type: SwitchParameter
Parameter Sets: UncommittedChanges
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -TrustCertificate

Om cmdlet'en skal ignorere certifikatproblemer.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -UseDefaultCredentials

Om standardlegitimationsoplysninger skal bruges ved forbindelse til PowerShell Universal. Kræver, at Windows-godkendelse er aktiveret.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Cookies

Genbruger og bevarer godkendelsescookies for den aktuelle PowerShell-session.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

Denne cmdlet understøtter de fælles parametre: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable og -ProgressAction. Se [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216) for at få flere oplysninger.

## Input

### Ingen

## Output

### System.Object

## Noter

## Relaterede links

## Tilladelser

Adgangstokenet kræver `settings.gitstatus/read` for at køre denne cmdlet eksternt.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/powershell-universal/da/powershell-kommandoer/get-psugitstatus.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
