Skip to main content

Get Installer

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 agent installer URL from the NinjaOne API.

SYNTAX

Get-NinjaOneInstaller [-organisationId] <Int32> [-locationId] <Int32> [-installerType] <String>
[-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Retrieves agent installer URL from the NinjaOne v2 API.

EXAMPLES

EXAMPLE 1

Get-NinjaOneInstaller -organisationId 1 -locationId 1 -installerType WINDOWS_MSI

Gets the agent installer URL for the location with id 1 in the organisation with id 1 for the Windows MSI installer.

EXAMPLE 2

Get-NinjaOneInstaller -organisationId 1 -locationId 1 -installerType MAC_PKG

Gets the agent installer URL for the location with id 1 in the organisation with id 1 for the Mac PKG installer.

PARAMETERS

-organisationId

The organisation id to get the installer for.

Type: Int32
Parameter Sets: (All)
Aliases: id, organizationId

Required: True
Position: 1
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-locationId

The location id to get the installer for.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-installerType

Installer type/platform.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
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

https://docs.homotechsual.dev/modules/ninjaone/commandlets/Get/installer