< Back

Add-AzDoServiceEndpointSecurityRole

Sat Jan 18, 2020 7:37 pm

NAME Add-AzDoServiceEndpointSecurityRole



SYNOPSIS

This command provides the ability to add a new member to an Azure DevOps Sevice Endpoint





SYNTAX

Add-AzDoServiceEndpointSecurityRole [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] [-EndpointName

<String>] [-MemberName <String>] [-RoleName <String>] [-WhatIf] [-Confirm] [<CommonParameters>]



Add-AzDoServiceEndpointSecurityRole [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] [-EndpointId

<Guid>] [-MemberName <String>] [-RoleName <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

The command will add the speciifed user/group for a speciifc role to the service endpoint





PARAMETERS

-AzDoConnection <AzDoConnectObject>

Common Parameters



Required? false

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-ApiVersion <String>

Allows for specifying a specific version of the api to use (default is 5.0)



Required? false

Position? named

Default value $global:AzDoApiVersion

Accept pipeline input? false

Accept wildcard characters? false



-EndpointName <String>

The name of the service endpoint



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-EndpointId <Guid>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-MemberName <String>

The name of the user or group to add



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RoleName <String>

The name of the role to add the member to



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

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



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



Add-AzDoServiceEndpointSecurityRole -EndpointName <end point name>-UserName <user name> -RoleName <role name>















RELATED LINKS

https://github.com/ravensorb/Posh-AzureDevOps