Organisation End Users
Generated Cmdlet Help
This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.
SYNOPSIS
Gets end users for an organisation.
SYNTAX
Get-NinjaOneOrganisationEndUsers [-organisationId] <Int32> [-includeRoles] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTION
Returns list of end users for a specific organisation via the NinjaOne v2 API.
EXAMPLES
EXAMPLE 1
Get-NinjaOneOrganisationEndUsers -organisationId 1 -includeRoles
Gets end users for organisation 1 including roles.
PARAMETERS
-organisationId
{{ Fill organisationId Description }}
Type: Int32
Parameter Sets: (All)
Aliases: organizationId
Required: True
Position: 1
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-includeRoles
Includes user role information
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: False
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
A PowerShell object containing the response.
NOTES
RELATED LINKS
https://docs.homotechsual.dev/modules/ninjaone/commandlets/Get/organisation-endusers