Remove-PSUGitSetting
SYNOPSIS
Removes git settings from PowerShell Universal.
SYNTAX
Remove-PSUGitSetting -Settings <GitSettings> [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIPTION
Removes git settings from PowerShell Universal.
EXAMPLES
Example 1
PS C:\> Remove-PSUGitSettingRemoves git settings from PowerShell Universal.
PARAMETERS
-AppToken
The AppToken that is used for calling the PowerShell Universal Management API. You can also call Connect-PSUServer before calling this cmdlet to set the AppToken for the entire session.
-ComputerName
Specifies the computer name or URL that should be called when accessing the PowerShell Universal Management API. You can also use Connect-PSUServer before calling this cmdlet to set the computer name for the entire session.
-Credential
The credentials to use when connecting to the PowerShell Universal server.
-Integrated
Executes the command internally rather than using the Management API. Only works when running script from within PowerShell Universal.
-TrustCertificate
Whether the cmdlet should ignore certificate issues.
-UseDefaultCredentials
Use default credentials when connecting to the management API
-Settings
The settings to remove. This is a required parameter.
-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.git/delete to run this cmdlet remotely.
Last updated
Was this helpful?