Skip to content

New-SQLRSGroup

SYNOPSIS

Creates a new SQL Reporting Services (SSRS) Active Directory group.

SYNTAX

New-SQLRSGroup [-Path] <String> [-Rol] <String> [[-ManagedBy] <String>] [[-TaskNr] <Int32>]
 [<CommonParameters>]

DESCRIPTION

The `New-SQLRSGroup` function creates a new Active Directory group for SQL Reporting Services (SSRS). The group is created with a specified role (e.g., Browser or Admin), a managed-by account, and an optional task number for tracking purposes.

EXAMPLES

EXAMPLE 1

New-SQLRSGroup -Path "FinanceReports" -Rol "Browser"

Creates a new SSRS group for the path "FinanceReports" with the role "Browser."

EXAMPLE 2

New-SQLRSGroup -Path "HRReports" -Rol "Admin" -ManagedBy "L_ADM_HR_Administrators" -TaskNr 12345

Creates a new SSRS group for the path "HRReports" with the role "Admin," managed by "L_ADM_HR_Administrators," and logs the task with number 12345.

PARAMETERS

-Path

The path or name associated with the SSRS group. This will be used to generate the group name.

Type: String
Parameter Sets: (All)
Aliases:

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

-Rol

The role of the SSRS group. Must be either 'Browser' or 'Admin'.

Type: String
Parameter Sets: (All)
Aliases:

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

-ManagedBy

The account that manages the group. Defaults to 'L_ADM_BI_Administrators'.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: L_ADM_BI_Administrators
Accept pipeline input: False
Accept wildcard characters: False

-TaskNr

An optional task number associated with the creation of the group. Defaults to -1.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: -1
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