Get-PSUGitStatus
SYNOPSIS
Returns the status of the internal git repo for PSU.
SYNTAX
Status (Default)
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
DESCRIPTION
Returns the status of the internal git repo for PSU. This will return a list of git synchronization jobs.
EXAMPLES
Example 1
Returns a list of git sync jobs.
PARAMETERS
-AppToken
An app token to access the PSU API.
-ComputerName
The HTTP address of the PSU REST API server.
-Integrated
Executes the command internally rather than using the Management API. Only works when running script from within PowerShell Universal.
-Commits
Returns commit information instead of the default status view.
-Credential
Credentials to login to the PowerShell Universal Management API.
-EditInProgress
Returns the current Git edit-in-progress status view.
-First
Gets only the specified number of objects. Enter the number of objects to get.
-IncludeTotalCount
Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.
-Skip
Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.
-UncommittedChanges
Returns uncommitted changes instead of the default status view.
-TrustCertificate
Whether the cmdlet should ignore certificate issues.
-UseDefaultCredentials
Whether to use default credentials when connecting to PowerShell Universal. Requires Windows authentication to be enabled.
-Cookies
Reuses and persists authentication cookies for the current PowerShell session.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
PERMISSIONS
The access token requires settings.gitstatus/read to run this cmdlet remotely.
Last updated
Was this helpful?