Skip to content

AzDoAPI_3_GroupMemberCache

github-actions[bot] edited this page Aug 18, 2026 · 1 revision

SYNOPSIS

Initializes and updates the Azure DevOps group member cache.

SYNTAX

AzDoAPI_3_GroupMemberCache [[-OrganizationName] <String>] 
 [<CommonParameters>]

DESCRIPTION

The AzDoAPI_3_GroupMemberCache function initializes and updates the cache for Azure DevOps group members. It retrieves the live group and user caches, iterates through each group, and updates the cache with the members of each group.

EXAMPLES

EXAMPLE 1

AzDoAPI_3_GroupMemberCache -OrganizationName "MyOrganization"
Initializes and updates the group member cache for the specified Azure DevOps organization.

PARAMETERS

-OrganizationName

The name of the Azure DevOps organization. If not provided, the global variable $Global:DSCAZDO_OrganizationName is used.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

  • This function relies on the Get-CacheObject, List-DevOpsGroupMembers, and Add-CacheItem functions.
  • The cache is exported to a file at the end of the function.
  • Verbose output is used to indicate the progress of the function.

RELATED LINKS

Commands

Resources

Clone this wiki locally