# Homotechsual Documentation > Documentation for various homotechsual projects, including the HaloAPI and NinjaOne PowerShell modules as well as useful API documentation for some MSP focussed tools... ## Admonitions ### Admonitions discord Discord Admonition [Link](/common/admonitions.md) info Info Admonition [Link](/common/admonitions.md) success Success Admonition [Link](/common/admonitions.md) danger Danger Admonition [Link](/common/admonitions.md) note Note Admonition [Link](/common/admonitions.md) tip Tip Admonition [Link](/common/admonitions.md) warning Warning Admonition [Link](/common/admonitions.md) important Important Admonition [Link](/common/admonitions.md) caution Caution Admonition [Link](/common/admonitions.md) release Release Admonition [Link](/common/admonitions.md) ninja Ninja Admonition [Link](/common/admonitions.md) --- ## Common ### Overview [![Discord](https://img.shields.io/discord/1075421628424523816?style=for-the-badge\&logo=discord\&logoColor=white\&label=Discord) ](https://discord.gg/NrCjh5ht7K)[![GitHub contributors](https://img.shields.io/github/contributors/homotechsual/homotechsualdocs?style=for-the-badge\&logo=github)](https://github.com/homotechsual/homotechsualdocs/) [![License](https://img.shields.io/github/license/homotechsual/HaloAPI?style=for-the-badge)](https://mit.license.homotechsual.dev/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/homotechsual?style=for-the-badge)](https://github.com/sponsors/homotechsual/) #### About[​](#about "Direct link to About") This section of the site holds documentation relating to common technologies used across other projects including information on how this documentation site is built. It is intentended to be used alongside the [Contributing](/contributing) section of the site which contains information on how to contribute to the various projects and the documentation itself. #### Sections[​](#sections "Direct link to Sections") * [Docusaurus](/docs/docusaurus/) - Information on how this documentation site is built, the versions and key customisations applied. * [CI / CD](/docs/ci-cd/) - Information on the CI / CD pipelines used across the various projects. * [Build Tools](/docs/build-tools/) - Information on the build tools used across the various projects. * [Code Quality](/docs/code-quality/) - Information on the code quality tools used across the various projects. * [Coding Standards](/docs/coding-standards/) - Information on the coding standards used across the various projects and how they are enforced. --- ## Docusaurus ### Docusaurus This site is built using [Docusaurus](https://docusaurus.io/), built using CloudFlare Workers and deployed to CloudFlare Pages. The deployed version of the site includes a mixture of generated documentation and manually written documentation. Generated documentation is updated directly from the relevant source code repositories, while manually written documentation is updated by editing the Markdown files in the `docs` directory of this repository. Generated source files are indicated with an admonition at the top of the page. #### How does the generated documentation get built?[​](#how-does-the-generated-documentation-get-built "Direct link to How does the generated documentation get built?") The generated documentation is built using a Microsoft Azure DevOps pipeline. The pipeline is triggered by any changes to the source code and triggers a custom build script which utilises a mixture of custom PowerShell and the `Alt.Docusaurus.PowerShell` PowerShell module to build the documentation into a format that can be consumed by Docusaurus. The pipeline then commits the generated documentation to the `docs` directory of this repository, which is then deployed to CloudFlare Pages. #### Docusaurus-compatible Markdown generation script[​](#docusaurus-compatible-markdown-generation-script "Direct link to Docusaurus-compatible Markdown generation script") You'll can find an example of the script used to generate our Docusaurus-compatible documentation in each of the module (or tool) repositories. The script will be part of the repository's `*.build.ps1` script file where `*` is the name of the module (or tool). The script starts by building a module/tool specific list of files to exclude from the documentation. The way this is done depends on the module/tool, but generally involves excluding files that are not relevant to the documentation, such as build scripts, test scripts, etc and files which contain private or internal functions. Gradually documentation will expand to cover private and internal functions, but for now we're only documenting public functions. The script then builds parameters for the `New-DocusaurusMarkdown` function from the `Alt.Docusaurus.PowerShell` module. The parameters vary slightly depending on the structure/style of the module/tool. The script then calls the `New-DocusaurusMarkdown` function to generate the Docusaurus-compatible Markdown files and rebuilds the docusaurus site. After generating the docs the system goes through and adds some additional scaffolding files like `_category_.json` files used to mark sidebar categories for Docusaurus. --- ## Examples ### Overview [![Discord](https://img.shields.io/discord/1075421628424523816?style=for-the-badge\&logo=discord\&logoColor=white\&label=Discord) ](https://discord.gg/NrCjh5ht7K)[![GitHub contributors](https://img.shields.io/github/contributors/homotechsual/homotechsualdocs?style=for-the-badge\&logo=github)](https://github.com/homotechsual/homotechsualdocs/) [![License](https://img.shields.io/github/license/homotechsual/HaloAPI?style=for-the-badge)](https://mit.license.homotechsual.dev/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/homotechsual?style=for-the-badge)](https://github.com/sponsors/homotechsual/) #### About[​](#about "Direct link to About") This section of the site holds examples which use the various modules / tools documented on this site. These examples are meant to be used as a reference for how to use the modules / tools, not all are designed to be used as-is. --- ## Haloapi ### Overview [![Homotechsual Discord](https://img.shields.io/discord/1075421628424523816?style=for-the-badge\&logo=discord\&logoColor=white\&label=Homotechsual%20Discord)](https://discord.gg/NrCjh5ht7K) [![HaloPSA Community Discord](https://img.shields.io/discord/1044558967545806940?style=for-the-badge\&logo=discord\&logoColor=white\&label=HaloPSA%20Community%20Discord)](https://discord.halopsa.community) [![HaloITSM Admin Hangout Discord](https://img.shields.io/discord/1050832376185495562?style=for-the-badge\&logo=discord\&logoColor=white\&label=HaloITSM%20Admin%20Hangout%20Discord)](https://discord.gg/vy53fYdPkW) [![GitHub contributors](https://img.shields.io/github/contributors/homotechsual/haloapi?style=for-the-badge\&logo=github)](https://github.com/homotechsual/haloapi/) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/homotechsual/HaloAPI/release.yml?style=for-the-badge\&label=Release)](https://github.com/homotechsual/HaloAPI/actions/workflows/release.yml) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/homotechsual/HaloAPI/ci.yml?style=for-the-badge\&label=CI)](https://github.com/homotechsual/HaloAPI/actions/workflows/ci.yml) [![Codecov (with branch)](https://img.shields.io/codecov/c/github/homotechsual/HaloAPI/develop?style=for-the-badge)](https://codecov.io/gh/homotechsual/HaloAPI) [![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/HaloAPI?style=for-the-badge)](https://www.powershellgallery.com/packages/HaloAPI/) [![License](https://img.shields.io/github/license/homotechsual/HaloAPI?style=for-the-badge)](https://mit.license.homotechsual.dev) [![GitHub Sponsors](https://img.shields.io/github/sponsors/homotechsual?style=for-the-badge)](https://github.com/sponsors/homotechsual/) [![Stable Release](https://img.shields.io/powershellgallery/v/HaloAPI?label=Stable+Release\&style=for-the-badge)](https://www.powershellgallery.com/packages/HaloAPI/) [![Preview Release](https://img.shields.io/powershellgallery/v/HaloAPI?label=Preview+Release\&include_prereleases\&style=for-the-badge)](https://www.powershellgallery.com/packages/HaloAPI/) #### About[​](#about "Direct link to About") This module provides a PowerShell interface to the Halo API. It's designed to for PowerShell developers to build their own PowerShell scripts and modules to interact with Halo. It's well tested for Halo Professional Services Automation (PSA) but should work with Halo IT Service Management (ITSM), Halo Service Desk and Halo Customer Relationship Management (CRM). #### Code Coverage[​](#code-coverage "Direct link to Code Coverage") Code coverage is generated in CI for the `Meta` and `Unit` suites. CI enforces a minimum 70% coverage threshold for the `Unit` suite. Coverage artifacts are uploaded for each run as: * `code-coverage-meta-results` (`.artifacts/CodeCoverage.meta.xml`) * `code-coverage-unit-results` (`.artifacts/CodeCoverage.unit.xml`) You can access them from the CI workflow runs: [GitHub Actions CI workflow](https://github.com/homotechsual/HaloAPI/actions/workflows/ci.yml) #### Installing[​](#installing "Direct link to Installing") This module is published to the [PowerShell Gallery](https://www.powershellgallery.com/packages/HaloAPI/). You can install it using the following command: ```powershell Install-Module -Name HaloAPI ``` From time-to-time, preview releases will be published to the PowerShell Gallery. These are not considered stable and should not be used in production. You can install preview releases using the following command: ```powershell Install-Module -Name HaloAPI -AllowPrerelease ``` #### Getting Started[​](#getting-started "Direct link to Getting Started") The first and probably most important requirement for this module is getting it connected to your Halo instance. ##### Creating an application in Halo[​](#creating-an-application-in-halo "Direct link to Creating an application in Halo") 1. In your Halo instance head to **Configuration** > **Integrations** > **Halo PSA API**
This might be *Halo Service Desk API* or *Halo ITSM API*. 2. Select **View Applications**
All going well you should be at `config/integrations/api/applications`. 3. Select **New** to add a new API application. 4. Enter the **Application Name**.
For example *HaloAPI PS Module*. 5. Make sure you check the **Active** box. 6. Set the **Authentication Method** to *Client ID and Secret (Services)*. 7. Store the **Client ID** and **Client Secret** securely. 8. Set the **Login Type** and **Agent to login as** appropriately.
*This setting determines who appears to be responsible for these API calls. You may want to create a dedicated agent user for this purpose.* 9. Select the **Permissions** tab. 10. Grant the application the permissions required for your purposes.
*You should limit the API to only the permissions it needs to do the job you're scripting for.* #### Known Issues[​](#known-issues "Direct link to Known Issues") Not all Halo's API endpoints have cmdlets but all documented endpoints exist in this module, along with many other undocumented endpoints. Want an endpoint / functionality implemented? Log an issue on [GitHub](https://github.com/homotechsual/haloapi/issues) and if possible someone might add it, or you can implement it yourself. For little used or one-off endpoints you can call `Invoke-HaloRequest` directly to reuse the same authentication token/connection and run arbitrary requests. See the [cmdlet documentation](/modules/haloapi/commandlets/invoke/Invoke-HaloRequest.mdx) for more information. --- ### Connect to Services #### [ Connect-HaloAPI](/modules/haloapi/commandlets/Connect/Connect-HaloAPI.md) [This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/haloapi/commandlets/Connect/Connect-HaloAPI.md) --- ### Create Data #### [ New-HaloAction](/modules/haloapi/commandlets/New/New-HaloAction.md) [This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/haloapi/commandlets/New/New-HaloAction.md) --- ### Invoke Actions #### [ Invoke-HaloRequest](/modules/haloapi/commandlets/Invoke/Invoke-HaloRequest.md) [This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/haloapi/commandlets/Invoke/Invoke-HaloRequest.md) --- ### Remove Data #### [ Remove-HaloAction](/modules/haloapi/commandlets/Remove/Remove-HaloAction.md) [This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/haloapi/commandlets/Remove/Remove-HaloAction.md) --- ### Restore Data #### [ Restore-HaloTicket](/modules/haloapi/commandlets/Restore/Restore-HaloTicket.md) [This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/haloapi/commandlets/Restore/Restore-HaloTicket.md) --- ### Retrieve Information #### [ Get-HaloAction](/modules/haloapi/commandlets/Get/Get-HaloAction.md) [This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/haloapi/commandlets/Get/Get-HaloAction.md) --- ### Update Data (Set) #### [ Set-HaloAction](/modules/haloapi/commandlets/Set/Set-HaloAction.md) [This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/haloapi/commandlets/Set/Set-HaloAction.md) --- ### Connect-HaloAPI Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a new connection to a Halo instance. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Connect-HaloAPI [-URL ] [-ClientID ] [-ClientSecret ] [-Scopes ] [-Tenant ] [-AdditionalHeaders ] [-UseKeyVault ] [-SecretName ] [-VaultName ] [-SaveToKeyVault ] [-UseManagedIdentity] [-MaxRetries ] [-NoConfirm] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new connection to a Halo instance and stores this in a PowerShell Session. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Connect-HaloAPI -URL "https://example.halopsa.com" -ClientId "c9534241-dde9-4d04-9d45-32b1fbff22ed" -ClientSecret "14c0c9af-2db1-48ab-b29c-51975df4afa2-739e4ef2-9aad-4fe9-b486-794feca48ea8" -Scopes "all" -Tenant "demo" -VaultName "MyVault" -SaveToKeyVault $true This logs into Halo using the Client Credentials authorisation flow and saves the secrets to the specified Azure Key Vault for future use. ``` #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -URL[​](#-url "Direct link to -URL") The URL of the Halo instance to connect to. Not required if UseKeyVault is set to $true. ```yaml Type: Uri Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") The Client ID for the application configured in Halo. Not required if UseKeyVault is set to $true. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientSecret[​](#-clientsecret "Direct link to -ClientSecret") The Client Secret for the application configured in Halo. Not required if UseKeyVault is set to $true. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Scopes[​](#-scopes "Direct link to -Scopes") The API scopes to request, if this isn't passed the scope is assumed to be "all". Pass a string or array of strings. Limited by the scopes granted to the application in Halo. ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: False Position: Named Default value: All Accept pipeline input: False Accept wildcard characters: False ``` ##### -Tenant[​](#-tenant "Direct link to -Tenant") The tenant name required for hosted Halo instances. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AdditionalHeaders[​](#-additionalheaders "Direct link to -AdditionalHeaders") Hashtable containing additional parameters to be sent with each request. ```yaml Type: Hashtable Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -UseKeyVault[​](#-usekeyvault "Direct link to -UseKeyVault") If $true, retrieve parameters from Azure Key Vault. If $false, use parameters passed to function. ```yaml Type: Boolean Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -SecretName[​](#-secretname "Direct link to -SecretName") The name of the secret in the Azure Key Vault. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -VaultName[​](#-vaultname "Direct link to -VaultName") The name of the Azure Key Vault. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SaveToKeyVault[​](#-savetokeyvault "Direct link to -SaveToKeyVault") If $true, save parameters to Azure Key Vault. If $false or not specified, do not save parameters. ```yaml Type: Boolean Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -UseManagedIdentity[​](#-usemanagedidentity "Direct link to -UseManagedIdentity") When set to $true, uses a Managed Identity to connect to Azure Key Vault instead of interactive login. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -MaxRetries[​](#-maxretries "Direct link to -MaxRetries") The maximum number of times to retry requests before giving up. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: Named Default value: 10 Accept pipeline input: False Accept wildcard characters: False ``` ##### -NoConfirm[​](#-noconfirm "Direct link to -NoConfirm") Don't return a boolean to confirm the connection status. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Void[​](#systemvoid "Direct link to System.Void") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloAction Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets actions from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloAction [-Count ] -TicketID [-ExcludeSys] [-ConversationOnly] [-AgentOnly] [-SupplierOnly] [-ExcludePrivate] [-IncludeHTMLNote] [-IncludeHTMLEmail] [-IncludeAttachments] [-ImportantOnly] [-SLAOnly] [-IsChildNotes] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloAction -ActionID -TicketID [-AgentOnly] [-IncludeEmail] [-IncludeDetails] [-MostRecent] [-EmailOnly] [-NonSystem] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves actions from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ActionID[​](#-actionid "Direct link to -ActionID") Action ID. ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of actions to return. ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") Get actions for a single ticket with the specified ID. \[HaloPipelineIDArgumentTransformation()] ```yaml Type: Int32 Parameter Sets: (All) Aliases: ticket_id Required: True Position: Named Default value: 0 Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -ExcludeSys[​](#-excludesys "Direct link to -ExcludeSys") Exclude system-performed actions. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ConversationOnly[​](#-conversationonly "Direct link to -ConversationOnly") Only get actions that are part of agent to end user conversations. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -AgentOnly[​](#-agentonly "Direct link to -AgentOnly") Only get actions performed by agents. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -SupplierOnly[​](#-supplieronly "Direct link to -SupplierOnly") Only get actions that involve suppliers. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludePrivate[​](#-excludeprivate "Direct link to -ExcludePrivate") Exclude private actions. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeHTMLNote[​](#-includehtmlnote "Direct link to -IncludeHTMLNote") Include the action note HTML in the response. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeHTMLEmail[​](#-includehtmlemail "Direct link to -IncludeHTMLEmail") Include the action email HTML in the response. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeAttachments[​](#-includeattachments "Direct link to -IncludeAttachments") Include attachment details in the response. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ImportantOnly[​](#-importantonly "Direct link to -ImportantOnly") Only get important actions. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -SLAOnly[​](#-slaonly "Direct link to -SLAOnly") Only get SLA hold and release actions. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IsChildNotes[​](#-ischildnotes "Direct link to -IsChildNotes") Only get actions from child tickets. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeEmail[​](#-includeemail "Direct link to -IncludeEmail") Include the HTML and plain text email body in the response. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra detail objects. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -MostRecent[​](#-mostrecent "Direct link to -MostRecent") Ignore the '-ActionID' and get the most recent action for the '-TicketID' ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -EmailOnly[​](#-emailonly "Direct link to -EmailOnly") Only get email actions. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -NonSystem[​](#-nonsystem "Direct link to -NonSystem") Exclude system-performed actions. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloAgent Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets agents from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloAgent [-Team ] [-Search ] [-SectionID ] [-DepartmentID ] [-ClientID ] [-Role ] [-IncludeEnabled] [-IncludeDisabled] [-IncludeUnassigned] [-IncludeRoles] [-ShowAll] [-IncludeAPIAgents] [-CanEditOnly] [-IncludeNamedCount] [-ProgressAction ] [] ``` ##### Me[​](#me "Direct link to Me") ```powershell Get-HaloAgent [-Me] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloAgent -AgentID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves agents from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Me[​](#-me "Direct link to -Me") Get the agent object for the access token owner ```yaml Type: SwitchParameter Parameter Sets: Me Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -AgentID[​](#-agentid "Direct link to -AgentID") Agent ID. ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Team[​](#-team "Direct link to -Team") Filter by the specified team name. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filter by name, email address or telephone number using the specified search string. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SectionID[​](#-sectionid "Direct link to -SectionID") Filter by the specified team ID. ?ACT Query with Halo what this does! ```yaml Type: Int32 Parameter Sets: Multi Aliases: section_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -DepartmentID[​](#-departmentid "Direct link to -DepartmentID") Filter by the specified department ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: department_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by the specified client ID (agents who have access to this client). ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Role[​](#-role "Direct link to -Role") Filter by the specified role ID (requires int as string.) ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeEnabled[​](#-includeenabled "Direct link to -IncludeEnabled") Include agents with enabled accounts (defaults to $True). ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDisabled[​](#-includedisabled "Direct link to -IncludeDisabled") Include agents with disabled accounts. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeUnassigned[​](#-includeunassigned "Direct link to -IncludeUnassigned") Include the system unassigned agent account. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRoles[​](#-includeroles "Direct link to -IncludeRoles") Include the agent's roles list in the response. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra detail objects (for example teams and roles) in the response. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Show all agents, including those that have been deleted. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeAPIAgents[​](#-includeapiagents "Direct link to -IncludeAPIAgents") Include API agents in the response. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -CanEditOnly[​](#-caneditonly "Direct link to -CanEditOnly") Show only agents the API user has permissions to edit. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: can_edit_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeNamedCount[​](#-includenamedcount "Direct link to -IncludeNamedCount") Include counts of named license consumption in the response. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloAppointment Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets appointments from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloAppointment [-ShowAll] [-StartDate ] [-EndDate ] [-Agents ] [-ShowHolidays] [-ShowProjects] [-ShowChanges] [-ShowAppointments] [-Search ] [-AppointmentsOnly] [-TasksOnly] [-HideCompleted] [-TicketID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloAppointment -AppointmentID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves appointments from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AppointmentID[​](#-appointmentid "Direct link to -AppointmentID") Appointment ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Admin override to return all appointments ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -StartDate[​](#-startdate "Direct link to -StartDate") Return appointments with a start date greater than this value. ```yaml Type: String Parameter Sets: Multi Aliases: start_date Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -EndDate[​](#-enddate "Direct link to -EndDate") Return appointments with an end date greater than this value ```yaml Type: String Parameter Sets: Multi Aliases: end_date Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Agents[​](#-agents "Direct link to -Agents") Comma separated list of agent IDs. Returns these agent's appointments ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowHolidays[​](#-showholidays "Direct link to -ShowHolidays") Include the appointment type 'holiday' in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowProjects[​](#-showprojects "Direct link to -ShowProjects") Include projects in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowChanges[​](#-showchanges "Direct link to -ShowChanges") Include change requests in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAppointments[​](#-showappointments "Direct link to -ShowAppointments") Include appointments in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return appointments like this search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AppointmentsOnly[​](#-appointmentsonly "Direct link to -AppointmentsOnly") Only return appointments in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TasksOnly[​](#-tasksonly "Direct link to -TasksOnly") Only return tasks in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -HideCompleted[​](#-hidecompleted "Direct link to -HideCompleted") Exclude completed appointments from the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") Return appointments assigned to a particular ticket ```yaml Type: Int64 Parameter Sets: Multi Aliases: ticket_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Whether to include extra objects in the response ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloAsset Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets assets from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloAsset [-Paginate] [-PageSize ] [-PageNo ] [-Search ] [-TicketID ] [-ClientID ] [-SiteID ] [-Username ] [-AssetGroupID ] [-AssetTypeID ] [-LinkedToID ] [-includeinactive] [-includeactive] [-includechildren] [-ContractID ] [-FullObjects] [-AdvancedSearch ] [-AssetGroups ] [-AssetStatuses ] [-AssetTypes ] [-Bookmarked] [-ColumnsID ] [-Consignable] [-IncludeBillingPeriod] [-Count ] [-DomotzAgents] [-ExcludeThese ] [-IDOnly] [-includeallowedstatus] [-includeassetfields] [-includecolumns] [-includeservices] [-includeuser] [-IntegrationTenantIDs ] [-InventoryNumber ] [-ItemId ] [-ItemStockId ] [-KBId ] [-lastupdatefromdate] [-lastupdatetodate] [-LicenseID ] [-Mine] [-MySite] [-NoIcon] [-Order ] [-OrderDesc] [-Order2 ] [-OrderDesc2] [-Order3 ] [-OrderDesc3] [-Order4 ] [-OrderDesc4] [-Order5 ] [-OrderDesc5] [-ServiceId ] [-ServiceIds ] [-StockBinId ] [-StockBinIds ] [-SupplierContractId ] [-SupplierId ] [-SupplierContracts ] [-TicketTypeId ] [-UserId ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloAsset -AssetID [-IncludeDetails] [-IncludeDiagramDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves assets from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AssetID[​](#-assetid "Direct link to -AssetID") Asset ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: $Script:HAPIDefaultPageSize Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filter by Assets with an asset field like your search ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") Filter by Assets belonging to a particular ticket ```yaml Type: Int64 Parameter Sets: Multi Aliases: ticket_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by Assets belonging to a particular client ```yaml Type: Int64 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SiteID[​](#-siteid "Direct link to -SiteID") Filter by Assets belonging to a particular site ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Username[​](#-username "Direct link to -Username") Filter by Assets belonging to a particular user ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetGroupID[​](#-assetgroupid "Direct link to -AssetGroupID") Filter by Assets belonging to a particular Asset group ```yaml Type: Int64 Parameter Sets: Multi Aliases: assetgroup_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetTypeID[​](#-assettypeid "Direct link to -AssetTypeID") Filter by Assets belonging to a particular Asset type ```yaml Type: Int64 Parameter Sets: Multi Aliases: assettype_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -LinkedToID[​](#-linkedtoid "Direct link to -LinkedToID") Filter by Assets linked to a particular Asset ```yaml Type: Int64 Parameter Sets: Multi Aliases: linkedto_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeinactive[​](#-includeinactive "Direct link to -includeinactive") Include inactive Assets in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeactive[​](#-includeactive "Direct link to -includeactive") Include active Assets in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includechildren[​](#-includechildren "Direct link to -includechildren") Include child Assets in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ContractID[​](#-contractid "Direct link to -ContractID") Filter by Assets linked to a particular Asset ```yaml Type: Int64 Parameter Sets: Multi Aliases: contract_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -FullObjects[​](#-fullobjects "Direct link to -FullObjects") Parameter to return the complete objects. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDiagramDetails[​](#-includediagramdetails "Direct link to -IncludeDiagramDetails") Include the last action in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -AdvancedSearch[​](#-advancedsearch "Direct link to -AdvancedSearch") Advanced search query ```yaml Type: String Parameter Sets: Multi Aliases: advanced_search Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetGroups[​](#-assetgroups "Direct link to -AssetGroups") Asset groups to filter by ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetStatuses[​](#-assetstatuses "Direct link to -AssetStatuses") Asset statuses to filter by ```yaml Type: String[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetTypes[​](#-assettypes "Direct link to -AssetTypes") Asset types to filter by ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Bookmarked[​](#-bookmarked "Direct link to -Bookmarked") Filter by bookmarked assets ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ColumnsID[​](#-columnsid "Direct link to -ColumnsID") Use the provided column profile ```yaml Type: Int32 Parameter Sets: Multi Aliases: columns_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Consignable[​](#-consignable "Direct link to -Consignable") Filter by consignable assets ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeBillingPeriod[​](#-includebillingperiod "Direct link to -IncludeBillingPeriod") Include the billing period of the linked contract id ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: contract_id_adding_to Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Return this number of assets. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -DomotzAgents[​](#-domotzagents "Direct link to -DomotzAgents") Filter by assets with a linked Domotz agent ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeThese[​](#-excludethese "Direct link to -ExcludeThese") Exclude assets by id ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IDOnly[​](#-idonly "Direct link to -IDOnly") Return only the asset id ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeallowedstatus[​](#-includeallowedstatus "Direct link to -includeallowedstatus") Include the asset column `tallowallstatus` in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeassetfields[​](#-includeassetfields "Direct link to -includeassetfields") Include the asset fields in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includecolumns[​](#-includecolumns "Direct link to -includecolumns") Include column details in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeservices[​](#-includeservices "Direct link to -includeservices") Include assets linked service ids in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeuser[​](#-includeuser "Direct link to -includeuser") Include the user details in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IntegrationTenantIDs[​](#-integrationtenantids "Direct link to -IntegrationTenantIDs") Filter by integration tenant ids ```yaml Type: Int32[] Parameter Sets: Multi Aliases: integration_tenantids Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -InventoryNumber[​](#-inventorynumber "Direct link to -InventoryNumber") Filter by inventory number ```yaml Type: String Parameter Sets: Multi Aliases: inventory_number Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ItemId[​](#-itemid "Direct link to -ItemId") Filter by linked item id ```yaml Type: Int32 Parameter Sets: Multi Aliases: item_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ItemStockId[​](#-itemstockid "Direct link to -ItemStockId") Filter by linked item stock id ```yaml Type: Int32 Parameter Sets: Multi Aliases: itemstock_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -KBId[​](#-kbid "Direct link to -KBId") Filter by linked kb article id ```yaml Type: Int32 Parameter Sets: Multi Aliases: kb_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -lastupdatefromdate[​](#-lastupdatefromdate "Direct link to -lastupdatefromdate") Include the last update from date in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -lastupdatetodate[​](#-lastupdatetodate "Direct link to -lastupdatetodate") Include the last update to date in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -LicenseID[​](#-licenseid "Direct link to -LicenseID") Filter by assets assigned to a particular license ```yaml Type: Int32 Parameter Sets: Multi Aliases: license_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Mine[​](#-mine "Direct link to -Mine") Filter to assets owned by the current user ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -MySite[​](#-mysite "Direct link to -MySite") Filter to assets in the current user's site ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -NoIcon[​](#-noicon "Direct link to -NoIcon") Exclude the asset icon from the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") First field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results for the first field in descending order (respects the field choice in '-OrderBy') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order2[​](#-order2 "Direct link to -Order2") Second field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc2[​](#-orderdesc2 "Direct link to -OrderDesc2") Order results for the second field in descending order (respects the field choice in '-OrderBy2') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order3[​](#-order3 "Direct link to -Order3") Third field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc3[​](#-orderdesc3 "Direct link to -OrderDesc3") Order results for the third field in descending order (respects the field choice in '-OrderBy3') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order4[​](#-order4 "Direct link to -Order4") Fourth field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc4[​](#-orderdesc4 "Direct link to -OrderDesc4") Order results for the fourth field in descending order (respects the field choice in '-OrderBy4') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order5[​](#-order5 "Direct link to -Order5") Fifth field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc5[​](#-orderdesc5 "Direct link to -OrderDesc5") Order results for the fifth field in descending order (respects the field choice in '-OrderBy5') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ServiceId[​](#-serviceid "Direct link to -ServiceId") Filter by assets belonging to a particular service ```yaml Type: Int32 Parameter Sets: Multi Aliases: service_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ServiceIds[​](#-serviceids "Direct link to -ServiceIds") Filter by assets belonging to any of the specified services ```yaml Type: Int32[] Parameter Sets: Multi Aliases: service_ids Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -StockBinId[​](#-stockbinid "Direct link to -StockBinId") Filter by stockbin id ```yaml Type: Int32 Parameter Sets: Multi Aliases: stockbin_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -StockBinIds[​](#-stockbinids "Direct link to -StockBinIds") Filter by stockbin ids ```yaml Type: Int32[] Parameter Sets: Multi Aliases: stockbin_ids Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SupplierContractId[​](#-suppliercontractid "Direct link to -SupplierContractId") Filter by supplier contract id ```yaml Type: Int32 Parameter Sets: Multi Aliases: supplier_contract_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SupplierId[​](#-supplierid "Direct link to -SupplierId") Filter by supplier id ```yaml Type: Int32 Parameter Sets: Multi Aliases: supplier_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SupplierContracts[​](#-suppliercontracts "Direct link to -SupplierContracts") Filter by supplier contract ids ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketTypeId[​](#-tickettypeid "Direct link to -TicketTypeId") Filter by assets with linked tickets of the given type ```yaml Type: Int32 Parameter Sets: Multi Aliases: tickettype_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserId[​](#-userid "Direct link to -UserId") Filter by assets belonging to the given user id ```yaml Type: Int32 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloAssetType Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets asset types from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloAssetType [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-Search ] [-AssetGroupID ] [-includeinactive] [-includeactive] [-FullObjects] [-ShowAll] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloAssetType -AssetTypeID [-IncludeDetails] [-IncludeDiagramDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves asset types from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AssetTypeID[​](#-assettypeid "Direct link to -AssetTypeID") Asset Type ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: $Script:HAPIDefaultPageSize Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filter by AssetTypes with an asset type group like your search ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetGroupID[​](#-assetgroupid "Direct link to -AssetGroupID") Filter by Asset Types belonging to a particular Asset group ```yaml Type: Int64 Parameter Sets: Multi Aliases: assetgroup_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeinactive[​](#-includeinactive "Direct link to -includeinactive") Include inactive Asset Types in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeactive[​](#-includeactive "Direct link to -includeactive") Include active Asset Types in the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -FullObjects[​](#-fullobjects "Direct link to -FullObjects") Parameter to return the complete objects. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDiagramDetails[​](#-includediagramdetails "Direct link to -IncludeDiagramDetails") Include the last action in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Show all assets, including those that have been deleted. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloAttachment Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets attachments from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloAttachment -TicketID [-ActionID ] [-Type ] [-UniqueID ] [-ProgressAction ] [] ``` ##### SinglePath[​](#singlepath "Direct link to SinglePath") ```powershell Get-HaloAttachment -AttachmentID -OutPath [-ProgressAction ] [] ``` ##### SingleFile[​](#singlefile "Direct link to SingleFile") ```powershell Get-HaloAttachment -AttachmentID -OutFile [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloAttachment -AttachmentID [-IncludeDetails] [-AsBase64] [-GetToken] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves attachments from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AttachmentID[​](#-attachmentid "Direct link to -AttachmentID") Attachment ID ```yaml Type: Int64 Parameter Sets: SinglePath, SingleFile, Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") Returns attachments from the ticket ID specified ```yaml Type: Int64 Parameter Sets: Multi Aliases: ticket_id Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ActionID[​](#-actionid "Direct link to -ActionID") Returns attachments from the action ID specified (requires ticket\_id) ```yaml Type: Int64 Parameter Sets: Multi Aliases: action_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Type[​](#-type "Direct link to -Type") Returns attachments of the specified type ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UniqueID[​](#-uniqueid "Direct link to -UniqueID") Returns an attachment with the unique ID specified ```yaml Type: Int64 Parameter Sets: Multi Aliases: unique_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OutFile[​](#-outfile "Direct link to -OutFile") Allow Writing Directly to File, using the specified path and file name eg c:\temp\myfile.txt ```yaml Type: String Parameter Sets: SingleFile Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OutPath[​](#-outpath "Direct link to -OutPath") Allow Writing Directly to File, using the specified path and the original file name eg c:\temp\\ ```yaml Type: String Parameter Sets: SinglePath Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AsBase64[​](#-asbase64 "Direct link to -AsBase64") Return the attachment as a base64 encoded string ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -GetToken[​](#-gettoken "Direct link to -GetToken") Get the token for accessing the image using the token parameter(s). ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloAzureADConnection Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets Azure AD Connection information from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloAzureADConnection [-Type ] [-ShowAll ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloAzureADConnection -AzureConnectionID [-Type ] [-IncludeDetails] [-IncludeTenants] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves Azure AD Connection from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AzureConnectionID[​](#-azureconnectionid "Direct link to -AzureConnectionID") Lookup Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Type[​](#-type "Direct link to -Type") Type ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Show All ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include Details ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeTenants[​](#-includetenants "Direct link to -IncludeTenants") Include Tenants ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloBillingTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets billing templates from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloBillingTemplate [-ShowAll] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloBillingTemplate -TemplateID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves billing templates from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TemplateID[​](#-templateid "Direct link to -TemplateID") Template ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Show all results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: show_all Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include details in results ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloCategory Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets Category information from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloCategory [-TypeID ] [-ShowAll] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloCategory -CategoryID [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves Category types from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CategoryID[​](#-categoryid "Direct link to -CategoryID") Category ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -TypeID[​](#-typeid "Direct link to -TypeID") Type ID ```yaml Type: String Parameter Sets: Multi Aliases: type_id Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Include Details ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloClient Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets clients from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloClient [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-Search ] [-TopLevelID ] [-IncludeActive] [-IncludeInactive] [-Count ] [-FullObjects] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloClient -ClientID [-IncludeDetails] [-IncludeActivity] [-IncludePrepay] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves clients from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ClientID[​](#-clientid "Direct link to -ClientID") Client ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return clients matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -TopLevelID[​](#-toplevelid "Direct link to -TopLevelID") Filter by the specified top level ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: toplevel_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeActive[​](#-includeactive "Direct link to -IncludeActive") Include active clients in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInactive[​](#-includeinactive "Direct link to -IncludeInactive") Include inactive clients in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of clients to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -FullObjects[​](#-fullobjects "Direct link to -FullObjects") Parameter to return the complete objects. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeActivity[​](#-includeactivity "Direct link to -IncludeActivity") Include ticket activity in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludePrepay[​](#-includeprepay "Direct link to -IncludePrepay") Include prepay objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloContract Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets contracts from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloContract [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-Search ] [-Count ] [-FullObjects] [-ClientID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloContract -ContractID [-includeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves contracts from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ContractID[​](#-contractid "Direct link to -ContractID") Contract ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return contracts matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of contracts to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -FullObjects[​](#-fullobjects "Direct link to -FullObjects") Parameter to return the complete objects. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeDetails[​](#-includedetails "Direct link to -includeDetails") Include invoice Details ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by the specified client ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloControl Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets control information from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-HaloControl [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves control information from the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloCRMNote Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets CRM notes from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloCRMNote [-Count ] -ClientID [-IncludeHTMLNote] [-IncludeAttachments] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloCRMNote -CRMNoteID [-Count ] [-IncludeHTMLNote] [-IncludeAttachments] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves CRM notes from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CRMNoteID[​](#-crmnoteid "Direct link to -CRMNoteID") CRM note ID. ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of CRM notes to return. ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Get CRM notes for a single client with the specified ID. \[HaloPipelineIDArgumentTransformation()] ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: True Position: Named Default value: 0 Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -IncludeHTMLNote[​](#-includehtmlnote "Direct link to -IncludeHTMLNote") Include the CRM note HTML in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeAttachments[​](#-includeattachments "Direct link to -IncludeAttachments") Include attachment details in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloCustomButton Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets custom buttons from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloCustomButton [-Type ] [-TypeID ] [-IsButtonSetup] [-IncludeDetails] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloCustomButton -CustomButtonID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves custom buttons from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomButtonID[​](#-custombuttonid "Direct link to -CustomButtonID") Custom Button ID. ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Type[​](#-type "Direct link to -Type") Filter by the specified type. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -TypeID[​](#-typeid "Direct link to -TypeID") Filter by the specified type ID. ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IsButtonSetup[​](#-isbuttonsetup "Direct link to -IsButtonSetup") Include custom buttons which are setup (defaults to $True). ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra detail objects in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloCustomField Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets Custom Fields from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloCustomField [-Count ] [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloCustomField -CustomFieldID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves Custom Fields from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomFieldID[​](#-customfieldid "Direct link to -CustomFieldID") Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") The name of the first field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloCustomTable Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets custom tables from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloCustomTable [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloCustomTable -CustomTableId [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves custom tables from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomTableId[​](#-customtableid "Direct link to -CustomTableId") Custom Table ID. ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloDashboard Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets dashboards from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloDashboard [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloDashboard -DashboardID [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves dashboards from the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DashboardID[​](#-dashboardid "Direct link to -DashboardID") Dashboard ID. ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloDistributionList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets distribution lists from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloDistributionList [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-Search ] [-Count ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloDistributionList -DistributionListID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves distribution lists from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DistributionListID[​](#-distributionlistid "Direct link to -DistributionListID") Distribution List ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") The field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return distribution lists matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of distribution lists to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloDistributionListMember Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets members of a distribution list from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-HaloDistributionListMember [-DistributionListID] [-Paginate] [[-PageSize] ] [[-PageNo] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves members of a specific distribution list from the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DistributionListID[​](#-distributionlistid "Direct link to -DistributionListID") Distribution List ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: page_size Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: (All) Aliases: page_no Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloFAQList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets FAQ List information from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloFAQList [-Type ] [-ShowAll ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloFAQList -FAQListID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves FAQ Lists from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -FAQListID[​](#-faqlistid "Direct link to -FAQListID") Lookup Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Type[​](#-type "Direct link to -Type") Type ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Show All ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include Details ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloField Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets field information from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloField [-Kind ] [-IncludeDetails] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloField -FieldID [-Kind ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves field types from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -FieldID[​](#-fieldid "Direct link to -FieldID") Lookup Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Kind[​](#-kind "Direct link to -Kind") Kind ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include Details ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloInvoice Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets invoices from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloInvoice [-Count ] [-Search ] [-Paginate] [-PageSize ] [-PageNo ] [-OrderBy ] [-OrderByDesc] [-OrderBy2 ] [-OrderByDesc2] [-OrderBy3 ] [-OrderByDesc3] [-OrderBy4 ] [-OrderByDesc4] [-OrderBy5 ] [-OrderByDesc5] [-TicketID ] [-ClientID ] [-SiteID ] [-UserID ] [-PostedOnly] [-NotPostedOnly] [-PaymentStatuses ] [-PaymentStatusIds ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloInvoice -InvoiceID [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves invoices from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -InvoiceID[​](#-invoiceid "Direct link to -InvoiceID") Invoice ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of invoices to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return contracts matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy[​](#-orderby "Direct link to -OrderBy") First field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc[​](#-orderbydesc "Direct link to -OrderByDesc") Order results for the first field in descending order (respects the field choice in '-OrderBy') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy2[​](#-orderby2 "Direct link to -OrderBy2") Second field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc2[​](#-orderbydesc2 "Direct link to -OrderByDesc2") Order results for the second field in descending order (respects the field choice in '-OrderBy2') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy3[​](#-orderby3 "Direct link to -OrderBy3") Third field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc3[​](#-orderbydesc3 "Direct link to -OrderByDesc3") Order results for the third field in descending order (respects the field choice in '-OrderBy3') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy4[​](#-orderby4 "Direct link to -OrderBy4") Fourth field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc4[​](#-orderbydesc4 "Direct link to -OrderByDesc4") Order results for the fourth field in descending order (respects the field choice in '-OrderBy4') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy5[​](#-orderby5 "Direct link to -OrderBy5") Fifth field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc5[​](#-orderbydesc5 "Direct link to -OrderByDesc5") Order results for the fifth field in descending order (respects the field choice in '-OrderBy5') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") Filter by the specified ticket ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: ticket_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by the specified client ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SiteID[​](#-siteid "Direct link to -SiteID") Filter by the specified site ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: site_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserID[​](#-userid "Direct link to -UserID") Filter by the specified user ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PostedOnly[​](#-postedonly "Direct link to -PostedOnly") Filter for posted invoices only. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -NotPostedOnly[​](#-notpostedonly "Direct link to -NotPostedOnly") Filter for non-posted invoices only. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PaymentStatuses[​](#-paymentstatuses "Direct link to -PaymentStatuses") Filter by payment status. Provide a string separated by HTML encoded commas. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -PaymentStatusIds[​](#-paymentstatusids "Direct link to -PaymentStatusIds") Filter by payment status. Provide an array of integers. ```yaml Type: Int64[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloItem Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets items from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloItem [-Count ] [-Search ] [-Paginate] [-PageSize ] [-PageNo ] [-OrderBy ] [-OrderByDesc] [-OrderBy2 ] [-OrderByDesc2] [-OrderBy3 ] [-OrderByDesc3] [-OrderBy4 ] [-OrderByDesc4] [-OrderBy5 ] [-OrderByDesc5] [-IncludeInactive] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloItem -ItemID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves items from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ItemID[​](#-itemid "Direct link to -ItemID") Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filters response based on the search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy[​](#-orderby "Direct link to -OrderBy") The name of the first field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc[​](#-orderbydesc "Direct link to -OrderByDesc") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy2[​](#-orderby2 "Direct link to -OrderBy2") The name of the second field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc2[​](#-orderbydesc2 "Direct link to -OrderByDesc2") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy3[​](#-orderby3 "Direct link to -OrderBy3") The name of the third field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc3[​](#-orderbydesc3 "Direct link to -OrderByDesc3") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy4[​](#-orderby4 "Direct link to -OrderBy4") The name of the fourth field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc4[​](#-orderbydesc4 "Direct link to -OrderByDesc4") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy5[​](#-orderby5 "Direct link to -OrderBy5") The name of the fifth field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc5[​](#-orderbydesc5 "Direct link to -OrderByDesc5") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInactive[​](#-includeinactive "Direct link to -IncludeInactive") Include inactive items in the result. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloKBArticle Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets knowledgebase articles from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloKBArticle [-Count ] [-Search ] [-AdvancedSearch ] [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloKBArticle -KBArticleID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves knowledgebase articles from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -KBArticleID[​](#-kbarticleid "Direct link to -KBArticleID") Article ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filters response based on the search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AdvancedSearch[​](#-advancedsearch "Direct link to -AdvancedSearch") Advanced Search ```yaml Type: String Parameter Sets: Multi Aliases: advanced_search Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") The name of the first field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloLookup Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets lookup information from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloLookup [-Lookup ] [-LookupID ] [-ShowAll] [-ExcludeZero] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloLookup -ItemID [-Lookup ] [-LookupID ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves lookup types from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ItemID[​](#-itemid "Direct link to -ItemID") Lookup Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Lookup[​](#-lookup "Direct link to -Lookup") Lookup Type ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -LookupID[​](#-lookupid "Direct link to -LookupID") Lookup ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Show all records ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeZero[​](#-excludezero "Direct link to -ExcludeZero") Exclude default lookup options with ID 0. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: exclude_zero Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloObjectTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets an object template for the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-HaloObjectTemplate [-Type] [-NullVariables] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Provides an example object for use in provisioning items in the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Type[​](#-type "Direct link to -Type") Type of object to get template for ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -NullVariables[​](#-nullvariables "Direct link to -NullVariables") Return with null values ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloOpportunity Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets opportunities from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloOpportunity [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-TicketIDOnly] [-ViewID ] [-ColumnsID ] [-IncludeColumns] [-IncludeSLAActionDate] [-IncludeSLATimer] [-IncludeTimeTaken] [-IncludeSupplier] [-IncludeRelease1] [-IncludeRelease2] [-IncludeRelease3] [-IncludeChildIDs] [-IncludeNextActivityDate] [-ListID ] [-AgentID ] [-StatusID ] [-RequestTypeID ] [-SupplierID ] [-ClientID ] [-Site ] [-UserName ] [-UserID ] [-ReleaseID ] [-AssetID ] [-ITILRequestTypeID ] [-OpenOnly] [-ClosedOnly] [-UnlinkedOnly] [-ContractID ] [-WithAttachments] [-Team ] [-Agent ] [-Status ] [-RequestType ] [-ITILRequestType ] [-Category1 ] [-Category2 ] [-Category3 ] [-Category4 ] [-SLA ] [-Priority ] [-Products ] [-Flagged ] [-ExcludeThese ] [-Search ] [-SearchActions] [-DateSearch ] [-StartDate ] [-EndDate ] [-SearchUserName ] [-SearchSummary ] [-SearchDetails ] [-SearchReportedBy ] [-SearchVersion ] [-SearchRelease1 ] [-SearchRelease2 ] [-SearchRelease3 ] [-SearchReleaseNote ] [-SearchInventoryNumber ] [-SearchOppContactName ] [-SearchOppCompanyName ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloOpportunity -OpportunityID [-TicketIDOnly] [-IncludeDetails] [-IncludeLastAction] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves opportunities from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -OpportunityID[​](#-opportunityid "Direct link to -OpportunityID") Opportunity ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketIDOnly[​](#-ticketidonly "Direct link to -TicketIDOnly") Return only the 'ID' fields (Ticket ID, SLA ID, Status ID, Client ID, Client Name and Last Incoming Email date) ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewID[​](#-viewid "Direct link to -ViewID") The ID of the filter profile to use to filter results. ```yaml Type: Int32 Parameter Sets: Multi Aliases: view_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ColumnsID[​](#-columnsid "Direct link to -ColumnsID") The ID of the column profile to use to control data returned in the results. ```yaml Type: Int32 Parameter Sets: Multi Aliases: columns_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeColumns[​](#-includecolumns "Direct link to -IncludeColumns") Include column details in the the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSLAActionDate[​](#-includeslaactiondate "Direct link to -IncludeSLAActionDate") Include SLA action date in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSLATimer[​](#-includeslatimer "Direct link to -IncludeSLATimer") Include SLA timer in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeTimeTaken[​](#-includetimetaken "Direct link to -IncludeTimeTaken") Include time taken in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSupplier[​](#-includesupplier "Direct link to -IncludeSupplier") Include supplier details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease1[​](#-includerelease1 "Direct link to -IncludeRelease1") Include release 1 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease2[​](#-includerelease2 "Direct link to -IncludeRelease2") Include release 2 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease3[​](#-includerelease3 "Direct link to -IncludeRelease3") Include release 3 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeChildIDs[​](#-includechildids "Direct link to -IncludeChildIDs") Include child ticket IDs in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeNextActivityDate[​](#-includenextactivitydate "Direct link to -IncludeNextActivityDate") Include next activity date in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ListID[​](#-listid "Direct link to -ListID") Filter by the specified list. ```yaml Type: Int32 Parameter Sets: Multi Aliases: list_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AgentID[​](#-agentid "Direct link to -AgentID") Filter by the specified agent. ```yaml Type: Int32 Parameter Sets: Multi Aliases: agent_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -StatusID[​](#-statusid "Direct link to -StatusID") Filter by the specified status. ```yaml Type: Int32 Parameter Sets: Multi Aliases: status_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -RequestTypeID[​](#-requesttypeid "Direct link to -RequestTypeID") Filter by the specified request type. ```yaml Type: Int32 Parameter Sets: Multi Aliases: requesttype_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SupplierID[​](#-supplierid "Direct link to -SupplierID") Filter by the specified supplier. ```yaml Type: Int32 Parameter Sets: Multi Aliases: supplier_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by the specified client. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Site[​](#-site "Direct link to -Site") Filter by the specified site. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserName[​](#-username "Direct link to -UserName") Filter by the specified user name. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserID[​](#-userid "Direct link to -UserID") Filter by the specified user ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ReleaseID[​](#-releaseid "Direct link to -ReleaseID") Filter by the specified release. ```yaml Type: Int32 Parameter Sets: Multi Aliases: release_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetID[​](#-assetid "Direct link to -AssetID") Filter by the specified asset. ```yaml Type: Int32 Parameter Sets: Multi Aliases: asset_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ITILRequestTypeID[​](#-itilrequesttypeid "Direct link to -ITILRequestTypeID") Filter by the specified ITIL request type. ```yaml Type: Int32 Parameter Sets: Multi Aliases: itil_requesttype_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -OpenOnly[​](#-openonly "Direct link to -OpenOnly") Return only open tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: open_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClosedOnly[​](#-closedonly "Direct link to -ClosedOnly") Return only closed tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: closed_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -UnlinkedOnly[​](#-unlinkedonly "Direct link to -UnlinkedOnly") Return only unlinked tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: unlinked_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ContractID[​](#-contractid "Direct link to -ContractID") Filter by the specified contract ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: contract_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WithAttachments[​](#-withattachments "Direct link to -WithAttachments") Return only tickets with attachments in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Team[​](#-team "Direct link to -Team") Filter by the specified array of team IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Agent[​](#-agent "Direct link to -Agent") Filter by the specified array of agent IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Status[​](#-status "Direct link to -Status") Filter by the specified array of status IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -RequestType[​](#-requesttype "Direct link to -RequestType") Filter by the specified array of request type IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ITILRequestType[​](#-itilrequesttype "Direct link to -ITILRequestType") Filter by the specified array of ITIL request type IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: itil_requesttype Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category1[​](#-category1 "Direct link to -Category1") Filter by the specified array of category 1 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_1 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category2[​](#-category2 "Direct link to -Category2") Filter by the specified array of category 2 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_2 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category3[​](#-category3 "Direct link to -Category3") Filter by the specified array of category 3 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_3 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category4[​](#-category4 "Direct link to -Category4") Filter by the specified array of category 4 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_4 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SLA[​](#-sla "Direct link to -SLA") Filter by the specified array of SLA IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Priority[​](#-priority "Direct link to -Priority") Filter by the specified array of priority IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Products[​](#-products "Direct link to -Products") Filter by the specified array of product IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Flagged[​](#-flagged "Direct link to -Flagged") Filter by the specified array of flagged ticket IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeThese[​](#-excludethese "Direct link to -ExcludeThese") Exclude the specified array of ticket IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return tickets matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchActions[​](#-searchactions "Direct link to -SearchActions") Include actions when searching. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -DateSearch[​](#-datesearch "Direct link to -DateSearch") Which date field to search against. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -StartDate[​](#-startdate "Direct link to -StartDate") Start date for use with the '-datesearch' parameter. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -EndDate[​](#-enddate "Direct link to -EndDate") End date for use with the '-datesearch' parameter. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchUserName[​](#-searchusername "Direct link to -SearchUserName") Return tickets where the user name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_user_name Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchSummary[​](#-searchsummary "Direct link to -SearchSummary") Return tickets where the summary matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_summary Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchDetails[​](#-searchdetails "Direct link to -SearchDetails") Return tickets where the details matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_details Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchReportedBy[​](#-searchreportedby "Direct link to -SearchReportedBy") Return tickets where the reported by matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_reportedby Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchVersion[​](#-searchversion "Direct link to -SearchVersion") Return tickets where the software version matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_version Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease1[​](#-searchrelease1 "Direct link to -SearchRelease1") Return tickets where release 1 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release1 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease2[​](#-searchrelease2 "Direct link to -SearchRelease2") Return tickets where release 2 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release2 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease3[​](#-searchrelease3 "Direct link to -SearchRelease3") Return tickets where release 3 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release3 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchReleaseNote[​](#-searchreleasenote "Direct link to -SearchReleaseNote") Return tickets where the release note matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_releasenote Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchInventoryNumber[​](#-searchinventorynumber "Direct link to -SearchInventoryNumber") Return tickets where the asset tag matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_invenotry_number Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchOppContactName[​](#-searchoppcontactname "Direct link to -SearchOppContactName") Return tickets where the opportunity contact name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_oppcontactname Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchOppCompanyName[​](#-searchoppcompanyname "Direct link to -SearchOppCompanyName") Return tickets where the opportunity company name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_oppcompanyname Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeLastAction[​](#-includelastaction "Direct link to -IncludeLastAction") Include the last action in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloOutcome Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets outcomes from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloOutcome [-Count ] [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloOutcome -OutcomeId [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves outcomes from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -OutcomeId[​](#-outcomeid "Direct link to -OutcomeId") The id of the outcome to retrieve. ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of results to return. ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Enable pagination. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") The number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") The page number to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") The field to order results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include details in the response. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloProject Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets projects from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloProject [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-TicketIDOnly] [-ViewID ] [-ColumnsID ] [-IncludeColumns] [-IncludeSLAActionDate] [-IncludeSLATimer] [-IncludeTimeTaken] [-IncludeSupplier] [-IncludeRelease1] [-IncludeRelease2] [-IncludeRelease3] [-IncludeChildIDs] [-IncludeNextActivityDate] [-ListID ] [-AgentID ] [-StatusID ] [-RequestTypeID ] [-SupplierID ] [-ClientID ] [-Site ] [-UserName ] [-UserID ] [-ReleaseID ] [-AssetID ] [-ITILRequestTypeID ] [-OpenOnly] [-ClosedOnly] [-UnlinkedOnly] [-ContractID ] [-WithAttachments] [-Team ] [-Agent ] [-Status ] [-RequestType ] [-ITILRequestType ] [-Category1 ] [-Category2 ] [-Category3 ] [-Category4 ] [-SLA ] [-Priority ] [-Products ] [-Flagged ] [-ExcludeThese ] [-Search ] [-SearchActions] [-DateSearch ] [-StartDate ] [-EndDate ] [-SearchUserName ] [-SearchSummary ] [-SearchDetails ] [-SearchReportedBy ] [-SearchVersion ] [-SearchRelease1 ] [-SearchRelease2 ] [-SearchRelease3 ] [-SearchReleaseNote ] [-SearchInventoryNumber ] [-SearchOppContactName ] [-SearchOppCompanyName ] [-IncludeAppointmentID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloProject -ProjectID [-TicketIDOnly] [-IncludeDetails] [-IncludeLastAction] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves projects from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ProjectID[​](#-projectid "Direct link to -ProjectID") Project ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketIDOnly[​](#-ticketidonly "Direct link to -TicketIDOnly") Return only the 'ID' fields (Ticket ID, SLA ID, Status ID, Client ID, Client Name and Last Incoming Email date) ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewID[​](#-viewid "Direct link to -ViewID") The ID of the filter profile to use to filter results. ```yaml Type: Int32 Parameter Sets: Multi Aliases: view_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ColumnsID[​](#-columnsid "Direct link to -ColumnsID") The ID of the column profile to use to control data returned in the results. ```yaml Type: Int32 Parameter Sets: Multi Aliases: columns_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeColumns[​](#-includecolumns "Direct link to -IncludeColumns") Include column details in the the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSLAActionDate[​](#-includeslaactiondate "Direct link to -IncludeSLAActionDate") Include SLA action date in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSLATimer[​](#-includeslatimer "Direct link to -IncludeSLATimer") Include SLA timer in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeTimeTaken[​](#-includetimetaken "Direct link to -IncludeTimeTaken") Include time taken in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSupplier[​](#-includesupplier "Direct link to -IncludeSupplier") Include supplier details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease1[​](#-includerelease1 "Direct link to -IncludeRelease1") Include release 1 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease2[​](#-includerelease2 "Direct link to -IncludeRelease2") Include release 2 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease3[​](#-includerelease3 "Direct link to -IncludeRelease3") Include release 3 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeChildIDs[​](#-includechildids "Direct link to -IncludeChildIDs") Include child ticket IDs in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeNextActivityDate[​](#-includenextactivitydate "Direct link to -IncludeNextActivityDate") Include next activity date in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ListID[​](#-listid "Direct link to -ListID") Filter by the specified list. ```yaml Type: Int32 Parameter Sets: Multi Aliases: list_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AgentID[​](#-agentid "Direct link to -AgentID") Filter by the specified agent. ```yaml Type: Int32 Parameter Sets: Multi Aliases: agent_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -StatusID[​](#-statusid "Direct link to -StatusID") Filter by the specified status. ```yaml Type: Int32 Parameter Sets: Multi Aliases: status_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -RequestTypeID[​](#-requesttypeid "Direct link to -RequestTypeID") Filter by the specified request type. ```yaml Type: Int32 Parameter Sets: Multi Aliases: requesttype_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SupplierID[​](#-supplierid "Direct link to -SupplierID") Filter by the specified supplier. ```yaml Type: Int32 Parameter Sets: Multi Aliases: supplier_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by the specified client. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Site[​](#-site "Direct link to -Site") Filter by the specified site. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserName[​](#-username "Direct link to -UserName") Filter by the specified user name. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserID[​](#-userid "Direct link to -UserID") Filter by the specified user ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ReleaseID[​](#-releaseid "Direct link to -ReleaseID") Filter by the specified release. ```yaml Type: Int32 Parameter Sets: Multi Aliases: release_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetID[​](#-assetid "Direct link to -AssetID") Filter by the specified asset. ```yaml Type: Int32 Parameter Sets: Multi Aliases: asset_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ITILRequestTypeID[​](#-itilrequesttypeid "Direct link to -ITILRequestTypeID") Filter by the specified ITIL request type. ```yaml Type: Int32 Parameter Sets: Multi Aliases: itil_requesttype_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -OpenOnly[​](#-openonly "Direct link to -OpenOnly") Return only open tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: open_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClosedOnly[​](#-closedonly "Direct link to -ClosedOnly") Return only closed tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: closed_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -UnlinkedOnly[​](#-unlinkedonly "Direct link to -UnlinkedOnly") Return only unlinked tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: unlinked_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ContractID[​](#-contractid "Direct link to -ContractID") Filter by the specified contract ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: contract_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WithAttachments[​](#-withattachments "Direct link to -WithAttachments") Return only tickets with attachments in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Team[​](#-team "Direct link to -Team") Filter by the specified array of team IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Agent[​](#-agent "Direct link to -Agent") Filter by the specified array of agent IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Status[​](#-status "Direct link to -Status") Filter by the specified array of status IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -RequestType[​](#-requesttype "Direct link to -RequestType") Filter by the specified array of request type IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ITILRequestType[​](#-itilrequesttype "Direct link to -ITILRequestType") Filter by the specified array of ITIL request type IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: itil_requesttype Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category1[​](#-category1 "Direct link to -Category1") Filter by the specified array of category 1 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_1 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category2[​](#-category2 "Direct link to -Category2") Filter by the specified array of category 2 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_2 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category3[​](#-category3 "Direct link to -Category3") Filter by the specified array of category 3 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_3 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category4[​](#-category4 "Direct link to -Category4") Filter by the specified array of category 4 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_4 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SLA[​](#-sla "Direct link to -SLA") Filter by the specified array of SLA IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Priority[​](#-priority "Direct link to -Priority") Filter by the specified array of priority IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Products[​](#-products "Direct link to -Products") Filter by the specified array of product IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Flagged[​](#-flagged "Direct link to -Flagged") Filter by the specified array of flagged ticket IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeThese[​](#-excludethese "Direct link to -ExcludeThese") Exclude the specified array of ticket IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return tickets matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchActions[​](#-searchactions "Direct link to -SearchActions") Include actions when searching. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -DateSearch[​](#-datesearch "Direct link to -DateSearch") Which date field to search against. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -StartDate[​](#-startdate "Direct link to -StartDate") Start date for use with the '-datesearch' parameter. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -EndDate[​](#-enddate "Direct link to -EndDate") End date for use with the '-datesearch' parameter. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchUserName[​](#-searchusername "Direct link to -SearchUserName") Return tickets where the user name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_user_name Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchSummary[​](#-searchsummary "Direct link to -SearchSummary") Return tickets where the summary matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_summary Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchDetails[​](#-searchdetails "Direct link to -SearchDetails") Return tickets where the details matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_details Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchReportedBy[​](#-searchreportedby "Direct link to -SearchReportedBy") Return tickets where the reported by matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_reportedby Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchVersion[​](#-searchversion "Direct link to -SearchVersion") Return tickets where the software version matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_version Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease1[​](#-searchrelease1 "Direct link to -SearchRelease1") Return tickets where release 1 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release1 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease2[​](#-searchrelease2 "Direct link to -SearchRelease2") Return tickets where release 2 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release2 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease3[​](#-searchrelease3 "Direct link to -SearchRelease3") Return tickets where release 3 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release3 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchReleaseNote[​](#-searchreleasenote "Direct link to -SearchReleaseNote") Return tickets where the release note matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_releasenote Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchInventoryNumber[​](#-searchinventorynumber "Direct link to -SearchInventoryNumber") Return tickets where the asset tag matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_invenotry_number Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchOppContactName[​](#-searchoppcontactname "Direct link to -SearchOppContactName") Return tickets where the opportunity contact name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_oppcontactname Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchOppCompanyName[​](#-searchoppcompanyname "Direct link to -SearchOppCompanyName") Return tickets where the opportunity company name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_oppcompanyname Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeAppointmentID[​](#-includeappointmentid "Direct link to -IncludeAppointmentID") Include upcoming appointment ID in the response ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeLastAction[​](#-includelastaction "Direct link to -IncludeLastAction") Include the last action in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloPurchaseOrder Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets purchase orders from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloPurchaseOrder [-Count ] [-Search ] [-Paginate] [-PageSize ] [-PageNo ] [-Open] [-Closed] [-IncludeActive] [-IncludeInactive] [-Order ] [-OrderDesc] [-ClientID ] [-SiteID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloPurchaseOrder -PurchaseOrderID [-IncludeDetails] [-IncludeBillingInfo] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves purchase orders from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -PurchaseOrderID[​](#-purchaseorderid "Direct link to -PurchaseOrderID") Purchase Order ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filters response based on the search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Open[​](#-open "Direct link to -Open") Include open purchase orders in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Closed[​](#-closed "Direct link to -Closed") Include closed purchase orders in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeActive[​](#-includeactive "Direct link to -IncludeActive") Include active purchase orders in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInactive[​](#-includeinactive "Direct link to -IncludeInactive") Include inactive purchase orders in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filters by the specified client ```yaml Type: Int64 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SiteID[​](#-siteid "Direct link to -SiteID") Filters by the specified site ```yaml Type: Int64 Parameter Sets: Multi Aliases: site_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeBillingInfo[​](#-includebillinginfo "Direct link to -IncludeBillingInfo") Include billing details in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloQuote Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets quotes from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloQuote [-Count ] [-Search ] [-Paginate] [-PageSize ] [-PageNo ] [-OrderBy ] [-OrderByDesc] [-OrderBy2 ] [-OrderByDesc2] [-OrderBy3 ] [-OrderByDesc3] [-OrderBy4 ] [-OrderByDesc4] [-OrderBy5 ] [-OrderByDesc5] [-TicketID ] [-ClientID ] [-SiteID ] [-UserID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloQuote -QuoteID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves quotes from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -QuoteID[​](#-quoteid "Direct link to -QuoteID") Quote ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filters response based on the search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy[​](#-orderby "Direct link to -OrderBy") The name of the first field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc[​](#-orderbydesc "Direct link to -OrderByDesc") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy2[​](#-orderby2 "Direct link to -OrderBy2") The name of the second field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc2[​](#-orderbydesc2 "Direct link to -OrderByDesc2") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy3[​](#-orderby3 "Direct link to -OrderBy3") The name of the third field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc3[​](#-orderbydesc3 "Direct link to -OrderByDesc3") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy4[​](#-orderby4 "Direct link to -OrderBy4") The name of the fourth field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc4[​](#-orderbydesc4 "Direct link to -OrderByDesc4") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy5[​](#-orderby5 "Direct link to -OrderBy5") The name of the fifth field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc5[​](#-orderbydesc5 "Direct link to -OrderByDesc5") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") Filters by the specified ticket ```yaml Type: Int64 Parameter Sets: Multi Aliases: ticket_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filters by the specified client ```yaml Type: Int64 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SiteID[​](#-siteid "Direct link to -SiteID") Filters by the specified site ```yaml Type: Int64 Parameter Sets: Multi Aliases: site_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserID[​](#-userid "Direct link to -UserID") Filters by the specified user ```yaml Type: Int64 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloRecurringInvoice Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets recurring invoices from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloRecurringInvoice [-AdvancedSearch ] [-AssetId ] [-AwaitingApproval] [-BillingDate ] [-BillingCategoryIds ] [-ClientId ] [-ClientIds ] [-ContractId ] [-Count ] [-IdOnly] [-IncludeCredits] [-IncludeInvoices] [-IncludeLines] [-IncludePOInvoices] [-IncludeInvoiceDateEnd] [-IncludeInvoiceDateStart] [-MyApprovals] [-NotPostedOnly] [-Order ] [-OrderDesc] [-Order2 ] [-OrderDesc2] [-Order3 ] [-OrderDesc3] [-Order4 ] [-OrderDesc4] [-Order5 ] [-OrderDesc5] [-PageNo ] [-PageSize ] [-Paginate] [-PaymentStatuses ] [-PostedOnly] [-PurchaseOrderId ] [-QuoteStatuses ] [-ReadyForInvoicing] [-ReviewRequired] [-RecurringInvoiceType ] [-SalesOrderId ] [-Search ] [-SentStatus ] [-SiteId ] [-StripeAutoPaymentRequired] [-TicketId ] [-TopLevelId ] [-UserId ] [-FullObjects] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloRecurringInvoice -RecurringInvoiceID [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves recurring invoices from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -RecurringInvoiceID[​](#-recurringinvoiceid "Direct link to -RecurringInvoiceID") Invoice ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AdvancedSearch[​](#-advancedsearch "Direct link to -AdvancedSearch") The advanced search query to use. ```yaml Type: String Parameter Sets: Multi Aliases: advanced_search Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetId[​](#-assetid "Direct link to -AssetId") Filter by an asset id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: asset_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AwaitingApproval[​](#-awaitingapproval "Direct link to -AwaitingApproval") Filter for recurring invoices awaiting approval. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: awaiting_approval Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -BillingDate[​](#-billingdate "Direct link to -BillingDate") Filter by billing date. ```yaml Type: DateTime Parameter Sets: Multi Aliases: billing_date Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BillingCategoryIds[​](#-billingcategoryids "Direct link to -BillingCategoryIds") Filter by billing category ids. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: billingcategory_ids Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientId[​](#-clientid "Direct link to -ClientId") Filter by the specified client id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientIds[​](#-clientids "Direct link to -ClientIds") Filter by the specified client ids. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: client_ids Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ContractId[​](#-contractid "Direct link to -ContractId") Filter by contract id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: contract_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of invoices to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IdOnly[​](#-idonly "Direct link to -IdOnly") Return recurring invoice ids only. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeCredits[​](#-includecredits "Direct link to -IncludeCredits") Include credit notes ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInvoices[​](#-includeinvoices "Direct link to -IncludeInvoices") Include invoices ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeLines[​](#-includelines "Direct link to -IncludeLines") Include invoice lines ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludePOInvoices[​](#-includepoinvoices "Direct link to -IncludePOInvoices") Include PO invoices. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInvoiceDateEnd[​](#-includeinvoicedateend "Direct link to -IncludeInvoiceDateEnd") Include the field `invoicedateend` in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: invoicedateend Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInvoiceDateStart[​](#-includeinvoicedatestart "Direct link to -IncludeInvoiceDateStart") Include the field `invoicedatestart` in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: invoicedatestart Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -MyApprovals[​](#-myapprovals "Direct link to -MyApprovals") Filter by your approvals. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: my_approvals Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -NotPostedOnly[​](#-notpostedonly "Direct link to -NotPostedOnly") Filter for unposted invoices only. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") First field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results for the first field in descending order (respects the field choice in '-OrderBy') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order2[​](#-order2 "Direct link to -Order2") Second field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc2[​](#-orderdesc2 "Direct link to -OrderDesc2") Order results for the second field in descending order (respects the field choice in '-OrderBy2') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order3[​](#-order3 "Direct link to -Order3") Third field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc3[​](#-orderdesc3 "Direct link to -OrderDesc3") Order results for the third field in descending order (respects the field choice in '-OrderBy3') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order4[​](#-order4 "Direct link to -Order4") Fourth field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc4[​](#-orderdesc4 "Direct link to -OrderDesc4") Order results for the fourth field in descending order (respects the field choice in '-OrderBy4') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order5[​](#-order5 "Direct link to -Order5") Fifth field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc5[​](#-orderdesc5 "Direct link to -OrderDesc5") Order results for the fifth field in descending order (respects the field choice in '-OrderBy5') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PaymentStatuses[​](#-paymentstatuses "Direct link to -PaymentStatuses") Filter by the specified payment statuses. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -PostedOnly[​](#-postedonly "Direct link to -PostedOnly") Include posted invoices only. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PurchaseOrderId[​](#-purchaseorderid "Direct link to -PurchaseOrderId") Filter by the specified purchase order id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: purchaseorder_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -QuoteStatuses[​](#-quotestatuses "Direct link to -QuoteStatuses") Filter by the specified quote statuses. ```yaml Type: String[] Parameter Sets: Multi Aliases: quote_status Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ReadyForInvoicing[​](#-readyforinvoicing "Direct link to -ReadyForInvoicing") Filter by whether the recurring invoice is marked 'ready for invoicing'. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: ready_for_invoicing Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ReviewRequired[​](#-reviewrequired "Direct link to -ReviewRequired") Filter for invoices marked 'review required'. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -RecurringInvoiceType[​](#-recurringinvoicetype "Direct link to -RecurringInvoiceType") Filter by recurring invoice type. Valid values are 'contracts', 'invoices' or 'both'. ```yaml Type: String Parameter Sets: Multi Aliases: rinvoice_type Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SalesOrderId[​](#-salesorderid "Direct link to -SalesOrderId") Filter by contract sales order id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: salesorder_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filter using the specified search query. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SentStatus[​](#-sentstatus "Direct link to -SentStatus") Filter by sent status. ```yaml Type: Int32 Parameter Sets: Multi Aliases: sent_status Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SiteId[​](#-siteid "Direct link to -SiteId") Filter by the specified site id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: site_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -StripeAutoPaymentRequired[​](#-stripeautopaymentrequired "Direct link to -StripeAutoPaymentRequired") Filter by invoices requiring stripe payment. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketId[​](#-ticketid "Direct link to -TicketId") Filter by the specified ticket id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: ticket_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -TopLevelId[​](#-toplevelid "Direct link to -TopLevelId") Filter by the specified top level id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: toplevel_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserId[​](#-userid "Direct link to -UserId") Filter by the specified user ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -FullObjects[​](#-fullobjects "Direct link to -FullObjects") Parameter to return the complete objects. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloRelease Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets software releases from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloRelease [-Count ] [-Search ] [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-IncludeNoteCount] [-ProductID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloRelease -ReleaseID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves software releases from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ReleaseID[​](#-releaseid "Direct link to -ReleaseID") Software Release ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filters response based on the search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeNoteCount[​](#-includenotecount "Direct link to -IncludeNoteCount") Include release note count in the result. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ProductID[​](#-productid "Direct link to -ProductID") Filter by specified product ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: product_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloReport Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets reports from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloReport [-Count ] [-Search ] [-Paginate] [-PageSize ] [-PageNo ] [-OrderBy ] [-OrderByDesc] [-OrderBy2 ] [-OrderByDesc2] [-OrderBy3 ] [-OrderByDesc3] [-OrderBy4 ] [-OrderByDesc4] [-OrderBy5 ] [-OrderByDesc5] [-TicketID ] [-ClientID ] [-SiteID ] [-UserID ] [-ReportGroupID ] [-ChartOnly] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloReport -ReportID [-IncludeDetails] [-LoadReport] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves reports from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ReportID[​](#-reportid "Direct link to -ReportID") Report ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filters response based on the search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy[​](#-orderby "Direct link to -OrderBy") The name of the first field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc[​](#-orderbydesc "Direct link to -OrderByDesc") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy2[​](#-orderby2 "Direct link to -OrderBy2") The name of the second field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc2[​](#-orderbydesc2 "Direct link to -OrderByDesc2") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy3[​](#-orderby3 "Direct link to -OrderBy3") The name of the third field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc3[​](#-orderbydesc3 "Direct link to -OrderByDesc3") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy4[​](#-orderby4 "Direct link to -OrderBy4") The name of the fourth field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc4[​](#-orderbydesc4 "Direct link to -OrderByDesc4") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderBy5[​](#-orderby5 "Direct link to -OrderBy5") The name of the fifth field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderByDesc5[​](#-orderbydesc5 "Direct link to -OrderByDesc5") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") Filters by the specified ticket ```yaml Type: Int64 Parameter Sets: Multi Aliases: ticket_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filters by the specified client ```yaml Type: Int64 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SiteID[​](#-siteid "Direct link to -SiteID") Filters by the specified site ```yaml Type: Int64 Parameter Sets: Multi Aliases: site_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserID[​](#-userid "Direct link to -UserID") Filters by the specified user ```yaml Type: Int64 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ReportGroupID[​](#-reportgroupid "Direct link to -ReportGroupID") Filters by the specified report group ```yaml Type: Int64 Parameter Sets: Multi Aliases: reportgroup_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ChartOnly[​](#-chartonly "Direct link to -ChartOnly") Whether to return only records for reports that include graphs ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -LoadReport[​](#-loadreport "Direct link to -LoadReport") Whether to include the report data in the response ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloSalesOrder Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets sales orders from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloSalesOrder [-Count ] [-Search ] [-Paginate] [-PageSize ] [-PageNo ] [-Open] [-Closed] [-NeedsOrdering] [-IncludeActive] [-IncludeInactive] [-Order ] [-OrderDesc] [-ClientID ] [-SiteID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloSalesOrder -SalesOrderID [-IncludeDetails] [-IncludeBillingInfo] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves sales orders from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SalesOrderID[​](#-salesorderid "Direct link to -SalesOrderID") Sales Order ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filters response based on the search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Open[​](#-open "Direct link to -Open") Include open sales orders in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Closed[​](#-closed "Direct link to -Closed") Include closed sales orders in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -NeedsOrdering[​](#-needsordering "Direct link to -NeedsOrdering") Include sales orders which require ordering in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeActive[​](#-includeactive "Direct link to -IncludeActive") Include active sales orders in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInactive[​](#-includeinactive "Direct link to -IncludeInactive") Include inactive sales orders in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filters by the specified client ```yaml Type: Int64 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SiteID[​](#-siteid "Direct link to -SiteID") Filters by the specified site ```yaml Type: Int64 Parameter Sets: Multi Aliases: site_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeBillingInfo[​](#-includebillinginfo "Direct link to -IncludeBillingInfo") Include billing details in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloService Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets services from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloService [-Count ] [-Search ] [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-UserID ] [-ServiceStatusIDs ] [-ServiceCatalogueType ] [-ServiceCategoryIDs ] [-ITILTicketType ] [-IncludeStatusInfo] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloService -ServiceID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves services from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ServiceID[​](#-serviceid "Direct link to -ServiceID") Service ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Filters response based on the search string ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserID[​](#-userid "Direct link to -UserID") Filters by services accessible to the specified user. ```yaml Type: Int32 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ServiceStatusIDs[​](#-servicestatusids "Direct link to -ServiceStatusIDs") Filters by the specified array of operational status IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: service_status_ids Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ServiceCatalogueType[​](#-servicecataloguetype "Direct link to -ServiceCatalogueType") Filters by the specified service catalogue. ```yaml Type: Int32 Parameter Sets: Multi Aliases: service_catalogue_type Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ServiceCategoryIDs[​](#-servicecategoryids "Direct link to -ServiceCategoryIDs") Filters by the specified array of service category IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: service_category_ids Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ITILTicketType[​](#-itiltickettype "Direct link to -ITILTicketType") Filters by the specified ITIL ticket type ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: itil_ticket_type Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeStatusInfo[​](#-includestatusinfo "Direct link to -IncludeStatusInfo") Include service status information in the result. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloSite Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets sites from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloSite [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-Search ] [-TopLevelID ] [-ClientID ] [-IncludeInactive] [-IncludeActive] [-Count ] [-FullObjects] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloSite -SiteID [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves sites from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SiteID[​](#-siteid "Direct link to -SiteID") Site ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") The field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return contracts matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -TopLevelID[​](#-toplevelid "Direct link to -TopLevelID") Filter by the specified top level ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: toplevel_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by the specified client ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInactive[​](#-includeinactive "Direct link to -IncludeInactive") Include inactive sites in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeActive[​](#-includeactive "Direct link to -IncludeActive") Include active sites in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of sites to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -FullObjects[​](#-fullobjects "Direct link to -FullObjects") Parameter to return the complete objects. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloSoftwareLicence Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets software Licences from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloSoftwareLicence [-ClientID ] [-Count ] [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-IncludeInactive] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloSoftwareLicence -LicenceID -ClientID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves software Licences from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -LicenceID[​](#-licenceid "Direct link to -LicenceID") Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Item ID ```yaml Type: Int64 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ```yaml Type: Int64 Parameter Sets: Single Aliases: client_id Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") The name of the first field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInactive[​](#-includeinactive "Direct link to -IncludeInactive") Include inactive software licenses / subscriptions. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloStatus Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets statuses from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloStatus [-Type ] [-ShowCounts] [-Domain ] [-ViewID ] [-ExcludePending] [-ExcludeClosed] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloStatus -StatusID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves statuses types from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -StatusID[​](#-statusid "Direct link to -StatusID") Status ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Type[​](#-type "Direct link to -Type") Filter by Status type e.g. 'ticket' returns all ticket statuses ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowCounts[​](#-showcounts "Direct link to -ShowCounts") Show the count of tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Domain[​](#-domain "Direct link to -Domain") Filter counts to a specific domain: reqs = tickets, opps = opportunities and prjs = projects. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewID[​](#-viewid "Direct link to -ViewID") Filter counts to a specific view ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: view_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludePending[​](#-excludepending "Direct link to -ExcludePending") Exclude the pending closure status from the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeClosed[​](#-excludeclosed "Direct link to -ExcludeClosed") Exclude the closed status from the response ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloSupplier Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets suppliers from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloSupplier [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-Search ] [-Count ] [-TopLevelID ] [-IncludeActive] [-IncludeInactive] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloSupplier -SupplierID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves suppliers from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SupplierID[​](#-supplierid "Direct link to -SupplierID") Supplier ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return suppliers matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of suppliers to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -TopLevelID[​](#-toplevelid "Direct link to -TopLevelID") Filter by the specified top level ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: toplevel_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeActive[​](#-includeactive "Direct link to -IncludeActive") Include active suppliers in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInactive[​](#-includeinactive "Direct link to -IncludeInactive") Include inactive suppliers in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloSuppliersFromQBO Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets QuickBooks Online suppliers from the Halo API #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-HaloSuppliersFromQBO [[-ConnectionID] ] [[-DataType] ] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves QuickBooks Online suppliers from the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ConnectionID[​](#-connectionid "Direct link to -ConnectionID") The Halo <-> QuickBooks Online connection Id ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -DataType[​](#-datatype "Direct link to -DataType") The Data Type to retrieve ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: Vendor Accept pipeline input: False Accept wildcard characters: False ``` #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloTeam Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets teams from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloTeam [-Type ] [-IncludeAgentsForTeams ] [-MemberOnly] [-ShowCounts] [-Domain ] [-ViewID ] [-IncludeEnabled] [-IncludeDisabled] [-DepartmentID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloTeam -TeamID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves teams from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TeamID[​](#-teamid "Direct link to -TeamID") Team ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Type[​](#-type "Direct link to -Type") Filter teams to a specific type: reqs = tickets, opps = opportunities and prjs = projects. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeAgentsForTeams[​](#-includeagentsforteams "Direct link to -IncludeAgentsForTeams") Teams to return agents for in the results. Comma separated string. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -MemberOnly[​](#-memberonly "Direct link to -MemberOnly") Only include teams the current agent is a member of. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowCounts[​](#-showcounts "Direct link to -ShowCounts") Show the count of team tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Domain[​](#-domain "Direct link to -Domain") Filter counts to a specific domain: reqs = tickets, opps = opportunities and prjs = projects. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewID[​](#-viewid "Direct link to -ViewID") Filter counts to a specific view ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: view_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeEnabled[​](#-includeenabled "Direct link to -IncludeEnabled") Include enabled teams (defaults to $True). ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDisabled[​](#-includedisabled "Direct link to -IncludeDisabled") Include disabled teams. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -DepartmentID[​](#-departmentid "Direct link to -DepartmentID") Filter by the specified department ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: department_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets templates from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloTemplate [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-Search ] [-Count ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloTemplate -TemplateID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves templates from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TemplateID[​](#-templateid "Direct link to -TemplateID") Template ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") The field to order the results by. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return templates matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of templates to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloTicket Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets tickets from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloTicket [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-TicketIDOnly] [-ViewID ] [-ColumnsID ] [-IncludeColumns] [-IncludeSLAActionDate] [-IncludeSLATimer] [-IncludeTimeTaken] [-IncludeSupplier] [-IncludeRelease1] [-IncludeRelease2] [-IncludeRelease3] [-IncludeChildIDs] [-IncludeNextActivityDate] [-ExcludeSLA] [-TicketAreaID ] [-ListID ] [-AgentID ] [-StatusID ] [-RequestTypeID ] [-SupplierID ] [-ClientID ] [-Site ] [-UserName ] [-UserID ] [-ReleaseID ] [-AssetID ] [-ITILRequestTypeID ] [-OpenOnly] [-ClosedOnly] [-UnlinkedOnly] [-ContractID ] [-WithAttachments] [-Team ] [-Agent ] [-Status ] [-RequestType ] [-ITILRequestType ] [-Category1 ] [-Category2 ] [-Category3 ] [-Category4 ] [-SLA ] [-Priority ] [-Products ] [-Flagged ] [-ExcludeThese ] [-Search ] [-SearchActions] [-DateSearch ] [-StartDate ] [-EndDate ] [-SearchUserName ] [-SearchSummary ] [-SearchDetails ] [-SearchReportedBy ] [-SearchVersion ] [-SearchRelease1 ] [-SearchRelease2 ] [-SearchRelease3 ] [-SearchReleaseNote ] [-SearchInventoryNumber ] [-SearchOppContactName ] [-SearchOppCompanyName ] [-FullObjects] [-Deleted] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloTicket -TicketID [-TicketIDOnly] [-IncludeDetails] [-IncludeLastAction] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves tickets from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TicketID[​](#-ticketid "Direct link to -TicketID") Ticket ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketIDOnly[​](#-ticketidonly "Direct link to -TicketIDOnly") Return only the 'ID' fields (Ticket ID, SLA ID, Status ID, Client ID, Client Name and Last Incoming Email date) ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewID[​](#-viewid "Direct link to -ViewID") The ID of the filter profile to use to filter results. ```yaml Type: Int32 Parameter Sets: Multi Aliases: view_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ColumnsID[​](#-columnsid "Direct link to -ColumnsID") The ID of the column profile to use to control data returned in the results. ```yaml Type: Int32 Parameter Sets: Multi Aliases: columns_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeColumns[​](#-includecolumns "Direct link to -IncludeColumns") Include column details in the the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSLAActionDate[​](#-includeslaactiondate "Direct link to -IncludeSLAActionDate") Include SLA action date in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSLATimer[​](#-includeslatimer "Direct link to -IncludeSLATimer") Include SLA timer in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeTimeTaken[​](#-includetimetaken "Direct link to -IncludeTimeTaken") Include time taken in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeSupplier[​](#-includesupplier "Direct link to -IncludeSupplier") Include supplier details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease1[​](#-includerelease1 "Direct link to -IncludeRelease1") Include release 1 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease2[​](#-includerelease2 "Direct link to -IncludeRelease2") Include release 2 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeRelease3[​](#-includerelease3 "Direct link to -IncludeRelease3") Include release 3 details in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeChildIDs[​](#-includechildids "Direct link to -IncludeChildIDs") Include child ticket IDs in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeNextActivityDate[​](#-includenextactivitydate "Direct link to -IncludeNextActivityDate") Include next activity date in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeSLA[​](#-excludesla "Direct link to -ExcludeSLA") Exclude SLA calculations in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketAreaID[​](#-ticketareaid "Direct link to -TicketAreaID") Filter by the specified ticket area. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ListID[​](#-listid "Direct link to -ListID") Filter by the specified list. ```yaml Type: Int32 Parameter Sets: Multi Aliases: list_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AgentID[​](#-agentid "Direct link to -AgentID") Filter by the specified agent. ```yaml Type: Int32 Parameter Sets: Multi Aliases: agent_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -StatusID[​](#-statusid "Direct link to -StatusID") Filter by the specified status. ```yaml Type: Int32 Parameter Sets: Multi Aliases: status_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -RequestTypeID[​](#-requesttypeid "Direct link to -RequestTypeID") Filter by the specified request type. ```yaml Type: Int32 Parameter Sets: Multi Aliases: requesttype_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SupplierID[​](#-supplierid "Direct link to -SupplierID") Filter by the specified supplier. ```yaml Type: Int32 Parameter Sets: Multi Aliases: supplier_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by the specified client. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Site[​](#-site "Direct link to -Site") Filter by the specified site. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserName[​](#-username "Direct link to -UserName") Filter by the specified user name. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -UserID[​](#-userid "Direct link to -UserID") Filter by the specified user ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: user_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ReleaseID[​](#-releaseid "Direct link to -ReleaseID") Filter by the specified release. ```yaml Type: Int32 Parameter Sets: Multi Aliases: release_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetID[​](#-assetid "Direct link to -AssetID") Filter by the specified asset. ```yaml Type: Int32 Parameter Sets: Multi Aliases: asset_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ITILRequestTypeID[​](#-itilrequesttypeid "Direct link to -ITILRequestTypeID") Filter by the specified ITIL request type. ```yaml Type: Int32 Parameter Sets: Multi Aliases: itil_requesttype_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -OpenOnly[​](#-openonly "Direct link to -OpenOnly") Return only open tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: open_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClosedOnly[​](#-closedonly "Direct link to -ClosedOnly") Return only closed tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: closed_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -UnlinkedOnly[​](#-unlinkedonly "Direct link to -UnlinkedOnly") Return only unlinked tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: unlinked_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ContractID[​](#-contractid "Direct link to -ContractID") Filter by the specified contract ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: contract_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WithAttachments[​](#-withattachments "Direct link to -WithAttachments") Return only tickets with attachments in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Team[​](#-team "Direct link to -Team") Filter by the specified array of team IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Agent[​](#-agent "Direct link to -Agent") Filter by the specified array of agent IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Status[​](#-status "Direct link to -Status") Filter by the specified array of status IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -RequestType[​](#-requesttype "Direct link to -RequestType") Filter by the specified array of request type IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ITILRequestType[​](#-itilrequesttype "Direct link to -ITILRequestType") Filter by the specified array of ITIL request type IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: itil_requesttype Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category1[​](#-category1 "Direct link to -Category1") Filter by the specified array of category 1 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_1 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category2[​](#-category2 "Direct link to -Category2") Filter by the specified array of category 2 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_2 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category3[​](#-category3 "Direct link to -Category3") Filter by the specified array of category 3 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_3 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Category4[​](#-category4 "Direct link to -Category4") Filter by the specified array of category 4 IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: category_4 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SLA[​](#-sla "Direct link to -SLA") Filter by the specified array of SLA IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Priority[​](#-priority "Direct link to -Priority") Filter by the specified array of priority IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Products[​](#-products "Direct link to -Products") Filter by the specified array of product IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Flagged[​](#-flagged "Direct link to -Flagged") Filter by the specified array of flagged ticket IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeThese[​](#-excludethese "Direct link to -ExcludeThese") Exclude the specified array of ticket IDs. ```yaml Type: Int32[] Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return tickets matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchActions[​](#-searchactions "Direct link to -SearchActions") Include actions when searching. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -DateSearch[​](#-datesearch "Direct link to -DateSearch") Which date field to search against. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -StartDate[​](#-startdate "Direct link to -StartDate") Start date for use with the '-datesearch' parameter. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -EndDate[​](#-enddate "Direct link to -EndDate") End date for use with the '-datesearch' parameter. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchUserName[​](#-searchusername "Direct link to -SearchUserName") Return tickets where the user name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_user_name Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchSummary[​](#-searchsummary "Direct link to -SearchSummary") Return tickets where the summary matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_summary Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchDetails[​](#-searchdetails "Direct link to -SearchDetails") Return tickets where the details matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_details Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchReportedBy[​](#-searchreportedby "Direct link to -SearchReportedBy") Return tickets where the reported by matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_reportedby Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchVersion[​](#-searchversion "Direct link to -SearchVersion") Return tickets where the software version matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_version Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease1[​](#-searchrelease1 "Direct link to -SearchRelease1") Return tickets where release 1 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release1 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease2[​](#-searchrelease2 "Direct link to -SearchRelease2") Return tickets where release 2 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release2 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchRelease3[​](#-searchrelease3 "Direct link to -SearchRelease3") Return tickets where release 3 matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_release3 Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchReleaseNote[​](#-searchreleasenote "Direct link to -SearchReleaseNote") Return tickets where the release note matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_releasenote Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchInventoryNumber[​](#-searchinventorynumber "Direct link to -SearchInventoryNumber") Return tickets where the asset tag matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_invenotry_number Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchOppContactName[​](#-searchoppcontactname "Direct link to -SearchOppContactName") Return tickets where the opportunity contact name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_oppcontactname Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchOppCompanyName[​](#-searchoppcompanyname "Direct link to -SearchOppCompanyName") Return tickets where the opportunity company name matches the search term. ```yaml Type: String Parameter Sets: Multi Aliases: search_oppcompanyname Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -FullObjects[​](#-fullobjects "Direct link to -FullObjects") Parameter to return the complete objects. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeLastAction[​](#-includelastaction "Direct link to -IncludeLastAction") Include the last action in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Deleted[​](#-deleted "Direct link to -Deleted") Return deleted tickets only. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloTicketRules Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets Halo Ticket Rules information from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloTicketRules [-ExcludeWorkflow] [-ShowAll] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloTicketRules -RuleID [-IncludeDetails] [-IncludeCriteriaInfo] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves Ticket Rule from the Halo API. By default it retrieves global rules AND workflow step rules. Use `-ExcludeWorkflow` to limit the list to only Global Rules. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -RuleID[​](#-ruleid "Direct link to -RuleID") Rule ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include details in the response. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeCriteriaInfo[​](#-includecriteriainfo "Direct link to -IncludeCriteriaInfo") Include criteria info in the response. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeWorkflow[​](#-excludeworkflow "Direct link to -ExcludeWorkflow") Exclude Workflow Step Rules ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Show all rules, including those that have been deleted. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloTicketType Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets ticket types from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloTicketType [-ShowCounts] [-Domain ] [-ViewID ] [-ShowInactive] [-ClientID ] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloTicketType -TicketTypeID [-IncludeDetails] [-IncludeConfig] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves ticket types from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TicketTypeID[​](#-tickettypeid "Direct link to -TicketTypeID") Ticket Type ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowCounts[​](#-showcounts "Direct link to -ShowCounts") Show the count of tickets in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Domain[​](#-domain "Direct link to -Domain") Filter counts to a specific domain: reqs = tickets, opps = opportunities and prjs = projects. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewID[​](#-viewid "Direct link to -ViewID") Filter counts to a specific view ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: view_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowInactive[​](#-showinactive "Direct link to -ShowInactive") Include inactive ticket types in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by a specific client id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeConfig[​](#-includeconfig "Direct link to -IncludeConfig") Include all related configuration in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloTimesheet Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets timesheets from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-HaloTimesheet [-SelectedTeam ] [-ShowHolidays] [-SelectedAgents ] [-SelectedTypes ] [-StartDate ] [-EndDate ] [-ShowAllDates] [-IncludeTimesheetFields] [-UTCOffset ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves timesheets from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SelectedTeam[​](#-selectedteam "Direct link to -SelectedTeam") Return the timesheet for the specified team. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowHolidays[​](#-showholidays "Direct link to -ShowHolidays") Include holidays in the result. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -SelectedAgents[​](#-selectedagents "Direct link to -SelectedAgents") Return the timesheet for the selected agents. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: agents Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SelectedTypes[​](#-selectedtypes "Direct link to -SelectedTypes") Return the selected types. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: False Position: Named Default value: @(0, 1 , 2, 3) Accept pipeline input: False Accept wildcard characters: False ``` ##### -StartDate[​](#-startdate "Direct link to -StartDate") Timesheet start date/time. ```yaml Type: DateTime Parameter Sets: (All) Aliases: start_date Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -EndDate[​](#-enddate "Direct link to -EndDate") Timesheet end date/time. ```yaml Type: DateTime Parameter Sets: (All) Aliases: end_date Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAllDates[​](#-showalldates "Direct link to -ShowAllDates") Include all days in the result. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeTimesheetFields[​](#-includetimesheetfields "Direct link to -IncludeTimesheetFields") Include all timesheet fields in the result. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -UTCOffset[​](#-utcoffset "Direct link to -UTCOffset") The UTC offset. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloUser Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets users from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloUser [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-Search ] [-SearchPhoneNumbers] [-TopLevelID ] [-ClientID ] [-SiteID ] [-OrganisationID ] [-DepartmentID ] [-AssetID ] [-IncludeActive] [-IncludeInactive] [-ApproversOnly] [-ExcludeAgents] [-Count ] [-FullObjects] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloUser -UserID [-IncludeDetails] [-IncludeActivity] [-IncludePopups] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves users from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -UserID[​](#-userid "Direct link to -UserID") User ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") Which field to order results based on. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Order results in descending order (respects the field choice in '-Order') ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Return users matching the search term in the results. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -SearchPhoneNumbers[​](#-searchphonenumbers "Direct link to -SearchPhoneNumbers") Search on phone numbers when searching. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: search_phonenumbers Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -TopLevelID[​](#-toplevelid "Direct link to -TopLevelID") Filter by the specified top level ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: toplevel_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ClientID[​](#-clientid "Direct link to -ClientID") Filter by the specified client ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: client_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SiteID[​](#-siteid "Direct link to -SiteID") Filter by the specified site ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: site_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrganisationID[​](#-organisationid "Direct link to -OrganisationID") Filter by the specified organisation ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: organisation_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -DepartmentID[​](#-departmentid "Direct link to -DepartmentID") Filter by the specified department ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: department_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AssetID[​](#-assetid "Direct link to -AssetID") Filter by the specified asset ID. ```yaml Type: Int32 Parameter Sets: Multi Aliases: asset_id Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeActive[​](#-includeactive "Direct link to -IncludeActive") Include active users in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeInactive[​](#-includeinactive "Direct link to -IncludeInactive") Include inactive users in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ApproversOnly[​](#-approversonly "Direct link to -ApproversOnly") Include approvers only in the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: approvers_only Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExcludeAgents[​](#-excludeagents "Direct link to -ExcludeAgents") Exclude users linked to agent accounts from the results. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") The number of users to return if not using pagination. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -FullObjects[​](#-fullobjects "Direct link to -FullObjects") Parameter to return the full objects. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeActivity[​](#-includeactivity "Direct link to -IncludeActivity") Include ticket activity in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludePopups[​](#-includepopups "Direct link to -IncludePopups") Include customer popups in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloWorkday Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets workday information from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloWorkday [-ShowAll] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloWorkday -WorkdayID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves workdays from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -WorkdayID[​](#-workdayid "Direct link to -WorkdayID") Workday Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ShowAll[​](#-showall "Direct link to -ShowAll") Show All ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-HaloWorkflow Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Gets Workflows from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-HaloWorkflow [-Count ] [-Paginate] [-PageSize ] [-PageNo ] [-Order ] [-OrderDesc] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-HaloWorkflow -WorkflowID [-IncludeDetails] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves Workflows from the Halo API - supports a variety of filtering parameters. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -WorkflowID[​](#-workflowid "Direct link to -WorkflowID") Item ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Count[​](#-count "Direct link to -Count") Number of records to return ```yaml Type: Int64 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Paginate[​](#-paginate "Direct link to -Paginate") Paginate results ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: pageinate Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_size Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageNo[​](#-pageno "Direct link to -PageNo") Which page to return. ```yaml Type: Int32 Parameter Sets: Multi Aliases: page_no Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Order[​](#-order "Direct link to -Order") The name of the first field to order by ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -OrderDesc[​](#-orderdesc "Direct link to -OrderDesc") Whether to order ascending or descending ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -IncludeDetails[​](#-includedetails "Direct link to -IncludeDetails") Include extra objects in the result. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Invoke-HaloRequest Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Sends a request to the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### WebRequestParams[​](#webrequestparams "Direct link to WebRequestParams") ```powershell Invoke-HaloRequest -WebRequestParams [-ExpandProperty ] [-RawResult] [-ProgressAction ] [] ``` ##### RequestParameters[​](#requestparameters "Direct link to RequestParameters") ```powershell Invoke-HaloRequest -Method [-Uri ] [-Fragment ] [-Headers ] [-Body ] [-ContentType ] [-ExpandProperty ] [-RawResult] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Wrapper function to send web requests to the Halo API. Supports the legacy hashtable request format used internally by the module, as well as a direct parameter set for clearer public use. When using -Fragment, slashless values are treated as Halo API fragments and are automatically prefixed with /api/. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-HaloRequest -WebRequestParams @{ Method = 'GET'; Uri = 'https://example.halo/api/customtable' } ``` Uses the legacy request hashtable. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Invoke-HaloRequest -Method 'POST' -Uri 'https://example.halo/api/customtable' -Body $Payload ``` Uses the direct parameter set for a POST request with an explicit absolute URI. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Invoke-HaloRequest -Method 'GET' -Fragment 'tickets' ``` Resolves a slashless fragment to /api/tickets before sending the request. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Invoke-HaloRequest -Method 'GET' -Fragment 'tickets' -ExpandProperty 'tickets' ``` Returns only the tickets property from the JSON response. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -WebRequestParams[​](#-webrequestparams "Direct link to -WebRequestParams") Hashtable containing the web request parameters. ```yaml Type: Hashtable Parameter Sets: WebRequestParams Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Method[​](#-method "Direct link to -Method") HTTP method for the request. ```yaml Type: String Parameter Sets: RequestParameters Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Uri[​](#-uri "Direct link to -Uri") Absolute URI for the request. ```yaml Type: String Parameter Sets: RequestParameters Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Fragment[​](#-fragment "Direct link to -Fragment") Fragment path to resolve against the Halo base URL. Slashless fragments are automatically prefixed with /api/. ```yaml Type: String Parameter Sets: RequestParameters Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Headers[​](#-headers "Direct link to -Headers") Request headers to merge with the Halo auth headers. ```yaml Type: Hashtable Parameter Sets: RequestParameters Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Body[​](#-body "Direct link to -Body") Request body. ```yaml Type: Object Parameter Sets: RequestParameters Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ContentType[​](#-contenttype "Direct link to -ContentType") Content type for the request. ```yaml Type: String Parameter Sets: RequestParameters Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ExpandProperty[​](#-expandproperty "Direct link to -ExpandProperty") Returns the value of a property from the JSON response, such as tickets. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -RawResult[​](#-rawresult "Direct link to -RawResult") Returns the raw web response. Useful for file downloads. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Invoke-HaloSQL Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Uses the Reports API endpoint to run arbitrary SQL. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-HaloSQL [-SQLQuery] [-IncludeFullReport] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to run a report preview with a SQL query parameter. Use -IncludeFullReport to get the entire report object instead of just the results #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SQLQuery[​](#-sqlquery "Direct link to -SQLQuery") String or Here String for SQL Statement ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -IncludeFullReport[​](#-includefullreport "Direct link to -IncludeFullReport") Return Full Report Object. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAction Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more actions via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAction [-Action] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an action creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Action[​](#-action "Direct link to -Action") Object or array of objects containing properties and values used to create one or more new actions. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloActionBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple actions via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloActionBatch [-Actions] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of action creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Actions[​](#-actions "Direct link to -Actions") Array of objects containing properties and values used to create one or more new actions. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAgent Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more agents via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAgent [-Agent] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an agent creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Agent[​](#-agent "Direct link to -Agent") Object or array of objects containing properties and values used to create one or more new agents. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAgentBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple agents via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAgentBatch [-Agents] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of agent creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Agents[​](#-agents "Direct link to -Agents") Array of objects containing properties and values used to create one or more new agents. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAppointment Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more appointments via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAppointment [-Appointment] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an appointment creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Appointment[​](#-appointment "Direct link to -Appointment") Object or array of objects containing properties and values used to create one or more new appointments. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAppointmentBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple appointments via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAppointmentBatch [-Appointments] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of appointment creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Appointments[​](#-appointments "Direct link to -Appointments") Array of objects containing properties and values used to create one or more new appointments. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAsset Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more assets via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAsset [-Asset] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an asset creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Asset[​](#-asset "Direct link to -Asset") Object or array of objects containing properties and values used to create one or more new assets. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAssetBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple assets via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAssetBatch [-Assets] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of asset creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Assets[​](#-assets "Direct link to -Assets") Array of objects containing properties and values used to create one or more new assets. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAssetType Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates an asset type via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAssetType [-AssetType] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an asset type creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AssetType[​](#-assettype "Direct link to -AssetType") Object containing properties and values used to create a new asset. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAttachment Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more attachments via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAttachment [-Attachment] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an attachment creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Attachment[​](#-attachment "Direct link to -Attachment") Object or array of objects containing properties and values used to create one or more new attachments. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloAttachmentBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple attachments via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloAttachmentBatch [-Attachments] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of attachment creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Attachments[​](#-attachments "Direct link to -Attachments") Array of objects containing properties and values used to create one or more new attachments. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloBillingTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a billing template via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloBillingTemplate [-Template] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a billing template creation request to the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Template[​](#-template "Direct link to -Template") Object containing properties and values used to create a new billing template. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloCategory Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a Category via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloCategory [-Category] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a Category creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Category[​](#-category "Direct link to -Category") Object containing properties and values used to create a new knowledgebase article. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloClient Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more clients via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloClient [-Client] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a client creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Client[​](#-client "Direct link to -Client") Object or array of objects containing properties and values used to create one or more new clients. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloClientBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple clients via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloClientBatch [-Clients] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of client creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Clients[​](#-clients "Direct link to -Clients") Array of objects containing properties and values used to create one or more new clients. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloContract Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more contracts via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloContract [-Contract] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a contract creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Contract[​](#-contract "Direct link to -Contract") Object or array of objects containing properties and values used to create one or more new contracts. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloContractBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple contracts via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloContractBatch [-Contracts] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of contract creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Contracts[​](#-contracts "Direct link to -Contracts") Array of objects containing properties and values used to create one or more new contracts. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloCRMNote Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a CRM note via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloCRMNote [-CRMNote] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a CRM note creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CRMNote[​](#-crmnote "Direct link to -CRMNote") Object containing properties and values used to create a new CRM note. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloCustomButton Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a custom button via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloCustomButton [-CustomButton] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a custom button creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomButton[​](#-custombutton "Direct link to -CustomButton") Object containing properties and values used to create a new custom button. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloCustomField Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more Custom Field(s) via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloCustomField [-CustomField] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a Custom Field(s) creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomField[​](#-customfield "Direct link to -CustomField") Object or array of objects containing properties and values used to create one or more new statuses. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloCustomFieldBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple custom fields via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloCustomFieldBatch [-CustomFields] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of custom field creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomFields[​](#-customfields "Direct link to -CustomFields") Array of objects containing properties and values used to create one or more new custom fields. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloCustomTable Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a custom table via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloCustomTable [-CustomTable] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a custom table creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomTable[​](#-customtable "Direct link to -CustomTable") Object containing properties and values used to create a new custom table. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloCustomTableData Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates custom table data via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloCustomTableData [-CustomTableData] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a custom table data creation request to the Halo API using the customtable endpoint. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomTableData[​](#-customtabledata "Direct link to -CustomTableData") Object or array of objects containing properties and values used to create custom table data records. Use the Halo CustomTable payload shape (for example id with \_add\_rows). ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloDashboard Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a dashboard via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloDashboard [-Dashboard] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a dashboard creation request to the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Dashboard[​](#-dashboard "Direct link to -Dashboard") Object containing properties and values used to create a new dashboard. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloDistributionList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more distribution lists via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloDistributionList [-DistributionList] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a distribution list creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DistributionList[​](#-distributionlist "Direct link to -DistributionList") Object or array of objects containing properties and values used to create one or more new distribution lists. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloDistributionListMember Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Adds one or more members to a distribution list via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloDistributionListMember [-DistributionListID] [-Member] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a request to add members to a distribution list in the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DistributionListID[​](#-distributionlistid "Direct link to -DistributionListID") Distribution List ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Member[​](#-member "Direct link to -Member") Object or array of objects containing properties and values used to add one or more members to the distribution list. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloFAQList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a FAQ List article via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloFAQList [-FAQList] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a FAQ list creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -FAQList[​](#-faqlist "Direct link to -FAQList") Object containing properties and values used to create a new knowledgebase article. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloInvoice Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more invoices via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloInvoice [-Invoice] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an invoice creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Invoice[​](#-invoice "Direct link to -Invoice") Object or array of objects containing properties and values used to create one or more new invoices. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloInvoiceBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple invoices via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloInvoiceBatch [-Invoices] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of invoice creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Invoices[​](#-invoices "Direct link to -Invoices") Array of objects containing properties and values used to create one or more new invoices. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloItem Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more items via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloItem [-Item] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an item creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Item[​](#-item "Direct link to -Item") Object or array of objects containing properties and values used to create one or more new items. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloItemBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple items via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloItemBatch [-Items] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of item creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Items[​](#-items "Direct link to -Items") Array of objects containing properties and values used to create one or more new items. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloKBArticle Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more knowledgebase articles via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloKBArticle [-KBArticle] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a knowledgebase article creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -KBArticle[​](#-kbarticle "Direct link to -KBArticle") Object or array of objects containing properties and values used to create one or more new knowledgebase articles. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloKBArticleBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple knowledgebase articles via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloKBArticleBatch [-KBArticles] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of knowledgebase article creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -KBArticles[​](#-kbarticles "Direct link to -KBArticles") Array of objects containing properties and values used to create one or more new knowledgebase articles. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloOpportunity Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more opportunities via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloOpportunity [-Opportunity] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an opportunity creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Opportunity[​](#-opportunity "Direct link to -Opportunity") Object or array of objects containing properties and values used to create one or more new opportunities. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloOpportunityBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple opportunities via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloOpportunityBatch [-Opportunities] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of opportunity creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Opportunities[​](#-opportunities "Direct link to -Opportunities") Array of objects containing properties and values used to create one or more new opportunities. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloOutcome Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more outcomes via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloOutcome [-Outcome] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a outcome creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Outcome[​](#-outcome "Direct link to -Outcome") Object or array of objects containing properties and values used to create one or more new outcomes. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloProject Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more projects via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloProject [-Project] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a project creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Project[​](#-project "Direct link to -Project") Object or array of objects containing properties and values used to create one or more new projects. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloProjectBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple projects via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloProjectBatch [-Projects] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of project creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Projects[​](#-projects "Direct link to -Projects") Array of objects containing properties and values used to create one or more new projects. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloQuote Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more quotes via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloQuote [-Quote] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a quote creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Quote[​](#-quote "Direct link to -Quote") Object or array of objects containing properties and values used to create one or more new quotations. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloQuoteBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple quotes via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloQuoteBatch [-Quotes] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of quote creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Quotes[​](#-quotes "Direct link to -Quotes") Array of objects containing properties and values used to create one or more new quotes. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloRecurringInvoice Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a recurring invoice via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloRecurringInvoice [-RecurringInvoice] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a recurring invoice creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -RecurringInvoice[​](#-recurringinvoice "Direct link to -RecurringInvoice") Object containing properties and values used to create a new invoice. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloRecurringInvoiceBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple recurring invoices via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloRecurringInvoiceBatch [-RecurringInvoices] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of recurring invoice creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -RecurringInvoices[​](#-recurringinvoices "Direct link to -RecurringInvoices") Array of objects containing properties and values used to create one or more new recurring invoices. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloReport Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more reports via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloReport [-Report] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a report creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Report[​](#-report "Direct link to -Report") Object or array of objects containing properties and values used to create one or more new reports. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloReportBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple reports via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloReportBatch [-Reports] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of report creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Reports[​](#-reports "Direct link to -Reports") Array of objects containing properties and values used to create one or more new reports. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloSalesOrder Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more sales orders via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloSalesOrder [-SalesOrder] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a sales order creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SalesOrder[​](#-salesorder "Direct link to -SalesOrder") Object or array of objects containing properties and values used to create one or more new sales orders. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloScheduleTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates a schedule template via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloScheduleTemplate [-Template] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a schedule template creation request to the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Template[​](#-template "Direct link to -Template") Object containing properties and values used to create a new schedule template. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloService Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more Service(s) via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloService [-Service] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a Service(s) creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Service[​](#-service "Direct link to -Service") Object or array of objects containing properties and values used to create one or more new statuses. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloServiceBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple services via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloServiceBatch [-Services] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of service creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Services[​](#-services "Direct link to -Services") Array of objects containing properties and values used to create one or more new services. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloSite Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more sites via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloSite [-Site] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a site creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Site[​](#-site "Direct link to -Site") Object or array of objects containing properties and values used to create one or more new sites. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloSiteBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple sites via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloSiteBatch [-Sites] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of site creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Sites[​](#-sites "Direct link to -Sites") Array of objects containing properties and values used to create one or more new sites. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloSoftwareLicence Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more Software Licences via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloSoftwareLicence [-SoftwareLicence] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a Software Licence creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SoftwareLicence[​](#-softwarelicence "Direct link to -SoftwareLicence") Object or array of objects containing properties and values used to create one or more new software licences. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloSoftwareLicenseBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple software licenses via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloSoftwareLicenseBatch [-SoftwareLicenses] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of software license creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SoftwareLicenses[​](#-softwarelicenses "Direct link to -SoftwareLicenses") Array of objects containing properties and values used to create one or more new software licenses. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloStatus Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more statuses via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloStatus [-Status] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a status creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Status[​](#-status "Direct link to -Status") Object or array of objects containing properties and values used to create one or more new statuses. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloSupplier Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more suppliers via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloSupplier [-Supplier] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a supplier creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Supplier[​](#-supplier "Direct link to -Supplier") Object or array of objects containing properties and values used to create one or more new suppliers. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloSupplierBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple suppliers via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloSupplierBatch [-Suppliers] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of supplier creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Suppliers[​](#-suppliers "Direct link to -Suppliers") Array of objects containing properties and values used to create one or more new suppliers. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloTab Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more tabs via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloTab [-Tab] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a tab creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Tab[​](#-tab "Direct link to -Tab") Object or array of objects containing properties and values used to create one or more new tabs. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloTeam Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more teams via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloTeam [-Team] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a team creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Team[​](#-team "Direct link to -Team") Object or array of objects containing properties and values used to create one or more new teams. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloTeamBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple teams via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloTeamBatch [-Teams] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of team creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Teams[​](#-teams "Direct link to -Teams") Array of objects containing properties and values used to create one or more new teams. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more templates via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloTemplate [-Template] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a template creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Template[​](#-template "Direct link to -Template") Object or array of objects containing properties and values used to create one or more new templates. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloTicket Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more tickets via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloTicket [-Ticket] [-ReturnAll] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a ticket creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Ticket[​](#-ticket "Direct link to -Ticket") Object or array of objects containing properties and values used to create one or more new tickets. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ReturnAll[​](#-returnall "Direct link to -ReturnAll") Return all results when letting Halo batch process. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloTicketBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple tickets via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloTicketBatch [-Tickets] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of ticket creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Tickets[​](#-tickets "Direct link to -Tickets") Array of objects containing properties and values used to create one or more new tickets. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloTicketType Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more ticket types via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloTicketType [-TicketType] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a ticket type creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TicketType[​](#-tickettype "Direct link to -TicketType") Object or array of objects containing properties and values used to create one or more new ticket types. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloTicketTypeBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple ticket types via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloTicketTypeBatch [-TicketTypes] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of ticket type creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TicketTypes[​](#-tickettypes "Direct link to -TicketTypes") Array of objects containing properties and values used to create one or more new ticket types. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloUser Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more user via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloUser [-User] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a user creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -User[​](#-user "Direct link to -User") Object or array of objects containing properties and values used to create one or more new users. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloUserBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple users via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloUserBatch [-Users] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of user creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Users[​](#-users "Direct link to -Users") Array of objects containing properties and values used to create one or more new users. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloViewColumn Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more viewcolumns via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloViewColumn [-ViewColumn] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an viewcolumn creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewColumn[​](#-viewcolumn "Direct link to -ViewColumn") Object or array of objects containing properties and values used to create one or more new viewcolumns. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloViewFilter Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more viewfilters via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloViewFilter [-ViewFilter] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an viewfilter creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewFilter[​](#-viewfilter "Direct link to -ViewFilter") Object or array of objects containing properties and values used to create one or more new viewfilters. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloViewList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more viewlists via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloViewList [-ViewList] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an viewlist creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewList[​](#-viewlist "Direct link to -ViewList") Object or array of objects containing properties and values used to create one or more new viewlists. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloViewListGroup Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more viewlistgroups via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloViewListGroup [-ViewListGroup] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an viewlistgroup creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewListGroup[​](#-viewlistgroup "Direct link to -ViewListGroup") Object or array of objects containing properties and values used to create one or more new viewlistgroups. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloWorkday Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates an Workday via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloWorkday [-Workday] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an Workday creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Workday[​](#-workday "Direct link to -Workday") Object containing properties and values used to create a new item. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloWorkflow Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates one or more Workflow(s) via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloWorkflow [-Workflow] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a Workflow(s) creation request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Workflow[​](#-workflow "Direct link to -Workflow") Object or array of objects containing properties and values used to create one or more new statuses. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-HaloWorkflowBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates multiple workflows via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-HaloWorkflowBatch [-Workflows] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of workflow creation requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Workflows[​](#-workflows "Direct link to -Workflows") Array of objects containing properties and values used to create one or more new workflows. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloAction Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an action from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Remove-HaloAction -ActionID -TicketID [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Batch[​](#batch "Direct link to Batch") ```powershell Remove-HaloAction -Action [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific action from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ActionID[​](#-actionid "Direct link to -ActionID") The Action ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") The Ticket ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Action[​](#-action "Direct link to -Action") Object containing action id and ticket id for batch processing. ```yaml Type: Object Parameter Sets: Batch Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloActionBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes multiple actions via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloActionBatch [-Actions] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of action removal requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Actions[​](#-actions "Direct link to -Actions") Array of objects containing properties and values used to remove one or more actions. This should be an array of objects containing an `Id` and `TicketId` property. ```yaml Type: Int64[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloAgent Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an agent from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloAgent [-AgentId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific agent from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AgentId[​](#-agentid "Direct link to -AgentId") The agent ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Agent Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloAgentBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes multiple agents via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloAgentBatch [-Agents] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of agent removal requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Agents[​](#-agents "Direct link to -Agents") Array of objects containing properties and values used to remove one or more agents. This should be an array of agent ids. ```yaml Type: Int64[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloAppointment Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an Appointment from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Remove-HaloAppointment -AppointmentID [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Batch[​](#batch "Direct link to Batch") ```powershell Remove-HaloAppointment -Appointment [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Appointment from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AppointmentID[​](#-appointmentid "Direct link to -AppointmentID") The Appointment ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Appointment[​](#-appointment "Direct link to -Appointment") Object containing Appointment id and ticket id for batch processing. ```yaml Type: Object Parameter Sets: Batch Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloAsset Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an Asset from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Remove-HaloAsset -AssetID [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Batch[​](#batch "Direct link to Batch") ```powershell Remove-HaloAsset -Asset [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Asset from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AssetID[​](#-assetid "Direct link to -AssetID") The Asset ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Asset[​](#-asset "Direct link to -Asset") Object containing Asset id and ticket id for batch processing. ```yaml Type: Object Parameter Sets: Batch Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloAssetType Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an Asset Type from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloAssetType [-AssetTypeID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Asset Type from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AssetTypeID[​](#-assettypeid "Direct link to -AssetTypeID") The AssetType ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloCategory Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an Category from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloCategory [-CategoryID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Category from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CategoryID[​](#-categoryid "Direct link to -CategoryID") The Category ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: category_id Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloClient Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a client from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloClient [-ClientID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific client from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ClientID[​](#-clientid "Direct link to -ClientID") The client ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Client Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloClientBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes multiple clients via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloClientBatch [-Clients] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of client removal requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Clients[​](#-clients "Direct link to -Clients") Array of objects containing properties and values used to remove one or more clients. This should be an array of client ids. ```yaml Type: Int64[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloContract Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a Contract from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloContract [-ContractID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific contract from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ContractID[​](#-contractid "Direct link to -ContractID") The Contract ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloCRMNote Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a CRM note from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloCRMNote [-CRMNoteID] [-TicketID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific CRM note from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CRMNoteID[​](#-crmnoteid "Direct link to -CRMNoteID") The CRN note ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -TicketID[​](#-ticketid "Direct link to -TicketID") The Ticket ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloCustomField Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a Custom Field from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloCustomField [-CustomFieldID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Custom Field from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomFieldID[​](#-customfieldid "Direct link to -CustomFieldID") The Custom Field ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloCustomTableData Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes custom table data from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloCustomTableData [-CustomTableID] [-AllData] [[-StartDate] ] [[-EndDate] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes custom table data from Halo by posting a CustomTable payload with delete flags. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomTableID[​](#-customtableid "Direct link to -CustomTableID") The custom table ID. ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -AllData[​](#-alldata "Direct link to -AllData") Deletes all data for the custom table. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -StartDate[​](#-startdate "Direct link to -StartDate") Optional start date for data deletion. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -EndDate[​](#-enddate "Direct link to -EndDate") Optional end date for data deletion. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloDashboard Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a dashboard from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloDashboard [-DashboardID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific dashboard from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DashboardID[​](#-dashboardid "Direct link to -DashboardID") The dashboard ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Dashboard Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloDistributionList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a distribution list from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloDistributionList [-DistributionListID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific distribution list from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DistributionListID[​](#-distributionlistid "Direct link to -DistributionListID") The Distribution List ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: DistributionList Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloDistributionListMember Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a member from a distribution list in the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloDistributionListMember [-DistributionListID] [-Member] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific member from a distribution list in Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DistributionListID[​](#-distributionlistid "Direct link to -DistributionListID") Distribution List ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Member[​](#-member "Direct link to -Member") The member ID or email to remove ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloInvoice Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a Invoice from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloInvoice [-InvoiceID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Invoice from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -InvoiceID[​](#-invoiceid "Direct link to -InvoiceID") The Invoice ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Invoice Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloItem Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an item from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloItem [-ItemId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific item from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ItemId[​](#-itemid "Direct link to -ItemId") The item ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloKBArticle Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a knowledgebase articles from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloKBArticle [-KBArticleID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific knowledgebase articles from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -KBArticleID[​](#-kbarticleid "Direct link to -KBArticleID") The KBArticle ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: KBArticle Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloOutcome Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a Outcome from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloOutcome [-OutcomeID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Outcome from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -OutcomeID[​](#-outcomeid "Direct link to -OutcomeID") The Outcome ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Outcome Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloQuote Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a Quote from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloQuote [-QuoteID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Quote from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -QuoteID[​](#-quoteid "Direct link to -QuoteID") The Quote ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Quote Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloReport Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a report from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloReport [-ReportID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific report from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ReportID[​](#-reportid "Direct link to -ReportID") The report ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Report Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloSalesOrder Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a sales order from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloSalesOrder [-SalesOrderID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific sales order from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SalesOrderID[​](#-salesorderid "Direct link to -SalesOrderID") The sales order ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: SalesOrder Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloService Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a Service from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloService [-ServiceID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Service from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ServiceID[​](#-serviceid "Direct link to -ServiceID") The Service ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Service Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloSite Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a Site from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloSite [-SiteID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Site from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SiteID[​](#-siteid "Direct link to -SiteID") The Site ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Site Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloStatus Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a Status from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloStatus [-StatusID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Status from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -StatusID[​](#-statusid "Direct link to -StatusID") The Status ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Status Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloSupplier Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a supplier from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloSupplier -SupplierID [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific supplier from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SupplierID[​](#-supplierid "Direct link to -SupplierID") The Supplier ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a template from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloTemplate [-TemplateID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific template from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TemplateID[​](#-templateid "Direct link to -TemplateID") The Template ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Template Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloTicket Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a ticket from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloTicket [-TicketID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific ticket from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TicketID[​](#-ticketid "Direct link to -TicketID") The Ticket ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Ticket Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloTicketBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes multiple tickets via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloTicketBatch [-Tickets] [[-BatchSize] ] [[-BatchWait] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of ticket removal requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Tickets[​](#-tickets "Direct link to -Tickets") Array of objects containing properties and values used to remove one or more tickets. This should be an array of ticket ids. ```yaml Type: Int64[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloTicketRules Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an Rule from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloTicketRules [-RuleID] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific Rule from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -RuleID[​](#-ruleid "Direct link to -RuleID") The Rule ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: Rule_id Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloUser Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a user from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-HaloUser [-UserId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific user from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -UserId[​](#-userid "Direct link to -UserId") The Ticket ID ```yaml Type: Int64 Parameter Sets: (All) Aliases: User Required: True Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloViewColumn Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a viewcolumn from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Remove-HaloViewColumn -ViewColumnID [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Batch[​](#batch "Direct link to Batch") ```powershell Remove-HaloViewColumn -ViewColumn [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific viewcolumn from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewColumnID[​](#-viewcolumnid "Direct link to -ViewColumnID") The ViewColumn ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewColumn[​](#-viewcolumn "Direct link to -ViewColumn") Object containing viewcolumn id for batch processing. ```yaml Type: Object Parameter Sets: Batch Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloViewFilter Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a viewfilter from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Remove-HaloViewFilter -ViewFilterID [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Batch[​](#batch "Direct link to Batch") ```powershell Remove-HaloViewFilter -ViewFilter [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific viewfilter from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewFilterID[​](#-viewfilterid "Direct link to -ViewFilterID") The ViewFilter ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewFilter[​](#-viewfilter "Direct link to -ViewFilter") Object containing viewfilter id for batch processing. ```yaml Type: Object Parameter Sets: Batch Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloViewList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a viewlist from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Remove-HaloViewList -ViewListID [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Batch[​](#batch "Direct link to Batch") ```powershell Remove-HaloViewList -ViewList [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific viewlist from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewListID[​](#-viewlistid "Direct link to -ViewListID") The ViewList ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewList[​](#-viewlist "Direct link to -ViewList") Object containing viewlist id for batch processing. ```yaml Type: Object Parameter Sets: Batch Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-HaloViewListGroup Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes a viewlistgroup from the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Remove-HaloViewListGroup -ViewListGroupID [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Batch[​](#batch "Direct link to Batch") ```powershell Remove-HaloViewListGroup -ViewListGroup [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a specific viewlistgroup from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewListGroupID[​](#-viewlistgroupid "Direct link to -ViewListGroupID") The ViewListGroup ID ```yaml Type: Int64 Parameter Sets: Single Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -ViewListGroup[​](#-viewlistgroup "Direct link to -ViewListGroup") Object containing viewlistgroup id for batch processing. ```yaml Type: Object Parameter Sets: Batch Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Restore-HaloTicket Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Restores a ticket using the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Restore-HaloTicket [-TicketId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restores a specific ticket or array of tickets from Halo. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TicketId[​](#-ticketid "Direct link to -TicketId") The Ticket id or array of ticket ids. ```yaml Type: Int64[] Parameter Sets: (All) Aliases: Ticket Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloAction Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more actions via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloAction [-Action] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a action update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Action[​](#-action "Direct link to -Action") Object or array of objects containing properties and values used to update one or more existing actions. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloActionBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates multiple actions via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloActionBatch [-Actions] [[-BatchSize] ] [[-BatchWait] ] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of action update requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Actions[​](#-actions "Direct link to -Actions") Array of objects containing properties and values used to update one or more existing actions. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 100 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 1 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloAgent Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more agents via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloAgent [-Agent] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an agent update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Agent[​](#-agent "Direct link to -Agent") Object or array of objects containing properties and values used to update one or more existing agents. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloAppointment Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more appointments via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloAppointment [-Appointment] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an appointment update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Appointment[​](#-appointment "Direct link to -Appointment") Object or array of objects containing properties and values used to update one or more existing appointments. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloAsset Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more assets via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloAsset [-Asset] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an asset update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Asset[​](#-asset "Direct link to -Asset") Object or array of objects containing properties and values used to update one or more existing assets. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloAssetType Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates an asset type via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloAssetType [-AssetType] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an asset type update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -AssetType[​](#-assettype "Direct link to -AssetType") Object containing properties and values used to update an existing asset type. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloAttachment Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates an attachment via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloAttachment [-Attachment] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an attachment update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Attachment[​](#-attachment "Direct link to -Attachment") Object containing properties and values used to update an existing attachment. ```yaml Type: PSObject Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloBillingTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a billing template via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloBillingTemplate [-Template] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an billing template update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Template[​](#-template "Direct link to -Template") Object containing properties and values used to update an existing billing template. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloCategory Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a Category via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloCategory [-Category] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an Category update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Category[​](#-category "Direct link to -Category") Object containing properties and values used to update an existing knowedgebase article. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloClient Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more clients via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloClient [-Client] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a client update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Client[​](#-client "Direct link to -Client") Object or array of objects containing properties and values used to update one or more existing clients. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloContract Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more contracts via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloContract [-Contract] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a contract update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Contract[​](#-contract "Direct link to -Contract") Object or array of objects containing properties and values used to update one or more existing contracts. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloCRMNote Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a CRM note via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloCRMNote [-CRMNote] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a CRM note update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CRMNote[​](#-crmnote "Direct link to -CRMNote") Object containing properties and values used to update an existing CRM note. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloCustomButton Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a custom button via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloCustomButton [-CustomButton] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a custom button update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomButton[​](#-custombutton "Direct link to -CustomButton") Object containing properties and values used to update an existing contract. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloCustomTableData Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates custom table data via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloCustomTableData [-CustomTableData] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a custom table data update request to the Halo API using the customtable endpoint. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -CustomTableData[​](#-customtabledata "Direct link to -CustomTableData") Object or array of objects containing properties and values used to update custom table data records. Use the Halo CustomTable payload shape (for example id with rows). ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloDashboard Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a dashboard via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloDashboard [-Dashboard] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a dashboard update request to the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Dashboard[​](#-dashboard "Direct link to -Dashboard") Object containing properties and values used to update an existing dashboard. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloDistributionList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more distribution lists via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloDistributionList [-DistributionList] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a distribution list update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -DistributionList[​](#-distributionlist "Direct link to -DistributionList") Object or array of objects containing properties and values used to update one or more existing distribution lists. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloFAQList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a FAQ List via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloFAQList [-FAQList] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an FAQ List update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -FAQList[​](#-faqlist "Direct link to -FAQList") Object containing properties and values used to update an existing knowedgebase article. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloInvoice Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more invoices via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloInvoice [-Invoice] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an invoice update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Invoice[​](#-invoice "Direct link to -Invoice") Object or array of objects containing properties and values used to update one or more existing invoices. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloItem Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more items via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloItem [-Item] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an item update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Item[​](#-item "Direct link to -Item") Object or array of objects containing properties and values used to update one or more existing items. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloKBArticle Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more knowledgebase articles via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloKBArticle [-KBArticle] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an knowledgebase article update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -KBArticle[​](#-kbarticle "Direct link to -KBArticle") Object or array of objects containing properties and values used to update one or more existing knowledgebase articles. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloOpportunity Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more opportunities via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloOpportunity [-Opportunity] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an opportunity update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Opportunity[​](#-opportunity "Direct link to -Opportunity") Object or array of objects containing properties and values used to update one or more existing opportunities. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloProject Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more projects via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloProject [-Project] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a project creation update to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Project[​](#-project "Direct link to -Project") Object or array of objects containing properties and values used to update one or more existing projects. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloQuote Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more quotes via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloQuote [-Quote] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a quote creation update to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Quote[​](#-quote "Direct link to -Quote") Object or array of objects containing properties and values used to update one or more existing quotations. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloRecurringInvoice Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a recurring invoice via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloRecurringInvoice [-RecurringInvoice] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a recurring invoice update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -RecurringInvoice[​](#-recurringinvoice "Direct link to -RecurringInvoice") Object containing properties and values used to update an existing invoice. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloRecurringTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a recurring invoice schedule template via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloRecurringTemplate [-Template] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a recurring invoice schedule template update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Template[​](#-template "Direct link to -Template") Object containing properties and values used to update an existing invoice. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloReport Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more reports via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloReport [-Report] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a report creation update to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Report[​](#-report "Direct link to -Report") Object or array of objects containing properties and values used to update one or more existing report. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloSalesOrder Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a sales order via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloSalesOrder [-SalesOrder] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a sales order update request to the Halo API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SalesOrder[​](#-salesorder "Direct link to -SalesOrder") Object containing properties and values used to update an existing sales order. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloSite Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more sites via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloSite [-Site] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a site update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Site[​](#-site "Direct link to -Site") Object or array of objects containing properties and values used to update one or more existing sites. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloSoftwareLicence Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more software Licences via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloSoftwareLicence [-SoftwareLicence] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a software Licence update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -SoftwareLicence[​](#-softwarelicence "Direct link to -SoftwareLicence") Object or array of objects containing properties and values used to update one or more existing software licences. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloStatus Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more statuses via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloStatus [-Status] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a status update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Status[​](#-status "Direct link to -Status") Object or array of objects containing properties and values used to update one or more existing statuses. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloSupplier Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more suppliers via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloSupplier [-Supplier] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a supplier update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Supplier[​](#-supplier "Direct link to -Supplier") Object or array of objects containing properties and values used to update one or more existing suppliers. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloTeam Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more teams via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloTeam [-Team] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a team update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Team[​](#-team "Direct link to -Team") Object or array of objects containing properties and values used to update one or more existing teams. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloTemplate Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more templates via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloTemplate [-Template] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a template update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Template[​](#-template "Direct link to -Template") Object or array of objects containing properties and values used to update one or more existing templates. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloTicket Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more tickets via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloTicket [-Ticket] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a ticket update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Ticket[​](#-ticket "Direct link to -Ticket") Object or array of objects containing properties and values used to update one or more existing tickets. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloTicketBatch Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates multiple tickets via the Halo API in a batch process. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloTicketBatch [-Tickets] [[-BatchSize] ] [[-BatchWait] ] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a batch of ticket update requests to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Tickets[​](#-tickets "Direct link to -Tickets") Array of objects containing properties and values used to update one or more existing tickets. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchSize[​](#-batchsize "Direct link to -BatchSize") How many objects to process at once before delaying. Default value is 100. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 100 Accept pipeline input: False Accept wildcard characters: False ``` ##### -BatchWait[​](#-batchwait "Direct link to -BatchWait") How long to wait between batch runs. Default value is 1 second. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 1 Accept pipeline input: False Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the responses from the web requests.[​](#outputs-an-object-containing-the-responses-from-the-web-requests "Direct link to Outputs an object containing the responses from the web requests.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloTicketRules Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a Rule via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloTicketRules [-Rule] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send an Rule update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Rule[​](#-rule "Direct link to -Rule") Object containing properties and values used to update an existing knowedgebase article. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloTicketType Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more ticket types via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloTicketType [-TicketType] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a ticket type update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -TicketType[​](#-tickettype "Direct link to -TicketType") Object or array of objects containing properties and values used to update one or more existing ticket types. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloUser Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more users via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloUser [-User] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a user update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -User[​](#-user "Direct link to -User") Object or array of objects containing properties and values used to update one or more existing users. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloViewColumn Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more viewcolumns via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloViewColumn [-ViewColumn] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a viewcolumn update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewColumn[​](#-viewcolumn "Direct link to -ViewColumn") Object or array of objects containing properties and values used to update one or more existing viewcolumns. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloViewFilter Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more viewfilters via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloViewFilter [-ViewFilter] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a viewfilter update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewFilter[​](#-viewfilter "Direct link to -ViewFilter") Object or array of objects containing properties and values used to update one or more existing viewfilters. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloViewList Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more viewlists via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloViewList [-ViewList] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a viewlist update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewList[​](#-viewlist "Direct link to -ViewList") Object or array of objects containing properties and values used to update one or more existing viewlists. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloViewListGroup Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates one or more viewlistgroups via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloViewListGroup [-ViewListGroup] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a viewlistgroup update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ViewListGroup[​](#-viewlistgroup "Direct link to -ViewListGroup") Object or array of objects containing properties and values used to update one or more existing viewlistgroups. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Set-HaloWorkday Generated Cmdlet Help This page has been generated from the HaloAPI PowerShell module source. To make changes please edit the appropriate PowerShell source file. #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Updates a workday via the Halo API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-HaloWorkday [-Workday] [-SkipValidation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Function to send a workday update request to the Halo API #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Workday[​](#-workday "Direct link to -Workday") Object containing properties and values used to update an existing item. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -SkipValidation[​](#-skipvalidation "Direct link to -SkipValidation") Skip validation checks. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Development Overview This page documents the current development workflow for HaloAPI. #### Quick Start[​](#quick-start "Direct link to Quick Start") ```powershell pwsh -File .\Bootstrap.ps1 pwsh -File .\DevOps\Quality\run-pssa.ps1 pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta ``` #### Repo Layout[​](#repo-layout "Direct link to Repo Layout") * `Public/` contains exported cmdlets. * `Private/` contains internal helpers. * `Classes/` contains helper classes, validators, completers, and argument transformations. * `Tests/` contains Pester suites. * `DevOps/Quality/` contains static-analysis and test entrypoints. * `Docs/HaloAPI/development/` contains repo-authored development documentation. * `docs/HaloAPI/` is the canonical generated and curated publishable docs layout. #### Development Process[​](#development-process "Direct link to Development Process") HaloAPI uses GitHub Actions for CI and release automation. Keep workflow changes explicit and small. Normal contribution flow should target `develop`. Treat `main` as the stable release branch. For normal local validation, prefer the dedicated repo scripts: ```powershell pwsh -File .\Bootstrap.ps1 pwsh -File .\DevOps\Quality\run-pssa.ps1 pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta ``` For interactive VS Code runs, prefer the `Test HaloAPI` task or: ```powershell pwsh -File .\DevOps\Quality\test.ps1 -IncludeVSCodeMarker ``` Do not invoke `Invoke-Pester` directly as the normal validation path in the VS Code host, terminal, or automation. Use `DevOps\Quality\test.ps1` as the supported test entrypoint. #### Quality Gates[​](#quality-gates "Direct link to Quality Gates") * Run `Bootstrap.ps1` after changing local dependencies. * Run `run-pssa.ps1` to validate PowerShell style and custom repo rules. * Run `test.ps1 -Suite Meta` for the safe baseline test suite. * Only run `Live` tests when the required Halo testing environment variables are available. #### Manual E2E Workflow[​](#manual-e2e-workflow "Direct link to Manual E2E Workflow") Destructive end-to-end tests are executed through a dedicated manual workflow. Workflow: `Manual E2E Tests` Path: `.github/workflows/manual-e2e-tests.yml` Run steps: 1. Open **Actions** in GitHub and select **Manual E2E Tests**. 2. Click **Run workflow**. 3. Set `confirm_destructive` to `true`. 4. Run the workflow and review published `Pester Tests (E2E)` results. Notes: * The workflow requires Halo test secrets (`HaloTestingURL`, `HaloTestingClientID`, `HaloTestingClientSecret`, `HaloTestingTenant`). * The workflow runs `DevOps\Quality\test.ps1 -Suite E2E` and uploads `.artifacts/TestResults.e2e.xml`. * Keep E2E runs manual/on-demand to avoid destructive test execution in normal PR CI. #### Release and Workflow Notes[​](#release-and-workflow-notes "Direct link to Release and Workflow Notes") * Keep GitHub Actions changes focused and explicit. * Preserve PowerShell Gallery publishing behavior when changing release automation. * Stable tags must be reachable from `main`; prerelease tags may be cut from `develop`. * Development docs are synced from `Docs/HaloAPI/development` to `homotechsualdocs/docs/haloapi/development` after successful `develop` pushes. #### Related Pages[​](#related-pages "Direct link to Related Pages") * [Quality Gates](/modules/haloapi/development/quality-gates.md) * [Delivery And Release Process](/modules/haloapi/development/delivery-and-release-process.md) * [Development Troubleshooting](/modules/haloapi/development/troubleshooting.md) --- ### Delivery And Release Process This page records the normal HaloAPI development, CI, documentation, and release flow. #### Branch Model[​](#branch-model "Direct link to Branch Model") * `develop` is the active integration branch for day-to-day work. * `main` is the stable release branch. * Normal pull requests should target `develop`. * Stable tags such as `v1.23.0` must point to commits reachable from `main`. * Preview tags such as `v1.24.0-beta1` may point to `develop`. #### Local Change Flow[​](#local-change-flow "Direct link to Local Change Flow") 1. Bootstrap the development environment. 2. Make the code or documentation changes. 3. Run the repo validation entrypoints locally. 4. Update development docs or generated docs if public behavior changed. 5. Open or update the pull request targeting `develop`. ```powershell pwsh -File .\Bootstrap.ps1 pwsh -File .\DevOps\Quality\run-pssa.ps1 pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta -Verbosity Detailed ``` #### CI Flow On `develop`[​](#ci-flow-on-develop "Direct link to ci-flow-on-develop") The `CI` workflow runs on pushes and pull requests targeting `develop`. It currently executes in this order: 1. Lint with PSScriptAnalyzer. 2. Run cross-platform metadata smoke tests on Linux and macOS. 3. Run the Windows metadata test job with coverage and JUnit output. 4. Sync development documentation after successful push runs on `develop`. #### Development Docs Sync[​](#development-docs-sync "Direct link to Development Docs Sync") After a successful `push` run on `develop`, `sync-development-docs.yml` publishes `Docs/HaloAPI/development` to `homotechsualdocs` at `docs/haloapi/development`. #### Stable Release Flow[​](#stable-release-flow "Direct link to Stable Release Flow") 1. Update `CHANGELOG.md` and `HaloAPI.psd1` together. 2. Make sure the release-prep commit is green in CI. 3. Merge the release-prep pull request from `develop` into `main`. 4. Create the stable release tag from the merged `main` commit. 5. Let the tag workflows validate, build, publish, create the GitHub release, and publish docs. Example stable tag flow: ```powershell git checkout main git pull origin main git tag v1.23.0 git push origin v1.23.0 ``` #### What The Tag Workflows Do[​](#what-the-tag-workflows-do "Direct link to What The Tag Workflows Do") ##### `tag-validate.yml`[​](#tag-validateyml "Direct link to tag-validateyml") Validates that the tag came from the correct branch: * stable tags must be reachable from `main` * prerelease tags must be reachable from `develop` ##### `release.yml`[​](#releaseyml "Direct link to releaseyml") Builds and publishes the module package and uploads the release artifacts, including the docs artifact used by downstream publishing. ##### `create-release.yml`[​](#create-releaseyml "Direct link to create-releaseyml") Creates or updates the GitHub release using the matching version section from `CHANGELOG.md` when available. ##### `publish-docs.yml`[​](#publish-docsyml "Direct link to publish-docsyml") Publishes the tagged documentation artifact to `homotechsualdocs` at: * `docs/haloapi/commandlets` * `docs/haloapi/index.mdx` * `docs/haloapi/img` #### Preview Release Flow[​](#preview-release-flow "Direct link to Preview Release Flow") Preview releases follow the same pattern, but use prerelease tags such as: * `v1.24.0-alpha1` * `v1.24.0-beta1` * `v1.24.0-rc1` These tags should be cut from commits reachable from `develop`. --- ### Quality Gates This page documents the quality gates and code standards currently enforced in HaloAPI. #### Overview[​](#overview "Direct link to Overview") HaloAPI quality checks are centered on these repo entrypoints: ```powershell pwsh -File .\DevOps\Quality\run-pssa.ps1 pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta ``` The repo currently uses: * `PSScriptAnalyzer` for static analysis. * HaloAPI-specific custom rules under `CustomRules/`. * Inline parameter comments for functions where the custom rules require them. * Comment-based help on public cmdlets. #### PSScriptAnalyzer[​](#psscriptanalyzer "Direct link to PSScriptAnalyzer") Use the dedicated wrapper instead of ad hoc analyzer commands: ```powershell pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` The wrapper intentionally applies the full repo ruleset to `Public/` and a reduced ruleset elsewhere. Public-surface conventions currently enforced include: * required comment-based help * empty help section detection * missing parameter description detection * self-referential parameter alias detection #### Tests[​](#tests "Direct link to Tests") Use the dedicated test script rather than calling `Invoke-Pester` directly: ```powershell pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta -Verbosity Detailed ``` Generate coverage through the same entrypoint: ```powershell pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta -Verbosity Detailed -CodeCoverage ``` #### CI Quality Gates[​](#ci-quality-gates "Direct link to CI Quality Gates") The GitHub Actions CI flow on `develop` currently validates: 1. PSScriptAnalyzer on Windows. 2. Cross-platform metadata smoke tests on Linux and macOS. 3. Windows metadata tests with JUnit output and coverage artifact generation. #### Expectations For Changes[​](#expectations-for-changes "Direct link to Expectations For Changes") When changing public cmdlets: * keep comment-based help intact * preserve exported function naming and aliasing conventions * rerun `run-pssa.ps1` * rerun `test.ps1 -Suite Meta` When changing workflows: * keep the repo script entrypoints as the source of truth * avoid broadening secret usage unless required * preserve the `develop` integration branch and `main` release branch behavior --- ### Development Troubleshooting Common troubleshooting notes for HaloAPI development. #### Build and Environment[​](#build-and-environment "Direct link to Build and Environment") ##### Bootstrap does not install a required module[​](#bootstrap-does-not-install-a-required-module "Direct link to Bootstrap does not install a required module") Symptoms: ```powershell The specified module 'Pester' was not found. ``` Try: ```powershell pwsh -File .\Bootstrap.ps1 Get-Content .\RequiredModules.psd1 Install-Module Pester -Force ``` ##### Build or publish behavior differs between local runs and GitHub Actions[​](#build-or-publish-behavior-differs-between-local-runs-and-github-actions "Direct link to Build or publish behavior differs between local runs and GitHub Actions") Use the repo scripts as the source of truth first, then make workflow changes match them. Try: ```powershell pwsh -File .\Bootstrap.ps1 pwsh -File .\DevOps\Quality\run-pssa.ps1 pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta ``` #### Testing[​](#testing "Direct link to Testing") ##### VS Code becomes unstable when running tests interactively[​](#vs-code-becomes-unstable-when-running-tests-interactively "Direct link to VS Code becomes unstable when running tests interactively") Cause: * Direct `Invoke-Pester` runs in the VS Code host can be less stable than using the dedicated test script entrypoint. Use this instead: ```powershell pwsh -File .\DevOps\Quality\test.ps1 -IncludeVSCodeMarker ``` Or run the `Test HaloAPI` VS Code task. Treat `DevOps\Quality\test.ps1` as the only supported test entrypoint for normal validation. ##### Core tests fail immediately because environment variables are missing[​](#core-tests-fail-immediately-because-environment-variables-are-missing "Direct link to Core tests fail immediately because environment variables are missing") The `Core` suite requires these variables: * `HaloTestingURL` * `HaloTestingClientID` * `HaloTestingClientSecret` * `HaloTestingTenant` If you only need a safe baseline test pass, use: ```powershell pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta ``` ##### Tests pass locally but fail in CI[​](#tests-pass-locally-but-fail-in-ci "Direct link to Tests pass locally but fail in CI") Start by confirming you are using the same script entrypoint locally as CI: ```powershell pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta -Verbosity Detailed ``` Also confirm the branch context matches the repo workflow. Normal CI runs are centered on `develop`, while stable releases are cut from `main`. If results still differ, clear stale artifacts and rerun: ```powershell Remove-Item .\.artifacts\* -Recurse -Force -ErrorAction SilentlyContinue pwsh -File .\DevOps\Quality\test.ps1 -Suite Meta ``` #### PSScriptAnalyzer[​](#psscriptanalyzer "Direct link to PSScriptAnalyzer") ##### `run-pssa.ps1` and direct `Invoke-ScriptAnalyzer` runs disagree[​](#run-pssaps1-and-direct-invoke-scriptanalyzer-runs-disagree "Direct link to run-pssaps1-and-direct-invoke-scriptanalyzer-runs-disagree") The repo wrapper scopes custom rules differently for public and non-public code, so use the wrapper as the primary validation command: ```powershell pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` If you scan directories manually, remember to recurse: ```powershell Invoke-ScriptAnalyzer -Path .\Public -Recurse -Settings .\PSScriptAnalyzerSettings.psd1 -CustomRulePath .\CustomRules ``` ##### Parameter comment or help rules still appear after a change[​](#parameter-comment-or-help-rules-still-appear-after-a-change "Direct link to Parameter comment or help rules still appear after a change") Check the exact placement of inline comments and help blocks. The custom rules expect comments immediately before the parameter or help section they describe. After changes, rerun: ```powershell pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` --- ## MDXExamples ### Input Objects tip Tip Admonition [Test](https://test.example) note Note Admonition [Test](https://test.example) danger Danger Admonition [Test](https://test.example) info Info Admonition [Test](https://test.example) caution Caution Admonition [Test](https://test.example) discord Discord Admonition [Test](https://test.example) powershell PowerShell Admonition [Test](https://test.example) discord Security Admonition [Test](https://test.example) ninja Ninja Admonition [Test](https://test.example) release The feature described here exists from [version 1.2.1](https://github.com) onwards. +-------+-------------+ | Merged Table Header | +-------+-------------+ | Col1 | Col2 | +=======+=============+ | Test1 | Test2 | +-------+-------------+ ```sh echo "this is an sh codeblock" ls -la ``` ```bash echo "this is a bash codeblock" ls -la ``` ```powershell Test-DNSConnection -Param1 $Variable ``` Blacklist items. * Test 1 * Test 2 Test 1 \*\* Markdown Test 1 \*\* ```powershell # Test 1 Test-DNSConnection -Param1 $Variable ``` Test 2 \*\* Markdown Test 2 \*\* ```powershell # Test 2 Test-DNSConnection -Param1 $Variable ``` * checkbox * checkbox * checkbox // comment * Interactive Checkbox Unchecked * Interactive Checkbox Checked --- ## Msgraphmail ### Overview [![Homotechsual Discord](https://img.shields.io/discord/1075421628424523816?style=for-the-badge\&logo=discord\&logoColor=white\&label=Homotechsual%20Discord)](https://discord.gg/NrCjh5ht7K) [![GitHub contributors](https://img.shields.io/github/contributors/homotechsual/msgraphmail?style=for-the-badge\&logo=github)](https://github.com/homotechsual/msgraphmail/) [![Azure DevOps Pipeline Status](https://img.shields.io/azure-devops/tests/MSPsUK/msgraphmail/4?style=for-the-badge)](https://dev.azure.com/MSPsUK/MSGraphMail/_build?definitionId=4) [![Azure DevOps Code Coverage](https://img.shields.io/azure-devops/coverage/MSPsUK/msgraphmail/4?style=for-the-badge)](https://dev.azure.com/MSPsUK/MSGraphMail/_build?definitionId=4) [![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/msgraphmail?style=for-the-badge)](https://www.powershellgallery.com/packages/MSGraphMail/) [![License](https://img.shields.io/github/license/homotechsual/msgraphmail?style=for-the-badge)](https://mit.license.homotechsual.dev) [![GitHub Sponsors](https://img.shields.io/github/sponsors/homotechsual?style=for-the-badge)](https://github.com/sponsors/homotechsual/) [![Stable Release](https://img.shields.io/powershellgallery/v/MSGraphMail?label=Stable+Release\&style=for-the-badge)](https://www.powershellgallery.com/packages/MSGraphMail/) [![Preview Release](https://img.shields.io/powershellgallery/v/MSGraphMail?label=Preview+Release\&include_prereleases\&style=for-the-badge)](https://www.powershellgallery.com/packages/MSGraphMail/) #### About[​](#about "Direct link to About") This module provides a PowerShell wrapper around Microsoft Graph's Mail API. It is designed to be a lightweight and easy-to-use tool for interacting with Microsoft Graph's Mail API. It is not designed to be a full-featured mail library, but rather a tool for automating common tasks. #### Installing[​](#installing "Direct link to Installing") This module is published to the [PowerShell Gallery](https://www.powershellgallery.com/packages/MSGraphMail/). You can install it using the following command: ```powershell Install-Module -Name MSGraphMail ``` From time-to-time, preview releases will be published to the PowerShell Gallery. These are not considered stable and should not be used in production. You can install preview releases using the following command: ```powershell Install-Module -Name MSGraphMail -AllowPrerelease ``` #### Getting Started[​](#getting-started "Direct link to Getting Started") The first and probably most important requirement for this module is getting it connected to Microsoft Graph. ##### Creating an application in Microsoft Entra ID (Azure AD)[​](#creating-an-application-in-microsoft-entra-id-azure-ad "Direct link to Creating an application in Microsoft Entra ID (Azure AD)") Rather than attempting to maintain documentation on how to create an application in Microsoft Entra ID (Azure AD), please refer to the [official documentation](https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal) for creating an application in Microsoft Entra ID (Azure AD). You should ensure your application has the appropriate scopes for the operations you wish to perform. For example, if you wish to send mail on behalf of a user, you will need to ensure your application has the `Mail.Send` scope. If you wish to read mail on behalf of a user, you will need to ensure your application has the `Mail.Read` scope. You can find a full list of scopes [here](https://docs.microsoft.com/en-us/graph/permissions-reference#mail-permissions). You can also find a list of permissions required for each operation in the commandlet documentation. ##### Connecting to the Microsoft Graph API[​](#connecting-to-the-microsoft-graph-api "Direct link to Connecting to the Microsoft Graph API") Connecting to the Microsoft Graph API uses the Azure AD Application information and the Connect-MSGraphMail client application. Using the **Splatting** technique: Splatting is a system in PowerShell that lets us put our parameters in a nicely formatted easy to read object (a HashTable to be specific!) and then "splat" them at the command. To do this, first things first setup a PowerShell object to hold your credentials. For example: ```powershell $MSGraphMailConnectionParameters = @{ ApplicationID = '' ApplicationSecret = '' TenantID = '' } Connect-MSGraphMail @MSGraphMailConnectionParameters ``` Using the **Traditional** technique: If you don't want to - or can't "splat" - we can fall back on a more traditional route: ```powershell Connect-MSGraphMail -ApplicationID '' -ApplicationSecret '' -TenantID '' ``` For more information on the Connect-MSGraphMail commandlet, please see the [documentation](/modules/msgraphmail/commandlets/connect/Connect-MSGraphMail.md). #### Examples[​](#examples "Direct link to Examples") Check the [examples](/modules/msgraphmail/category/examples.md) documentation for detailed examples of how to use this module. #### Known Issues[​](#known-issues "Direct link to Known Issues") Known issues will be tracked in the [GitHub issue tracker](https://github.com/homotechsual/msgraphmail/issues). If you find a bug, please open an issue. --- ### Commandlet Reference #### [ Connect to Services](/modules/msgraphmail/category/connect-to-services.md) [1 items](/modules/msgraphmail/category/connect-to-services.md) --- ### Connect to Services #### [ Connect-MSGraphMail](/modules/msgraphmail/commandlets/connect/Connect-MSGraphMail.md) [Uses the provided application id and secret to retrieve an access token for the Microsoft Graph API. If the token has expired, a new one will be retrieved. If the token has not expired, the existing token will be returned. If the token has expired, but the refresh token has not, the token will be refreshed. If the token has expired, and the refresh token has expired, a new token will be retrieved.](/modules/msgraphmail/commandlets/connect/Connect-MSGraphMail.md) --- ### Create Data #### [ New-MSGraphMail](/modules/msgraphmail/commandlets/new/New-MSGraphMail.md) [Uses the Microsoft Graph API to create a new message, optionally sending it, and optionally saving it to a folder. If the message is not sent, it will be saved as a draft. If the message is sent, it will be saved to the Sent Items folder. The message can be created using a standard set of parameters, or by providing a MIME message.](/modules/msgraphmail/commandlets/new/New-MSGraphMail.md) --- ### Examples #### [ Creating Emails](/modules/msgraphmail/examples/Creating-Mails.md) [How to create emails using the module.](/modules/msgraphmail/examples/Creating-Mails.md) --- ### Remove Data #### [ Remove-MSGraphMail](/modules/msgraphmail/commandlets/remove/Remove-MSGraphMail.md) [Deletes an email from a mailbox using the Microsoft Graph API. The mailbox can be specified using a UPN or a mailbox ID. The mailbox can be filtered using a folder ID.](/modules/msgraphmail/commandlets/remove/Remove-MSGraphMail.md) --- ### Remove Data #### [ Send-MSGraphMail](/modules/msgraphmail/commandlets/send/Send-MSGraphMail.md) [Sends a previously created message using the Microsoft Graph API. The message can be sent from a folder, or from the root of the mailbox.](/modules/msgraphmail/commandlets/send/Send-MSGraphMail.md) --- ### Retrieve Information #### [ Get-MSGraphMail](/modules/msgraphmail/commandlets/get/Get-MSGraphMail.md) [Gets emails from a mailbox using the Microsoft Graph API. The mailbox can be specified using a UPN or a mailbox ID. The mailbox can be searched using a string. The mailbox can be filtered using a folder ID. Messages can be returned as a PowerShell object or MIME message. A formatted summary of the messages can be returned.](/modules/msgraphmail/commandlets/get/Get-MSGraphMail.md) --- ### Retrieve Information #### [ Move-MSGraphMail](/modules/msgraphmail/commandlets/move/Move-MSGraphMail.md) [Moves emails between folders in a mailbox using the Microsoft Graph API. The mailbox can be specified using a UPN or a mailbox ID. The mailbox can be filtered using a folder ID.](/modules/msgraphmail/commandlets/move/Move-MSGraphMail.md) --- ### Connect-MSGraphMail #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Retrieves an access token for the Microsoft Graph API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Connect[​](#connect "Direct link to Connect") ```powershell Connect-MSGraphMail -ApplicationID -ApplicationSecret [-Scope ] [-TenantID ] [] ``` ##### Reconnect[​](#reconnect "Direct link to Reconnect") ```powershell Connect-MSGraphMail [-Reconnect] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Uses the provided application id and secret to retrieve an access token for the Microsoft Graph API. If the token has expired, a new one will be retrieved. If the token has not expired, the existing token will be returned. If the token has expired, but the refresh token has not, the token will be refreshed. If the token has expired, and the refresh token has expired, a new token will be retrieved. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ApplicationID[​](#-applicationid "Direct link to -ApplicationID") Azure AD application id. ```yaml Type: String Parameter Sets: Connect Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -ApplicationSecret[​](#-applicationsecret "Direct link to -ApplicationSecret") Azure AD application secret. ```yaml Type: String Parameter Sets: Connect Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Scope[​](#-scope "Direct link to -Scope") Graph permission scope. ```yaml Type: Uri Parameter Sets: Connect Aliases: Required: False Position: Named Default value: [uri]'https://graph.microsoft.com/.default' Accept pipeline input: False Accept wildcard characters: False ``` ##### -TenantID[​](#-tenantid "Direct link to -TenantID") Tenant ID. ```yaml Type: String Parameter Sets: Connect Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Reconnect[​](#-reconnect "Direct link to -Reconnect") Reconnect mode ```yaml Type: SwitchParameter Parameter Sets: Reconnect Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Get-MSGraphMail #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Retrieves emails from a mailbox using the Microsoft Graph API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Get-MSGraphMail -Mailbox -MessageID [-Folder ] [-MIME] [-Select ] [-Pipeline] [] ``` ##### Multi[​](#multi "Direct link to Multi") ```powershell Get-MSGraphMail -Mailbox [-Folder ] [-HeadersOnly] [-Search ] [-Select ] [-PageSize ] [-Pipeline] [-Summary] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets emails from a mailbox using the Microsoft Graph API. The mailbox can be specified using a UPN or a mailbox ID. The mailbox can be searched using a string. The mailbox can be filtered using a folder ID. Messages can be returned as a PowerShell object or MIME message. A formatted summary of the messages can be returned. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Mailbox[​](#-mailbox "Direct link to -Mailbox") Specify the mailbox (or UPN) to retrieve emails for. ```yaml Type: String Parameter Sets: Single Aliases: Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ```yaml Type: String Parameter Sets: Multi Aliases: Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -MessageID[​](#-messageid "Direct link to -MessageID") Retrieve a single message using a message ID. ```yaml Type: String[] Parameter Sets: Single Aliases: id Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -Folder[​](#-folder "Direct link to -Folder") Retrieve from folder. ```yaml Type: String Parameter Sets: Single Aliases: parentFolderId Required: False Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ```yaml Type: String Parameter Sets: Multi Aliases: parentFolderId Required: False Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -HeadersOnly[​](#-headersonly "Direct link to -HeadersOnly") Retrieve headers only. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -MIME[​](#-mime "Direct link to -MIME") Retrieve the message in MIME format. ```yaml Type: SwitchParameter Parameter Sets: Single Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Search[​](#-search "Direct link to -Search") Search for emails based on a string. ```yaml Type: String Parameter Sets: Multi Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Select[​](#-select "Direct link to -Select") Selects the specified properties. ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -PageSize[​](#-pagesize "Direct link to -PageSize") Return this number of results. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: Named Default value: 500 Accept pipeline input: False Accept wildcard characters: False ``` ##### -Pipeline[​](#-pipeline "Direct link to -Pipeline") Transform the output into an object suitable for piping to other commands. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Summary[​](#-summary "Direct link to -Summary") Transform the output into a summary format. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Move-MSGraphMail #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Moves emails from a mailbox using the Microsoft Graph API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Move-MSGraphMail -Mailbox -MessageID [-Folder ] [-Destination ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Moves emails between folders in a mailbox using the Microsoft Graph API. The mailbox can be specified using a UPN or a mailbox ID. The mailbox can be filtered using a folder ID. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Mailbox[​](#-mailbox "Direct link to -Mailbox") Specify the mailbox (or UPN) to move emails for. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -MessageID[​](#-messageid "Direct link to -MessageID") Retrieve a single message using a message ID. ```yaml Type: String[] Parameter Sets: (All) Aliases: id Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -Folder[​](#-folder "Direct link to -Folder") Retrieve from folder. ```yaml Type: String Parameter Sets: (All) Aliases: parentFolderId Required: False Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -Destination[​](#-destination "Direct link to -Destination") Destination. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: Deleteditems Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### New-MSGraphMail #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Creates, and optionally sends, a new message using the Microsoft Graph API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### MIME[​](#mime "Direct link to MIME") ```powershell New-MSGraphMail -Mailbox -MIMEMessage [-Folder ] [-Pipeline] [-Send] [-SaveandSend] [] ``` ##### Standard[​](#standard "Direct link to Standard") ```powershell New-MSGraphMail -From -To [-CC ] [-BCC ] [-Subject ] -BodyContent [-FooterContent ] -BodyFormat [-Folder ] [-Attachments ] [-InlineAttachments ] [-Draft] [-RequestDeliveryReceipt] [-RequestReadReceipt] [-Pipeline] [-Send] [-SaveandSend] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Uses the Microsoft Graph API to create a new message, optionally sending it, and optionally saving it to a folder. If the message is not sent, it will be saved as a draft. If the message is sent, it will be saved to the Sent Items folder. The message can be created using a standard set of parameters, or by providing a MIME message. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Mailbox[​](#-mailbox "Direct link to -Mailbox") The mailbox to use to send the message. ```yaml Type: String Parameter Sets: MIME Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -From[​](#-from "Direct link to -From") The sender of the message. ```yaml Type: String[] Parameter Sets: Standard Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -To[​](#-to "Direct link to -To") The recipient(s) of the message. ```yaml Type: String[] Parameter Sets: Standard Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -CC[​](#-cc "Direct link to -CC") The CC recipient(s) of the message. ```yaml Type: String[] Parameter Sets: Standard Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BCC[​](#-bcc "Direct link to -BCC") The BCC recipient(s) of the message. ```yaml Type: String[] Parameter Sets: Standard Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Subject[​](#-subject "Direct link to -Subject") The subject of the message. ```yaml Type: String Parameter Sets: Standard Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BodyContent[​](#-bodycontent "Direct link to -BodyContent") The body of the message. ```yaml Type: String Parameter Sets: Standard Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -FooterContent[​](#-footercontent "Direct link to -FooterContent") The footer of the message. ```yaml Type: String Parameter Sets: Standard Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -BodyFormat[​](#-bodyformat "Direct link to -BodyFormat") The format of the message body. ```yaml Type: String Parameter Sets: Standard Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -MIMEMessage[​](#-mimemessage "Direct link to -MIMEMessage") The MIME message to send. ```yaml Type: String Parameter Sets: MIME Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Folder[​](#-folder "Direct link to -Folder") The folder to save the message to. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Attachments[​](#-attachments "Direct link to -Attachments") The attachments to add to the message. ```yaml Type: String[] Parameter Sets: Standard Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -InlineAttachments[​](#-inlineattachments "Direct link to -InlineAttachments") The inline attachments to add to the message. ```yaml Type: String[] Parameter Sets: Standard Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Draft[​](#-draft "Direct link to -Draft") Mark the message as a draft. ```yaml Type: SwitchParameter Parameter Sets: Standard Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -RequestDeliveryReceipt[​](#-requestdeliveryreceipt "Direct link to -RequestDeliveryReceipt") Request a delivery receipt. ```yaml Type: SwitchParameter Parameter Sets: Standard Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -RequestReadReceipt[​](#-requestreadreceipt "Direct link to -RequestReadReceipt") Request a read receipt. ```yaml Type: SwitchParameter Parameter Sets: Standard Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Pipeline[​](#-pipeline "Direct link to -Pipeline") Process the message through the pipeline. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -Send[​](#-send "Direct link to -Send") Send the message. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -SaveandSend[​](#-saveandsend "Direct link to -SaveandSend") Save the message to the Sent Items folder. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Remove-MSGraphMail #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Removes an email from a mailbox using the Microsoft Graph API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-MSGraphMail -Mailbox -MessageID [-Folder ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes an email from a mailbox using the Microsoft Graph API. The mailbox can be specified using a UPN or a mailbox ID. The mailbox can be filtered using a folder ID. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Mailbox[​](#-mailbox "Direct link to -Mailbox") Specify the mailbox (or UPN) to remove an email for. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -MessageID[​](#-messageid "Direct link to -MessageID") The ID of the message to remove. ```yaml Type: String[] Parameter Sets: (All) Aliases: id Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -Folder[​](#-folder "Direct link to -Folder") Retrieve from folder. ```yaml Type: String Parameter Sets: (All) Aliases: parentFolderId Required: False Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Send-MSGraphMail #### SYNOPSIS[​](#synopsis "Direct link to SYNOPSIS") Sends a message using the Microsoft Graph API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Send-MSGraphMail -Mailbox -MessageID [-Folder ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sends a previously created message using the Microsoft Graph API. The message can be sent from a folder, or from the root of the mailbox. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -Mailbox[​](#-mailbox "Direct link to -Mailbox") Specify the mailbox (or UPN) to move emails for. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -MessageID[​](#-messageid "Direct link to -MessageID") Retrieve a single message using a message ID. ```yaml Type: String[] Parameter Sets: (All) Aliases: id Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -Folder[​](#-folder "Direct link to -Folder") Retrieve from folder. ```yaml Type: String Parameter Sets: (All) Aliases: parentFolderId Required: False Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Creating Emails Creating an email requires passing parameters to the [`New-MSGraphMail`](/modules/msgraphmail/commandlets/new/New-MSGraphMail.md) commandlet like so: Using the **Splatting** technique: ```powershell $MailParameters = @{ From = 'You ' To = 'Them ', 'Someone ' Subject = 'Your invoice #1234 is ready.' BodyContent = 'X:\Emails\BodyContent.txt' FooterContent = 'X:\Emails\FooterContent.txt' Attachments = 'X:\Files\SendtoExample.docx','X:\Files\SendToExample.zip' BodyFormat = 'text' } New-MSGraphMail @MailParameters ``` Using the **Traditional** technique: ```powershell New-MSGraphMail -From 'You ' -To 'Them ', 'Someone ' -Subject 'Your invoice #1234 is ready.' -BodyContent 'X:\Emails\BodyContent.txt' -FooterContent 'X:\Emails\FooterContent.txt' -Attachments 'X:\Files\SendtoExample.docx','X:\Files\SendToExample.zip' -BodyFormat 'text' ``` If this works we'll see: > SUCCESS: Created message 'Your invoice #1234 is ready.' with ID AAMkADg0MTI1YTY5LTZhNTAtNGY2Ni1iYmFmLTYyNTIxNmQ3ZTAyMQBGAAAAAADcjV4oGXn1Sb6mQOgHYL6tBwAynr9oS8bwR42\_Ec20-qUkAAAAAAEQAAAynr9oS8bwR42\_Ec20-qUkAAcuZgfeAAA= A draft email will have appeared in the account provided to `From`. Unless you specify the `-Send` parameter which immediately sends the email bypassing the draft creation. You can use inline attachments by using `-InlineAttachments` and specifying attachments in the format `'cid;filepath'` e.g: ```powershell New-MSGraphMail -From 'You ' -To 'Them ', 'Someone ' -Subject 'Your invoice #1234 is ready.' -BodyContent 'X:\Emails\BodyContent.html' -FooterContent 'X:\Emails\FooterContent.html' -Attachments 'X:\Files\SendtoExample.docx','X:\Files\SendToExample.zip' -BodyFormat 'html' -InlineAttachments 'signaturelogo;X\Common\EmailSignatureLogo.png', 'productlogo;X:\Products\Widgetiser\WidgetiserLogoEmail.png' ``` The two inline attachments would map to: ```html Our Logo ``` and ```html Widgetiser Logo ``` respectively. --- ### Using the Pipeline For many tasks you can "pipe" output from a cmdlet (like [`New-MSGraphMail`](/modules/msgraphmail/commandlets/new/New-MSGraphMail.md)) into further commandlets to take action on the object you just created or fetched. You can pipe emails into [`Send-MSGraphMail`](/modules/msgraphmail/commandlets/send/Send-MSGraphMail.md) to send them, into [`Move-MSGraphMail`](/modules/msgraphmail/commandlets/move/Move-MSGraphMail.md) to move them to another folder, or into [`Remove-MSGraphMail`](/modules/msgraphmail/commandlets/remove/Remove-MSGraphMail.md) to delete them. When using the pipeline you should pass the parameter `-Pipeline` to the commandlet which generates the objects you want to pipe. This will make sure that the objects are in a suitable format for the next commandlet to process them. --- ## Multiple ### Multi-System Examples #### [ NinjaOne Devices to Halo Assets](/examples/multiple/ninjaone-devices-to-halo-assets.md) [Link NinjaOne devices to Halo assets](/examples/multiple/ninjaone-devices-to-halo-assets.md) --- ### NinjaOne Devices to Halo Assets This example shows how you can use the [NinjaOne](/modules/ninjaone.md) module and the [HaloAPI](/modules/haloapi.md) module to link existing Halo assets to NinjaOne devices. This is useful if you want to prevent duplicate device creation in Halo when using the NinjaOne integration. #### Prerequisites[​](#prerequisites "Direct link to Prerequisites") * [NinjaOne](/modules/ninjaone.md) * [HaloAPI](/modules/haloapi.md) You'll need both of these modules installed and you'll need to have connected to both in the PowerShell session you use to run this script. #### Dry run[​](#dry-run "Direct link to Dry run") The script supports a dry run mode that will show you what would happen if you ran the script without the dry run flag. To run the script in dry run mode, use the `-ReportOnly` flag. This will report on the devices that would be linked, but won't actually link them. Invoke-NinjaOneDevicesToHaloAssetsSync.ps1 ```powershell <# .SYNOPSIS NinjaOne Devices to Halo Assets .DESCRIPTION This script utilises the NinjaOne API to retrieve device information and then updates assets in Halo matching by serial number. Requires that your current session has an active connection to the NinjaOne API (see https://docs.homotechsual.dev/modules/ninjaone/commandlets/connect/ninjaone/ for more information on how to do this) and the Halo API (see https://docs.homotechsual.dev/modules/haloapi/commandlets/connect/connect-haloapi for more information on how to do this). .NOTES 2024-01-15: Extracted from internal scheduled task .LINK https://docs.homotechsual.dev/examples/multiple/ninjaone-devices-to-halo-assets/ #> [CmdletBinding()] param( # Report only - do not update assets in Halo [Switch]$ReportOnly ) # Try and get devices from NinjaOne try { # Filter out devices with default serial numbers and null serial numbers. $NinjaOneDevices = Get-NinjaOneDevices -detailed | Where-Object { $_.system.serialNumber -ne '$(DEFAULT_STRING)' -and $_.system.serialNumber -ne 'Default string' -and $_.system.serialNumber -ne $null -and $_.system.serialNumber -ne 'To Be Filled By O.E.M.' -and $_.system.serialNumber -ne 'chassis serial number' -and ![string]::IsNullOrWhiteSpace($_.system.serialNumber) } } catch { Write-Warning "Could not retrieve devices from NinjaOne." Write-Warning $_ exit 1 } # Try and get assets from Halo try { $HaloAssets = Get-HaloAsset -columns_id 5 } catch { Write-Warning "Could not retrieve assets from Halo." Write-Warning $_ exit 1 } # Loop through Halo assets and try and match them with NinjaOne devices foreach ($Asset in $HaloAssets) { Write-Verbose ('Checking asset {0} ({1})' -f $Asset.inventory_number, $Asset.id) # Grab the Halo serial number field $HaloSerialNumberField = $Asset.fields | Where-Object { $_.name -eq 'Serial Number' } $NinjaDevice = $NinjaOneDevices | Where-Object { ($_.system.serialNumber -eq $HaloSerialNumberField.value) -or ($_.system.serialNumber -eq $Asset.inventory_number) } if ($null -ne $HaloSerialNumberField.value) { $SerialNumber = $HaloSerialNumberField.value } elseif ($null -ne $Asset.inventory_number) { $SerialNumber = $Asset.inventory_number } else { Write-Warning ('Could not find serial number for asset {0} ({1})' -f $Asset.inventory_number, $Asset.id) continue } if ($NinjaDevice.Count -gt 1) { Write-Warning ('Found multiple NinjaOne devices with serial number {0} - skipping...' -f $SerialNumber) continue } elseif ($NinjaDevice) { if ($ReportOnly) { Write-Host ('Matched Halo asset {0} ({1}) with NinjaOne device {2} ({3})' -f $SerialNumber, $Asset.id, $NinjaDevice.systemName, $NinjaDevice.id) -ForegroundColor Blue } else { Write-Verbose ('Matched Halo asset {0} ({1}) with NinjaOne device {2} ({3})' -f $SerialNumber, $Asset.id, $NinjaDevice.systemName, $NinjaDevice.id) } # If the Halo asset has a NinjaOne device ID, skip it if ($Asset.ninjarmm_id) { Write-Warning ('Asset {0} ({1}) already has a NinjaOne device ID - skipping...' -f $SerialNumber, $Asset.id) continue } else { # Update the asset in Halo with the NinjaOne device information try { Set-HaloAsset -Asset @{ id = $Asset.id; ninjarmm_id = $NinjaDevice.id } } catch { Write-Warning "Could not update asset in Halo." Write-Warning "$_" } } } else { Write-Warning ('Could not find NinjaOne device with serial number {0} - skipping...' -f $SerialNumber) continue } } ``` #### Running the script[​](#running-the-script "Direct link to Running the script") First you'll need to connect to both the NinjaOne and HaloAPI modules. You can do this by running the commands documented in the [NinjaOne](/modules/ninjaone/commandlets/connect/ninjaone.md) and [HaloAPI](/haloapi/commandlets/connect/connect-haloapi) modules. For a dry run of the script, run the following command: ```powershell .\Invoke-NinjaOneDevicesToHaloAssetsSync.ps1 -ReportOnly ``` To actually link the devices, run the following command: ```powershell .\Invoke-NinjaOneDevicesToHaloAssetsSync.ps1 ``` You can use the `-Verbose` flag to see more information about what the script is doing. --- ## Ninjaone ### Overview [![Homotechsual Discord](https://img.shields.io/discord/1075421628424523816?style=for-the-badge\&logo=discord\&logoColor=white\&label=Homotechsual%20Discord)](https://discord.gg/NrCjh5ht7K) [![NinjaOne Discord](https://img.shields.io/discord/676451788395642880?style=for-the-badge\&logo=discord\&logoColor=white\&label=NinjaOne%20Discord)](https://discord.gg/NinjaOne) [![GitHub contributors](https://img.shields.io/github/contributors/homotechsual/ninjaone?style=for-the-badge\&logo=github)](https://github.com/homotechsual/ninjaone/) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/homotechsual/NinjaOne/build-and-publish.yml?style=for-the-badge\&label=Build%20and%20Publish)](https://github.com/homotechsual/NinjaOne/actions/workflows/build-and-publish.yml) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/homotechsual/NinjaOne/ci.yml?branch=develop\&style=for-the-badge\&label=CI)](https://github.com/homotechsual/NinjaOne/actions/workflows/ci.yml) [![Codecov (with branch)](https://img.shields.io/codecov/c/github/homotechsual/NinjaOne/develop?style=for-the-badge)](https://codecov.io/gh/homotechsual/NinjaOne) [![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/NinjaOne?style=for-the-badge)](https://www.powershellgallery.com/packages/NinjaOne/) [![License](https://img.shields.io/github/license/homotechsual/NinjaOne?style=for-the-badge)](https://mit.license.homotechsual.dev/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/homotechsual?style=for-the-badge)](https://github.com/sponsors/homotechsual/) [![Stable Release](https://img.shields.io/powershellgallery/v/NinjaOne?label=Stable+Release\&style=for-the-badge)](https://www.powershellgallery.com/packages/NinjaOne/) [![Preview Release](https://img.shields.io/powershellgallery/v/NinjaOne?label=Preview+Release\&include_prereleases\&style=for-the-badge)](https://www.powershellgallery.com/packages/NinjaOne/) 2.9.0 Pagination Changes The 2.9.0 release of the NinjaOne PowerShell module introduces automatic pagination for GET endpoints with a documented continuation token. This includes cursor, activity, `after`, and ticketing anchor pagination. If you want to opt out of this behaviour for a specific call, supply `-PageSize` for that endpoint; the module will return only the requested page. The valid page-size range is endpoint-specific, so check the individual cmdlet help for the supported range on that API call. The custom-fields schema endpoint currently returns the single page defined by the API contract because its response does not include a continuation token. #### About[​](#about "Direct link to About") This module is a PowerShell wrapper for the [NinjaOne API](https://eu.ninjarmm.com/apidocs-beta). It is designed to make it easy to interact with the NinjaOne API from PowerShell. #### Installing[​](#installing "Direct link to Installing") This module is published to the [PowerShell Gallery](https://www.powershellgallery.com/packages/NinjaOne/). You can install it using the following command: ```powershell Install-Module -Name NinjaOne ``` From time-to-time, preview releases will be published to the PowerShell Gallery. These are not considered stable and should not be used in production. You can install preview releases using the following command: ```powershell Install-Module -Name NinjaOne -AllowPrerelease ``` #### Updating[​](#updating "Direct link to Updating") You can update the module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/NinjaOne/) using the following command: ```powershell Update-Module -Name NinjaOne ``` If you want to update to the latest preview release you can use the following command: ```powershell Update-Module -Name NinjaOne -AllowPrerelease ``` After updating you should re-import the module in any open PowerShell sessions using the following commands: ```powershell Remove-Module -Name NinjaOne Import-Module -Name NinjaOne ``` #### Output Levels[​](#output-levels "Direct link to Output Levels") Some commandlets support the `-InformationAction` parameter which will output information about what the commandlet is doing. If you want to see this output you can use the `-InformationAction` parameter on any commandlet. For example: ```powershell Invoke-NinjaOneDeviceScript -InformationAction Continue ``` All commandlets support the `-Verbose` parameter which will output detailed information about what the commandlet is doing. If you want to see this output you can use the `-Verbose` parameter on any commandlet. For example: ```powershell Get-NinjaOneDevices -Verbose ``` All commandlets support the `-Debug` parameter which will output detailed information about what the commandlet is doing. If you want to see this output you can use the `-Debug` parameter on any commandlet. For example: ```powershell Get-NinjaOneDevices -Debug ``` #### Getting Started[​](#getting-started "Direct link to Getting Started") The first and probably most important requirement for this module is getting it connected to NinjaOne. ##### Creating an application in NinjaOne[​](#creating-an-application-in-ninjaone "Direct link to Creating an application in NinjaOne") 1. In NinjaOne head to **Administrations** > **Apps** > **API** 2. Select **Add** on the right-hand side to add a new API application. 3. Select the **Application Platform**. It's important to decide what the best platform is for your needs as each offers different types of authentication and will be aimed at a particular use case. 4. Enter the **Name**.
For example *NinjaOne PS Module*. 5. If you're going to need to use *Interactive Authentication* then you'll need to enter a **Redirect URI**. You will need to use interactive authentication to access any endpoint that acts in a user's context. This is required to run scripts, access ticket boards and access various other endpoints. 6. Select the required **Scopes** The *monitoring* scope is required to read information from NinjaOne, the *management* scope is required to write information to NinjaOne and the *control* scope is required for remote access via the API. 7. Select the required **Allowed Grant Types** *Authorization code* is required for interactive authentication, *client credentials* is required for non-interactive authentication and *refresh token* is required to refresh an expired access token (usually used in conjunction with *authorization code*). 8. Save your new API application. When you save you'll be presented with your **Client Secret** please store this securely and note that you will not be able to retrieve it again. 9. After saving you can copy your **Client ID** from the list of API applications. ##### Connecting to NinjaOne[​](#connecting-to-ninjaone "Direct link to Connecting to NinjaOne") Once you have created an API application in NinjaOne you can connect to NinjaOne using the commandlet `Connect-NinjaOne`. First we'll create a hashtable containing the required parameters for `Connect-NinjaOne`. This example uses the Authorization Code grant type which is used for interactive authentication and connects to the EU instance of NinjaOne. ```powershell $ConnectNinjaOneParams = @{ UseWebAuth = $True Instance = 'eu' ClientID = '00000000-0000-0000-0000-000000000000' ClientSecret = '00000000-0000-0000-0000-000000000000' Scopes = @('monitoring', 'management') RedirectURL = 'http://localhost:8080' Port = 8080 ShowTokens = $True } ``` We can use this hashtable to connect to NinjaOne using the following command: ```powershell Connect-NinjaOne @ConnectNinjaOneParams ``` This uses the hashtable splatting operator (`@`) to pass the hashtable to the `Connect-NinjaOne` commandlet. To learn more about splatting see [about\_Splatting](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.1). For more detailed examples of how to use `Connect-NinjaOne`, including using other authentication types see [Connect-NinjaOne](/modules/ninjaone/commandlets/connect/ninjaone.md). ##### Running a command[​](#running-a-command "Direct link to Running a command") Once you have connected to NinjaOne you can run commands against the API. For example, to get a list of all devices in NinjaOne you can use the following command: ```powershell Get-NinjaOneDevices ``` This will return a list of all devices in NinjaOne. For more detailed examples of how to use `Get-NinjaOneDevice` see [Get-NinjaOneDevice](/modules/ninjaone/commandlets/get/devices.md). #### Known Issues[​](#known-issues "Direct link to Known Issues") As of 2.3.0 the NinjaOne FedRamp instance is supported however this runs on an older version of NinjaOne and therefore some endpoints may not work as expected. NinjaOne do not version their API or API spec making it difficult to track which endpoints are supported in which instances. --- ### Add Data #### [ User Role Members](/modules/ninjaone/commandlets/Add/user-role-members.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/Add/user-role-members.md) --- ### Connect to Services #### [ NinjaOne](/modules/ninjaone/commandlets/connect/ninjaone.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/connect/ninjaone.md) --- ### Create Data #### [ Asset Relationship](/modules/ninjaone/commandlets/new/asset-relationship.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/new/asset-relationship.md) --- ### Development #### [ Overview](/modules/ninjaone/development.md) [This page documents development workflows for the NinjaOne PowerShell module.](/modules/ninjaone/development.md) --- ### Filters #### [ Status Filter](/modules/ninjaone/filters/sf.md) [The status filter \`sf\` parameter.](/modules/ninjaone/filters/sf.md) --- ### Find Information #### [ Device](/modules/ninjaone/commandlets/find/device.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/find/device.md) --- ### Invoke Actions #### [ Billing Agreement](/modules/ninjaone/commandlets/invoke/billing-agreement.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/invoke/billing-agreement.md) --- ### Merge Data #### [ Asset Tags](/modules/ninjaone/commandlets/Merge/asset-tags.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/Merge/asset-tags.md) --- ### Move Data #### [ Knowledge Base Item](/modules/ninjaone/commandlets/Move/knowledge-base-item.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/Move/knowledge-base-item.md) --- ### Remove Data #### [ Asset Relationship](/modules/ninjaone/commandlets/remove/asset-relationship.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/remove/asset-relationship.md) --- ### Rename Data #### [ Tab](/modules/ninjaone/commandlets/Rename/tab.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/Rename/tab.md) --- ### Reset State #### [ Alert](/modules/ninjaone/commandlets/reset/alert.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/reset/alert.md) --- ### Restart Services #### [ Device](/modules/ninjaone/commandlets/restart/device.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/restart/device.md) --- ### Restore Data #### [ Knowledge Base Article](/modules/ninjaone/commandlets/Restore/knowledge-base-article.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/Restore/knowledge-base-article.md) --- ### Retrieve Information #### [ Activities](/modules/ninjaone/commandlets/get/activities.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/get/activities.md) --- ### Start Services #### [ Device OS Patch Apply](/modules/ninjaone/commandlets/Start/device-os-patch-apply.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/Start/device-os-patch-apply.md) --- ### Update Data (Set) #### [ Asset Tag Assignment](/modules/ninjaone/commandlets/set/asset-tag-assignment.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/set/asset-tag-assignment.md) --- ### Update Data (Update) #### [ Webhook](/modules/ninjaone/commandlets/update/webhook.md) [This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.](/modules/ninjaone/commandlets/update/webhook.md) --- ### User Role Members 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[​](#synopsis "Direct link to SYNOPSIS") Adds members to a user role. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Add-NinjaOneUserRoleMembers [-roleId] [-members] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Adds one or more members to the specified user role via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Add-NinjaOneUserRoleMembers -roleId 10 -members @{ userIds = @(1,2) } ``` Adds users 1 and 2 to role 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -roleId[​](#-roleid "Direct link to -roleId") The user role Id to add members to. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -members[​](#-members "Direct link to -members") The members object containing user IDs to add to the role. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### NinjaOne 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new connection to a NinjaOne instance. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Authorisation Code (Default)[​](#authorisation-code-default "Direct link to Authorisation Code (Default)") ```powershell Connect-NinjaOne [-useWebAuth] -instance -clientId -clientSecret [-scopes ] [-redirectURL ] [-port ] [-showTokens] [-useSecretManagement] [-vaultName ] [-writeToSecretVault] [-parseDateTimes] [-ProgressAction ] [] ``` ##### Secret Vault Write[​](#secret-vault-write "Direct link to Secret Vault Write") ```powershell Connect-NinjaOne [-useWebAuth] [-useTokenAuth] [-useClientAuth] -instance -clientId -clientSecret [-scopes ] [-redirectURL ] [-port ] [-refreshToken ] [-useSecretManagement] -vaultName [-writeToSecretVault] [-secretPrefix ] [-parseDateTimes] [-ProgressAction ] [] ``` ##### Token Authentication[​](#token-authentication "Direct link to Token Authentication") ```powershell Connect-NinjaOne [-useTokenAuth] -instance -clientId -clientSecret [-scopes ] [-refreshToken ] [-showTokens] [-useSecretManagement] [-vaultName ] [-writeToSecretVault] [-parseDateTimes] [-ProgressAction ] [] ``` ##### Client Credentials[​](#client-credentials "Direct link to Client Credentials") ```powershell Connect-NinjaOne [-useClientAuth] -instance -clientId -clientSecret [-scopes ] [-showTokens] [-useSecretManagement] [-vaultName ] [-writeToSecretVault] [-parseDateTimes] [-ProgressAction ] [] ``` ##### Secret Vault Read[​](#secret-vault-read "Direct link to Secret Vault Read") ```powershell Connect-NinjaOne [-useSecretManagement] -vaultName [-writeToSecretVault] [-readFromSecretVault] [-secretPrefix ] [-parseDateTimes] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new connection to a NinjaOne instance and stores this in a PowerShell Session. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Connect-NinjaOne -instance 'eu' -clientId 'AAaaA1aaAaAA-aaAaaA11a1A-aA' -clientSecret '00Z00zzZzzzZzZzZzZzZZZ0zZ0zzZ_0zzz0zZZzzZz0Z0ZZZzz0z0Z' -useClientAuth ``` This logs into NinjaOne using the client credentials flow. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Connect-NinjaOne -instance 'eu' -clientId 'AAaaA1aaAaAA-aaAaaA11a1A-aA' -clientSecret '00Z00zzZzzzZzZzZzZzZZZ0zZ0zzZ_0zzz0zZZzzZz0Z0ZZZzz0z0Z' -Port 9090 -useWebAuth ``` This logs into NinjaOne using the authorization code flow. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Connect-NinjaOne -instance 'eu' -clientId 'AAaaA1aaAaAA-aaAaaA11a1A-aA' -clientSecret '00Z00zzZzzzZzZzZzZzZZZ0zZ0zzZ_0zzz0zZZzzZz0Z0ZZZzz0z0Z' -refreshToken 'a1a11a11-aa11-11a1-a111-a1a111aaa111.11AaaAaaa11aA-AA1aaaAAA111aAaaaaA1AAAA1_AAa' -useTokenAuth ``` This logs into NinjaOne using the refresh token flow. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Connect-NinjaOne -useSecretManagement -vaultName 'NinjaOneVault' -writeToSecretVault -instance 'eu' -clientId 'AAaaA1aaAaAA-aaAaaA11a1A-aA' -clientSecret '00Z00zzZzzzZzZzZzZzZZZ0zZ0zzZ_0zzz0zZZzzZz0Z0ZZZzz0z0Z' -useClientAuth ``` This logs into NinjaOne using the client credentials flow and writes the connection information to the secret vault. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Connect-NinjaOne -useSecretManagement -vaultName 'NinjaOneVault' -readFromSecretVault ``` This reads the connection information from the secret vault. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -useWebAuth[​](#-usewebauth "Direct link to -useWebAuth") Use the "Authorisation Code" flow with your web browser. ```yaml Type: SwitchParameter Parameter Sets: Authorisation Code Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ```yaml Type: SwitchParameter Parameter Sets: Secret Vault Write Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -useTokenAuth[​](#-usetokenauth "Direct link to -useTokenAuth") Use the "Token Authentication" flow - useful if you already have a refresh token. ```yaml Type: SwitchParameter Parameter Sets: Secret Vault Write Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ```yaml Type: SwitchParameter Parameter Sets: Token Authentication Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -useClientAuth[​](#-useclientauth "Direct link to -useClientAuth") Use the "Client Credentials" flow - useful if you already have a client ID and secret. ```yaml Type: SwitchParameter Parameter Sets: Secret Vault Write Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ```yaml Type: SwitchParameter Parameter Sets: Client Credentials Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -instance[​](#-instance "Direct link to -instance") The NinjaOne instance to connect to. Choose from 'eu', 'oc' or 'us'. ```yaml Type: String Parameter Sets: Authorisation Code, Secret Vault Write, Token Authentication, Client Credentials Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -clientId[​](#-clientid "Direct link to -clientId") The Client Id for the application configured in NinjaOne. ```yaml Type: String Parameter Sets: Authorisation Code, Secret Vault Write, Token Authentication, Client Credentials Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -clientSecret[​](#-clientsecret "Direct link to -clientSecret") The Client Secret for the application configured in NinjaOne. ```yaml Type: String Parameter Sets: Authorisation Code, Secret Vault Write, Token Authentication, Client Credentials Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -scopes[​](#-scopes "Direct link to -scopes") The API scopes to request, if this isn't passed the scope is assumed to be "all". Pass a string or array of strings. Limited by the scopes granted to the application in NinjaOne. ```yaml Type: String[] Parameter Sets: Authorisation Code, Secret Vault Write, Token Authentication, Client Credentials Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -redirectURL[​](#-redirecturl "Direct link to -redirectURL") The redirect URI to use. If not set defaults to ''. Should be a full URI e.g. ```yaml Type: Uri Parameter Sets: Authorisation Code, Secret Vault Write Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -port[​](#-port "Direct link to -port") The port to use for the redirect URI. Must match with the configuration set in NinjaOne. If not set defaults to '9090'. ```yaml Type: Int32 Parameter Sets: Authorisation Code, Secret Vault Write Aliases: Required: False Position: Named Default value: 9090 Accept pipeline input: False Accept wildcard characters: False ``` ##### -refreshToken[​](#-refreshtoken "Direct link to -refreshToken") The refresh token to use for "Token Authentication" flow. ```yaml Type: String Parameter Sets: Secret Vault Write, Token Authentication Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -showTokens[​](#-showtokens "Direct link to -showTokens") Output the tokens - useful when using "Authorisation Code" flow - to use with "Token Authentication" flow. ```yaml Type: SwitchParameter Parameter Sets: Authorisation Code, Token Authentication, Client Credentials Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -useSecretManagement[​](#-usesecretmanagement "Direct link to -useSecretManagement") Use the secret management module to retrieve credentials and store tokens. Check the docs on setting up the secret management module at . ```yaml Type: SwitchParameter Parameter Sets: Authorisation Code, Token Authentication, Client Credentials Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ```yaml Type: SwitchParameter Parameter Sets: Secret Vault Write, Secret Vault Read Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -vaultName[​](#-vaultname "Direct link to -vaultName") The name of the secret vault to use. ```yaml Type: String Parameter Sets: Authorisation Code, Token Authentication, Client Credentials Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ```yaml Type: String Parameter Sets: Secret Vault Write, Secret Vault Read Aliases: Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -writeToSecretVault[​](#-writetosecretvault "Direct link to -writeToSecretVault") Write updated credentials to secret management vault. ```yaml Type: SwitchParameter Parameter Sets: Authorisation Code, Token Authentication, Client Credentials, Secret Vault Read Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ```yaml Type: SwitchParameter Parameter Sets: Secret Vault Write Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -readFromSecretVault[​](#-readfromsecretvault "Direct link to -readFromSecretVault") Read the authentication information from secret management vault. ```yaml Type: SwitchParameter Parameter Sets: Secret Vault Read Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -secretPrefix[​](#-secretprefix "Direct link to -secretPrefix") The prefix to add to the name of the secrets stored in the secret vault. ```yaml Type: String Parameter Sets: Secret Vault Write, Secret Vault Read Aliases: Required: False Position: Named Default value: NinjaOne Accept pipeline input: False Accept wildcard characters: False ``` ##### -parseDateTimes[​](#-parsedatetimes "Direct link to -parseDateTimes") Automatically parse date/time values in API responses. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Sets two script-scoped variables to hold connection and authentication information.[​](#sets-two-script-scoped-variables-to-hold-connection-and-authentication-information "Direct link to Sets two script-scoped variables to hold connection and authentication information.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device 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[​](#synopsis "Direct link to SYNOPSIS") Searches for devices from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Find-NinjaOneDevices [-limit ] [-searchQuery] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves devices from the NinjaOne v2 API matching a search string. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Find-NinjaOneDevices -limit 10 -searchQuery 'ABCD' ``` returns an object containing the query and matching devices. Raw data return ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell (Find-NinjaOneDevices -limit 10 -searchQuery 'ABCD').devices ``` returns an array of device objects matching the query. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -limit[​](#-limit "Direct link to -limit") Limit number of devices to return. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: Named Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -searchQuery[​](#-searchquery "Direct link to -searchQuery") Search query ```yaml Type: String Parameter Sets: (All) Aliases: q Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Activities 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[​](#synopsis "Direct link to SYNOPSIS") Gets activities from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneActivities [[-deviceId] ] [[-class] ] [[-before] ] [[-beforeUnixEpoch] ] [[-after] ] [[-afterUnixEpoch] ] [[-olderThan] ] [[-newerThan] ] [[-type] ] [[-activityType] ] [[-status] ] [[-user] ] [[-seriesUid] ] [[-deviceFilter] ] [[-pageSize] ] [[-languageTag] ] [[-timeZone] ] [[-sourceConfigUid] ] [-expandActivities] [-parseDateTime] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves activities from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneActivities ``` Gets all activities. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneActivities -deviceId 1 ``` Gets activities for the device with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneActivities -class SYSTEM ``` Gets system activities. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneActivities -before ([DateTime]::Now.AddDays(-1)) ``` Gets activities from before yesterday. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneActivities -after ([DateTime]::Now.AddDays(-1)) ``` Gets activities from after yesterday. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneActivities -olderThan 1 ``` Gets activities older than activity id 1. ##### EXAMPLE 7[​](#example-7 "Direct link to EXAMPLE 7") ```powershell Get-NinjaOneActivities -newerThan 1 ``` Gets activities newer than activity id 1. ##### EXAMPLE 8[​](#example-8 "Direct link to EXAMPLE 8") ```powershell Get-NinjaOneActivities -type 'Action' ``` Gets activities of type 'Action'. ##### EXAMPLE 9[​](#example-9 "Direct link to EXAMPLE 9") ```powershell Get-NinjaOneActivities -status 'COMPLETED' ``` Gets activities with status 'COMPLETED'. ##### EXAMPLE 10[​](#example-10 "Direct link to EXAMPLE 10") ```powershell Get-NinjaOneActivities -seriesUid '23e4567-e89b-12d3-a456-426614174000' ``` Gets activities for the alert series with uid '23e4567-e89b-12d3-a456-426614174000'. ##### EXAMPLE 11[​](#example-11 "Direct link to EXAMPLE 11") ```powershell Get-NinjaOneActivities -deviceFilter 'organization in (1,2,3)' ``` Gets activities for devices in organisations 1, 2 and 3. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Filter by device id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -class[​](#-class "Direct link to -class") Activity class. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -before[​](#-before "Direct link to -before") return activities from before this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -beforeUnixEpoch[​](#-beforeunixepoch "Direct link to -beforeUnixEpoch") return activities from before this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -after[​](#-after "Direct link to -after") return activities from after this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -afterUnixEpoch[​](#-afterunixepoch "Direct link to -afterUnixEpoch") return activities from after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -olderThan[​](#-olderthan "Direct link to -olderThan") return activities older than this activity id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -newerThan[​](#-newerthan "Direct link to -newerThan") return activities newer than this activity id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") return activities of this type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -activityType[​](#-activitytype "Direct link to -activityType") return activities of this type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") return activities with this status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 8 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -user[​](#-user "Direct link to -user") return activities for this user. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 9 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -seriesUid[​](#-seriesuid "Direct link to -seriesUid") return activities for this alert series. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 10 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") return activities matching this device filter. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 11 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 12 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Filter by language tag. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 13 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeZone[​](#-timezone "Direct link to -timeZone") Filter by timezone. ```yaml Type: String Parameter Sets: (All) Aliases: tz Required: False Position: 14 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -sourceConfigUid[​](#-sourceconfiguid "Direct link to -sourceConfigUid") return activities for this source configuration. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 15 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -expandActivities[​](#-expandactivities "Direct link to -expandActivities") return the activities object instead of the default return with `lastActivityId` and `activities` properties. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Alerts 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[​](#synopsis "Direct link to SYNOPSIS") Gets alerts from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneAlerts [[-deviceId] ] [[-sourceType] ] [[-deviceFilter] ] [[-languageTag] ] [[-timeZone] ] [-parseDateTime] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves alerts from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneAlerts ``` Gets all alerts. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneAlerts -sourceType 'CONDITION_CUSTOM_FIELD' ``` Gets all alerts with source type CONDITION\_CUSTOM\_FIELD. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneAlerts -deviceFilter 'status eq APPROVED' ``` Gets alerts for all approved devices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Filter by device id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -sourceType[​](#-sourcetype "Direct link to -sourceType") Filter by source type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter by device which triggered the alert. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Filter by language tag. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeZone[​](#-timezone "Direct link to -timeZone") Filter by timezone. ```yaml Type: String Parameter Sets: (All) Aliases: tz Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### AntiVirus Status Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the antivirus status from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneAntiVirusStatus [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-productState] ] [[-productName] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the antivirus status from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneAntivirusStatus -deviceFilter 'org = 1' ``` Gets the antivirus status for the organisation with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneAntivirusStatus -timeStamp 1619712000 ``` Gets the antivirus status at or after the timestamp 1619712000. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneAntivirusStatus -productState 'ON' ``` Gets the antivirus status where the product state is ON. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneAntivirusStatus -productName 'Microsoft Defender Antivirus' ``` Gets the antivirus status where the antivirus product name is Microsoft Defender Antivirus. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter in unix time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -productState[​](#-productstate "Direct link to -productState") Filter by product state. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -productName[​](#-productname "Direct link to -productName") Filter by product name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### AntiVirus Threats Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the antivirus threats from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneAntiVirusThreats [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the antivirus threats from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneAntivirusThreats ``` Gets the antivirus threats. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneAntivirusThreats -deviceFilter 'org = 1' ``` Gets the antivirus threats for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter in unix time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Relationship Types 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[​](#synopsis "Direct link to SYNOPSIS") Gets asset relationship types. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneAssetRelationshipTypes [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves asset relationship types from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneAssetRelationshipTypes ``` Gets all asset relationship types. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Relationships 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[​](#synopsis "Direct link to SYNOPSIS") Gets asset relationships. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### All (Default)[​](#all-default "Direct link to All (Default)") ```powershell Get-NinjaOneAssetRelationships [-ProgressAction ] [] ``` ##### ByEntity[​](#byentity "Direct link to ByEntity") ```powershell Get-NinjaOneAssetRelationships -entityType -entityId [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves asset relationships for all supported entities or for a specific entity from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneAssetRelationships ``` Gets all available asset relationships. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneAssetRelationships -entityType DEVICE -entityId 1 ``` Gets asset relationships for the specified entity. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The related entity type. ```yaml Type: String Parameter Sets: ByEntity Aliases: Required: True Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The related entity ID. ```yaml Type: Int32 Parameter Sets: ByEntity Aliases: Required: True Position: Named Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Tags 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[​](#synopsis "Direct link to SYNOPSIS") Gets all tags. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTags [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves all tags via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTags ``` Gets all tags. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Automation Scripts 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[​](#synopsis "Direct link to SYNOPSIS") Gets automation scripts from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneAutomations [[-languageTag] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves automation scripts from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneAutomations ``` Gets all automation scripts. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneAlerts -lang 'en' ``` Gets all automation scripts, returning the name of built in automation scripts in English. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Return built in automation script names in the given language. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Backup Jobs 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[​](#synopsis "Direct link to SYNOPSIS") Gets backup jobs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneBackupJobs [[-cursor] ] [[-deletedDeviceFilter] ] [[-deviceFilter] ] [[-include] ] [[-pageSize] ] [[-planType] ] [[-planTypeFilter] ] [[-status] ] [[-statusFilter] ] [[-startTimeBetween] ] [[-startTimeAfter] ] [[-startTimeFilter] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves backup jobs from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneBackupJobs ``` Gets all backup jobs. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneBackupJobs -status 'RUNNING' ``` Gets all backup jobs with a status of 'RUNNING'. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneBackupJobs -status 'RUNNING', 'COMPLETED' ``` Gets all backup jobs with a status of 'RUNNING' or 'COMPLETED'. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneBackupJobs -statusFilter 'status = RUNNING' ``` Gets all backup jobs with a status of 'RUNNING'. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneBackupJobs -statusFilter 'status in (RUNNING, COMPLETED)' ``` Gets all backup jobs with a status of 'RUNNING' or 'COMPLETED'. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneBackupJobs -planType 'IMAGE' ``` Gets all backup jobs with a plan type of 'IMAGE'. ##### EXAMPLE 7[​](#example-7 "Direct link to EXAMPLE 7") ```powershell Get-NinjaOneBackupJobs -planType 'IMAGE', 'FILE_FOLDER' ``` Gets all backup jobs with a plan type of 'IMAGE' or 'FILE\_FOLDER'. ##### EXAMPLE 8[​](#example-8 "Direct link to EXAMPLE 8") ```powershell Get-NinjaOneBackupJobs -planTypeFilter 'planType = IMAGE' ``` Gets all backup jobs with a plan type of 'IMAGE'. ##### EXAMPLE 9[​](#example-9 "Direct link to EXAMPLE 9") ```powershell Get-NinjaOneBackupJobs -planTypeFilter 'planType in (IMAGE, FILE_FOLDER)' ``` Gets all backup jobs with a plan type of 'IMAGE' or 'FILE\_FOLDER'. ##### EXAMPLE 10[​](#example-10 "Direct link to EXAMPLE 10") ```powershell Get-NinjaOneBackupJobs -startTimeBetween (Get-Date).AddDays(-1), (Get-Date) ``` Gets all backup jobs with a start time between 24 hours ago and now. ##### EXAMPLE 11[​](#example-11 "Direct link to EXAMPLE 11") ```powershell Get-NinjaOneBackupJobs -startTimeAfter (Get-Date).AddDays(-1) ``` Gets all backup jobs with a start time after 24 hours ago. ##### EXAMPLE 12[​](#example-12 "Direct link to EXAMPLE 12") ```powershell Get-NinjaOneBackupJobs -startTimeFilter 'startTime between(2024-01-01T00:00:00.000Z,2024-01-02T00:00:00.000Z)' ``` Gets all backup jobs with a start time between 2024-01-01T00:00:00.000Z and 2024-01-02T00:00:00.000Z. ##### EXAMPLE 13[​](#example-13 "Direct link to EXAMPLE 13") ```powershell Get-NinjaOneBackupJobs -startTimeFilter 'startTime after 2024-01-01T00:00:00.000Z' ``` Gets all backup jobs with a start time after 2024-01-01T00:00:00.000Z. ##### EXAMPLE 14[​](#example-14 "Direct link to EXAMPLE 14") ```powershell Get-NinjaOneBackupJobs -deviceFilter all ``` Gets all backup jobs for the all devices. Includes active and deleted devices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -deletedDeviceFilter[​](#-deleteddevicefilter "Direct link to -deletedDeviceFilter") Deleted device filter. ```yaml Type: String Parameter Sets: (All) Aliases: ddf Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Device filter. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -include[​](#-include "Direct link to -include") Which devices to include (defaults to 'active'). ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -planType[​](#-plantype "Direct link to -planType") Filter by plan type. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -planTypeFilter[​](#-plantypefilter "Direct link to -planTypeFilter") Raw plan type filter. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: ptf Required: False Position: 7 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter by status. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -statusFilter[​](#-statusfilter "Direct link to -statusFilter") Raw status filter. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: sf Required: False Position: 8 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -startTimeBetween[​](#-starttimebetween "Direct link to -startTimeBetween") Start time between filter. See the supplemental documentation at ```yaml Type: DateTime[] Parameter Sets: (All) Aliases: Required: False Position: 9 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -startTimeAfter[​](#-starttimeafter "Direct link to -startTimeAfter") Start time after filter. See the supplemental documentation at ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 10 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -startTimeFilter[​](#-starttimefilter "Direct link to -startTimeFilter") Raw start time filter. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: stf Required: False Position: 11 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Backup Usage Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the backup usage by device from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceBackupUsage [[-cursor] ] [[-pageSize] ] [-includeDeleted] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the backup usage by device from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneBackupUsage ``` Gets the backup usage by device. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneBackupUsage -includeDeleted ``` Gets the backup usage by device including deleted devices. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneBackupUsage | Where-Object { ($_.references.backupUsage.cloudTotalSize -ne 0) -or ($_.references.backupUsage.localTotalSize -ne 0) } ``` Gets the backup usage by device where the cloud or local total size is not 0. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneBackupUsage -includeDeleted | Where-Object { ($_.references.backupUsage.cloudTotalSize -ne 0) -and ($_.references.backupUsage.localTotalSize -ne 0) -and ($_.references.backupUsage.revisionsTotalSize -ne 0) } ``` Gets the backup usage where the cloud, local and revisions total size is not 0 including deleted devices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeDeleted[​](#-includedeleted "Direct link to -includeDeleted") Include deleted devices. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: includeDeletedDevices Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Accounts 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[​](#synopsis "Direct link to SYNOPSIS") Gets billing accounts. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneBillingAccounts [[-id] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves billing accounts or a specific billing account from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneBillingAccounts ``` Gets all billing accounts. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneBillingAccounts -id 1 ``` Gets billing account 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing account ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: accountId Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Agreements 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[​](#synopsis "Direct link to SYNOPSIS") Gets billing agreements. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneBillingAgreements [[-id] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves billing agreements or a specific billing agreement from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneBillingAgreements ``` Gets all billing agreements. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneBillingAgreements -id 1 ``` Gets billing agreement 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing agreement ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: agreementId Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Invoices 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[​](#synopsis "Direct link to SYNOPSIS") Gets billing invoices. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneBillingInvoices [[-id] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves billing invoices or a specific billing invoice from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneBillingInvoices ``` Gets all billing invoices. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneBillingInvoices -id 1 ``` Gets billing invoice 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing invoice ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: invoiceId Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Products 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[​](#synopsis "Direct link to SYNOPSIS") Gets billing products. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneBillingProducts [[-id] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves billing products or a specific billing product from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneBillingProducts ``` Gets all billing products. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneBillingProducts -id 1 ``` Gets billing product 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing product ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: productId Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Ticket Products 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[​](#synopsis "Direct link to SYNOPSIS") Gets billing ticket products. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneBillingTicketProducts [-ticketId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves billing ticket products for a specific ticket from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneBillingTicketProducts -ticketId 1 ``` Gets ticket billing products for ticket 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketId[​](#-ticketid "Direct link to -ticketId") Ticket ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Checklist Templates 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[​](#synopsis "Direct link to SYNOPSIS") Gets checklist templates. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneChecklistTemplates [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves checklist templates via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneChecklistTemplates ``` Gets all checklist templates. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Computer Systems Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the computer systems from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneComputerSystems [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the computer systems from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneComputerSystems ``` Gets all computer systems. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneComputerSystems -deviceFilter 'org = 1' ``` Gets the computer systems for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneComputerSystems -timeStamp 1619712000 ``` Gets the computer systems with a monitoring timestamp at or after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter in unix time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Contact 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[​](#synopsis "Direct link to SYNOPSIS") Gets a system contact by Id. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneContact [-id] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a system contact by Id from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneContact -Id 123 ``` Gets the system contact with Id 123. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") The contact Id to retrieve. ```yaml Type: Int32 Parameter Sets: (All) Aliases: contactId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Contacts 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[​](#synopsis "Direct link to SYNOPSIS") Gets contacts from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneContacts [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves contacts from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneContacts ``` Gets all contacts. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Field 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[​](#synopsis "Direct link to SYNOPSIS") Gets a custom field by field name. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneCustomField [-fieldName] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a specific custom field by its unique field name from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneCustomField -fieldName 'department' ``` Gets the custom field with the name 'department'. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -fieldName[​](#-fieldname "Direct link to -fieldName") The field name of the custom field ```yaml Type: String Parameter Sets: (All) Aliases: name Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the custom field.[​](#a-powershell-object-containing-the-custom-field "Direct link to A PowerShell object containing the custom field.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Field Policy Condition 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[​](#synopsis "Direct link to SYNOPSIS") Gets detailed information on a single custom field condition for a given policy from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneCustomFieldsPolicyCondition [-policyId] [-conditionId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the detailed information on a given custom field condition for a given policy id from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneCustomFieldsPolicyCondition -policyId 1 -conditionId 1 ``` Gets the custom field policy condition with id 1 for the policy with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -policyId[​](#-policyid "Direct link to -policyId") The policy id to get the custom field conditions for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -conditionId[​](#-conditionid "Direct link to -conditionId") The condition id to get the custom field condition for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Field Policy Conditions 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[​](#synopsis "Direct link to SYNOPSIS") Gets custom field conditions for a given policy from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneCustomFieldsPolicyConditions [-policyId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the custom field conditions for a given policy id from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneCustomFieldsPolicyConditions -policyId 1 ``` Gets the custom field policy conditions for the policy with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -policyId[​](#-policyid "Direct link to -policyId") The policy id to get the custom field conditions for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Field Signed URLs 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[​](#synopsis "Direct link to SYNOPSIS") Gets custom field signed URLs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneCustomFieldSignedURLs [-clientDocumentId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves custom field signed URLs from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneCustomFieldSignedURLs -entityType 'ORGANIZATION' -entityId 1 ``` Gets signed URLs for the custom fields of the ORGANIZATION entity with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -clientDocumentId[​](#-clientdocumentid "Direct link to -clientDocumentId") The client document id to get signed URLs for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, documentId, organisationDocumentId, organizationDocumentId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Fields Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the custom fields from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Default (Default)[​](#default-default "Direct link to Default (Default)") ```powershell Get-NinjaOneCustomFields [[-deviceFilter] ] [[-cursor] ] [[-pageSize] ] [[-updatedAfter] ] [[-updatedAfterUnixEpoch] ] [[-fields] ] [-detailed] [-ProgressAction ] [] ``` ##### Scoped[​](#scoped "Direct link to Scoped") ```powershell Get-NinjaOneCustomFields [[-cursor] ] [[-pageSize] ] [[-scopes] ] [[-updatedAfter] ] [[-updatedAfterUnixEpoch] ] [[-fields] ] [-detailed] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the custom fields from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneCustomFields ``` Gets all custom field values for all devices. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneCustomFields -deviceFilter 'org = 1' ``` Gets all custom field values for all devices in the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneCustomFields -updatedAfter (Get-Date).AddDays(-1) ``` Gets all custom field values for all devices updated in the last 24 hours. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneCustomFields -updatedAfterUnixEpoch 1619712000000 ``` Gets all custom field values for all devices updated at or after Thu Apr 29 2021 16:00. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneCustomFields -fields 'hasBatteries', 'autopilotHwid' ``` Gets the custom field values for the specified fields. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneCustomFields -detailed ``` Gets the detailed version of the custom field values. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: Default Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -scopes[​](#-scopes "Direct link to -scopes") Custom field scopes to filter by. ```yaml Type: String[] Parameter Sets: Scoped Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -updatedAfter[​](#-updatedafter "Direct link to -updatedAfter") Custom fields updated after the specified date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -updatedAfterUnixEpoch[​](#-updatedafterunixepoch "Direct link to -updatedAfterUnixEpoch") Custom fields updated after the specified date. Unix Epoch time (milliseconds). ```yaml Type: Int64 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -fields[​](#-fields "Direct link to -fields") Array of fields. ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -detailed[​](#-detailed "Direct link to -detailed") Get the detailed custom fields report(s). ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Fields Schema 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[​](#synopsis "Direct link to SYNOPSIS") Gets custom fields with pagination. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneCustomFieldsSchema [[-cursorName] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves custom fields (node attributes) with pagination support from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneCustomFieldsSchema ``` Gets custom fields with default pagination. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -cursorName[​](#-cursorname "Direct link to -cursorName") Pagination cursor ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Page size ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the custom fields.[​](#a-powershell-object-containing-the-custom-fields "Direct link to A PowerShell object containing the custom fields.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Activities 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneActivities` to get activities for a device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceActivities [-deviceId] [[-languageTag] ] [[-timezone] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets activities for a device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceActivities -deviceId 1 ``` Gets activities for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Filter by device id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Return built in job names in the given language. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -timezone[​](#-timezone "Direct link to -timezone") Return job times/dates in the given timezone. ```yaml Type: String Parameter Sets: (All) Aliases: tz Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Alerts 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneAlerts` to get alerts for a device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceAlerts [-deviceId] [[-languageTag] ] [[-timezone] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets alerts for a device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceAlerts -deviceId 1 ``` Gets alerts for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Filter by device id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Return built in condition names in the given language. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -timezone[​](#-timezone "Direct link to -timezone") Return alert times/dates in the given timezone. ```yaml Type: String Parameter Sets: (All) Aliases: tz Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Custom Fields 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[​](#synopsis "Direct link to SYNOPSIS") Gets device custom fields from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Get-NinjaOneDeviceCustomFields [-deviceId] [-ProgressAction ] [] ``` ##### Multi[​](#multi "Direct link to Multi") ```powershell Get-NinjaOneDeviceCustomFields [[-scope] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device custom fields from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceCustomFields ``` Gets all device custom fields. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceCustomFields | Group-Object { $_.scope } ``` Gets all device custom fields grouped by the scope property. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneDeviceCustomFields -deviceId 1 ``` Gets the device custom fields and values for the device with id 1 ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneDeviceCustomFields -deviceId 1 -withInheritance ``` Gets the device custom fields and values for the device with id 1 and inherits values from parent location and/or organisation, if no value is set for the device you will get the value from the parent location and if no value is set for the parent location you will get the value from the parent organisation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get custom field values for a specific device. ```yaml Type: Int32 Parameter Sets: Single Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -scope[​](#-scope "Direct link to -scope") The scopes to get custom field definitions for. ```yaml Type: String[] Parameter Sets: Multi Aliases: Required: False Position: 1 Default value: All Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Dashboard URL 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[​](#synopsis "Direct link to SYNOPSIS") Gets device dashboard URL from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceDashboardURL [-deviceId] [-redirect] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device dashboard URL from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceDashboardURL -deviceId 1 ``` Gets the device dashboard URL for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device id to get the dashboard URL for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -redirect[​](#-redirect "Direct link to -redirect") return redirect response. This is largely useless as it will return a HTML redirect page source. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Disk drives 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[​](#synopsis "Direct link to SYNOPSIS") Gets device disks from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceDisks [-deviceId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device disks from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceDisks -deviceId 1 ``` Gets the disks for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get disk information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Health Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the device health from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceHealth [[-deviceFilter] ] [[-health] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the device health from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceHealth ``` Gets the device health. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceHealth -deviceFilter 'org = 1' ``` Gets the device health for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneDeviceHealth -health 'UNHEALTHY' ``` Gets the device health for devices with the health status 'UNHEALTHY'. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -health[​](#-health "Direct link to -health") Filter by health status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Jobs 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneJobs` to get jobs for a device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceJobs [-deviceId] [[-languageTag] ] [[-timezone] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets jobs for a device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceJobs -deviceId 1 ``` Gets jobs for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Filter by device id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Return built in job names in the given language. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -timezone[​](#-timezone "Direct link to -timezone") Return job times/dates in the given timezone. ```yaml Type: String Parameter Sets: (All) Aliases: tz Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Last Logged On User 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[​](#synopsis "Direct link to SYNOPSIS") Gets device last logged on user from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceLastLoggedOnUser [-deviceId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device last logged on user from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceLastLoggedOnUser -deviceId 1 ``` Gets the last logged on user for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get the last logged on user for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Network Interfaces 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[​](#synopsis "Direct link to SYNOPSIS") Gets device network interfaces from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceNetworkInterfaces [-deviceId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device network interfaces from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceNetworkInterfaces -deviceId 1 ``` Gets the network interfaces for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get the network interfaces for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device OS Patch Installs 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[​](#synopsis "Direct link to SYNOPSIS") Gets device OS patch installs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceOSPatchInstalls [-deviceId] [[-status] ] [[-installedBefore] ] [[-installedBeforeUnixEpoch] ] [[-installedAfter] ] [[-installedAfterUnixEpoch] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device OS patch installs from the NinjaOne v2 API. If you want patch install status for multiple devices please check out the related 'queries' commandlet `Get-NinjaOneOSPatchInstalls`. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceOSPatchInstalls -deviceId 1 ``` Gets OS patch installs for the device with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceOSPatchInstalls -deviceId 1 -status 'FAILED' -installedAfter (Get-Date 2022/01/01) ``` Gets OS patch installs for the device with id 1 where the patch failed to install after 2022-01-01. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get OS patch install information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter patches by patch status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedBefore[​](#-installedbefore "Direct link to -installedBefore") Filter patches to those installed before this date. Expects DateTime or Int. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedBeforeUnixEpoch[​](#-installedbeforeunixepoch "Direct link to -installedBeforeUnixEpoch") Filter patches to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfter[​](#-installedafter "Direct link to -installedAfter") Filter patches to those installed after this date. Expects DateTime or Int. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfterUnixEpoch[​](#-installedafterunixepoch "Direct link to -installedAfterUnixEpoch") Filter patches to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device OS Patches 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[​](#synopsis "Direct link to SYNOPSIS") Gets device OS patches from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceOSPatches [-deviceId] [[-status] ] [[-type] ] [[-severity] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device OS patches from the NinjaOne v2 API. If you want patch information for multiple devices please check out the related 'queries' commandlet `Get-NinjaOneOSPatches`. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceOSPatches -deviceId 1 ``` Gets OS patch information for the device with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceOSPatches -deviceId 1 -status 'APPROVED' -type 'SECURITY_UPDATES' -severity 'CRITICAL' ``` Gets OS patch information for the device with id 1 where the patch is an approved security update with critical severity. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get OS patch information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter returned patches by patch status. ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") Filter returned patches by type. ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -severity[​](#-severity "Direct link to -severity") Filter returned patches by severity. ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Policy Overrides 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[​](#synopsis "Direct link to SYNOPSIS") Gets device policy overrides from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDevicePolicyOverrides [-deviceId] [-expandOverrides] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device policy override sections from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDevicePolicyOverrides -deviceId 1 ``` Gets the policy override sections for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get the policy overrides for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -expandOverrides[​](#-expandoverrides "Direct link to -expandOverrides") Expand the overrides property. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Processors 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[​](#synopsis "Direct link to SYNOPSIS") Gets device processors from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceProcessors [-deviceId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device processors from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceProcessors -deviceId 1 ``` Gets the processors for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get processor information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Roles 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[​](#synopsis "Direct link to SYNOPSIS") Gets device roles from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneRoles [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device roles from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneRoles ``` Gets all device roles. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Scripting Options 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[​](#synopsis "Direct link to SYNOPSIS") Gets device scripting options from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceScriptingOptions [-deviceId] [[-languageTag] ] [-categories] [-scripts] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device scripting options from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceScriptingOptions -deviceId 1 ``` Gets the device scripting options for the device with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceScriptingOptions -deviceId 1 -scripts ``` Gets the scripts for the device with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneDeviceScriptingOptions -deviceId 1 -categories ``` Gets the categories for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device id to get the scripting options for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Built in scripts / job names should be returned in the specified language. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -categories[​](#-categories "Direct link to -categories") Return the categories list only. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -scripts[​](#-scripts "Direct link to -scripts") Return the scripts list only. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Software Inventory 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneSoftwareProducts` to get installed software products for a device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceSoftwareInventory [-deviceId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets installed software products for a device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceAlerts -deviceId 1 ``` Gets alerts for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Filter by device id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Software Patch Installs 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[​](#synopsis "Direct link to SYNOPSIS") Gets device software patch installs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceSoftwarePatchInstalls [-deviceId] [[-type] ] [[-impact] ] [[-status] ] [[-productIdentifier] ] [[-installedBefore] ] [[-installedBeforeUnixEpoch] ] [[-installedAfter] ] [[-installedAfterUnixEpoch] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device software patch installs from the NinjaOne v2 API. If you want patch install status for multiple devices please check out the related 'queries' commandlet `Get-NinjaOneSoftwarePatchInstalls`. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceSoftwarePatchInstalls -deviceId 1 ``` Gets software patch installs for the device with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceSoftwarePatchInstalls -deviceId 1 -type 'PATCH' -impact 'RECOMMENDED' -status 'FAILED' -installedAfter (Get-Date 2022/01/01) ``` Gets OS patch installs for the device with id 1 where the patch with type patch and impact / severity recommended failed to install after 2022-01-01. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get software patch install information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") Filter patches by type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -impact[​](#-impact "Direct link to -impact") Filter patches by impact. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter patches by patch status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -productIdentifier[​](#-productidentifier "Direct link to -productIdentifier") Filter patches by product identifier. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedBefore[​](#-installedbefore "Direct link to -installedBefore") Filter patches to those installed before this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedBeforeUnixEpoch[​](#-installedbeforeunixepoch "Direct link to -installedBeforeUnixEpoch") Filter patches to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfter[​](#-installedafter "Direct link to -installedAfter") Filter patches to those installed after this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfterUnixEpoch[​](#-installedafterunixepoch "Direct link to -installedAfterUnixEpoch") Filter patches to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Software Patches 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[​](#synopsis "Direct link to SYNOPSIS") Gets device Software patches from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceSoftwarePatches [-deviceId] [[-status] ] [[-productIdentifier] ] [[-type] ] [[-impact] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device Software patches from the NinjaOne v2 API. If you want patch information for multiple devices please check out the related 'queries' commandlet `Get-NinjaOneSoftwarePatches`. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceSoftwarePatches -deviceId 1 ``` Gets all software patches for the device with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceSoftwarePatches -deviceId 1 -status 'APPROVED' -type 'PATCH' -impact 'CRITICAL' ``` Gets all software patches for the device with id 1 where the patch is approved, has type patch and has critical impact/severity. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get software patch information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter patches by patch status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -productIdentifier[​](#-productidentifier "Direct link to -productIdentifier") Filter patches by product identifier. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") Filter patches by type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -impact[​](#-impact "Direct link to -impact") Filter patches by impact. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Volumes 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[​](#synopsis "Direct link to SYNOPSIS") Gets device volumes from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceVolumes [-deviceId] [[-include] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device volumes from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceVolumes -deviceId 1 ``` Gets the volumes for the device with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceVolumes -deviceId 1 -include bl ``` Gets the volumes for the device with id 1 and includes BitLocker status. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get volumes for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -include[​](#-include "Direct link to -include") Additional information to include currently known options are 'bl' for BitLocker status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Windows Services 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[​](#synopsis "Direct link to SYNOPSIS") Gets device windows services from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDeviceWindowsServices [-deviceId] [[-name] ] [[-state] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves device windows services from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDeviceWindowsServices -deviceId 1 ``` Gets all windows services for the device with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDeviceWindowsServices -deviceId 1 -name 'NinjaRMM Agent' ``` Gets all windows services for the device with id 1 that match the name 'NinjaRMM Agent'. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneDeviceWindowsServices -deviceId 1 -state 'RUNNING' ``` Gets all windows services for the device with id 1 that are in the 'RUNNING' state. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to get windows services for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -name[​](#-name "Direct link to -name") Filter by service name. Ninja interprets this case sensitively. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -state[​](#-state "Direct link to -state") Filter by service state. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Devices 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[​](#synopsis "Direct link to SYNOPSIS") Gets devices from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-NinjaOneDevices [[-deviceFilter] ] [[-pageSize] ] [[-after] ] [-detailed] [[-expand] ] [-parseDateTime] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-NinjaOneDevices [-deviceId] [-parseDateTime] [-ProgressAction ] [] ``` ##### Organisation[​](#organisation "Direct link to Organisation") ```powershell Get-NinjaOneDevices [[-pageSize] ] [[-after] ] [-organisationId] [[-expand] ] [-parseDateTime] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves devices from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDevices ``` Gets all devices. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDevices -deviceId 1 ``` Gets the device with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneDevices -organisationId 1 ``` Gets all devices for the organisation with id 1. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneDevices -deviceFilter 'status eq APPROVED' ``` Gets all approved devices. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneDevices -deviceFilter 'class in (WINDOWS_WORKSTATION,MAC,LINUX_WORKSTATION)' ``` Gets all WINDOWS\_WORKSTATION, MAC or LINUX\_WORKSTATION devices. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneDevices -deviceFilter 'class eq WINDOWS_WORKSTATION AND online' ``` Gets all online WINDOWS\_WORKSTATION devices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Device id to retrieve ```yaml Type: Int32 Parameter Sets: Single Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: Multi Aliases: df Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi, Organisation Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -after[​](#-after "Direct link to -after") Start results from device id. ```yaml Type: Int32 Parameter Sets: Multi, Organisation Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -detailed[​](#-detailed "Direct link to -detailed") Include locations and policy mappings. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: 5 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: Organisation Aliases: organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -expand[​](#-expand "Direct link to -expand") Expand referenced entities in the response. Valid values: location, organization, rolePolicy, policy, role, backupUsage, warranty, assignedOwner, backupBandwidthThrottle ```yaml Type: String[] Parameter Sets: Multi, Organisation Aliases: Required: False Position: 6 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Disks Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the disks from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDisks [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the disks from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDisks ``` Gets all disks. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDisks -deviceFilter 'org = 1' ``` Gets the disks for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneDisks -timeStamp 1619712000 ``` Gets the disks with a monitoring timestamp at or after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter in unix time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Document Templates 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[​](#synopsis "Direct link to SYNOPSIS") Gets one or more document templates from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneDocumentTemplates [[-documentTemplateId] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves one or more document templates from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneDocumentTemplate ``` Retrieves all document templates with their fields. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneDocumentTemplate -documentTemplateId 1 ``` #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -documentTemplateId[​](#-documenttemplateid "Direct link to -documentTemplateId") The document template id to retrieve. ```yaml Type: String Parameter Sets: (All) Aliases: id Required: False Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### End User 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[​](#synopsis "Direct link to SYNOPSIS") Gets an end user by Id. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneEndUser [-id] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a specific end user via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneEndUser -Id 101 ``` Gets the end user with Id 101. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") The end user Id to retrieve. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### End User Custom Fields 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[​](#synopsis "Direct link to SYNOPSIS") Gets custom fields for an end user. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneEndUserCustomFields [-id] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the list of custom fields for an end user via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneEndUserCustomFields -Id 101 ``` Gets custom fields for end user 101. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") The end user Id to retrieve custom fields for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### 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[​](#synopsis "Direct link to SYNOPSIS") Gets all end users. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneEndUsers [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves all end users via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneEndUsers ``` Gets all end users. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Entity Custom Fields Signed URLs 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[​](#synopsis "Direct link to SYNOPSIS") Gets signed URLs for custom fields on an entity. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneEntityCustomFieldsSignedURLs [-entityType] [-entityId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves signed URLs for custom fields for a given entity type and Id via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneEntityCustomFieldsSignedURLs -entityType ORGANIZATION -entityId 1 ``` Gets custom field signed URLs for the ORGANIZATION entity with Id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The entity Id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Global Knowledge Base Articles 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[​](#synopsis "Direct link to SYNOPSIS") Gets global knowledge base articles from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneGlobalKnowledgeBaseArticles [[-articleName] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves global knowledge base articles from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneGlobalKnowledgeBaseArticles ``` Gets all global knowledge base articles. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneGlobalKnowledgeBaseArticles -articleName 'Article Name' ``` Gets all global knowledge base articles with the name 'Article Name'. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -articleName[​](#-articlename "Direct link to -articleName") The knowledge base article name to get. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Group Members 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[​](#synopsis "Direct link to SYNOPSIS") Gets group members from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneGroupMembers [-groupId] [[-refresh] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves group members from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneGroupMembers -groupId 1 ``` Gets all group members for group with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -groupId[​](#-groupid "Direct link to -groupId") The group id to get members for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -refresh[​](#-refresh "Direct link to -refresh") Refresh ?ToDo Query with Ninja ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Groups 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[​](#synopsis "Direct link to SYNOPSIS") Gets groups from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneGroups [[-languageTag] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves groups from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneGroups ``` Gets all groups. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Group names should be returned in this language. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### 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[​](#synopsis "Direct link to SYNOPSIS") Gets agent installer URL from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneInstaller [-organisationId] [-locationId] [-installerType] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves agent installer URL from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell 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[​](#example-2 "Direct link to EXAMPLE 2") ```powershell 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[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation id to get the installer for. ```yaml 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[​](#-locationid "Direct link to -locationId") The location id to get the installer for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -installerType[​](#-installertype "Direct link to -installerType") Installer type/platform. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Integrity Check Jobs 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[​](#synopsis "Direct link to SYNOPSIS") Gets backup integrity check jobs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneIntegrityCheckJobs [[-cursor] ] [[-deletedDeviceFilter] ] [[-deviceFilter] ] [[-include] ] [[-pageSize] ] [[-planType] ] [[-planTypeFilter] ] [[-status] ] [[-statusFilter] ] [[-startTimeBetween] ] [[-startTimeAfter] ] [[-startTimeFilter] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves backup integrity check jobs from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneIntegrityCheckJobs ``` Gets all backup integrity check jobs. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneIntegrityCheckJobs -status 'RUNNING' ``` Gets all backup integrity check jobs with a status of 'RUNNING'. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneIntegrityCheckJobs -status 'RUNNING', 'COMPLETED' ``` Gets all backup integrity check jobs with a status of 'RUNNING' or 'COMPLETED'. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneIntegrityCheckJobs -statusFilter 'status = RUNNING' ``` Gets all backup integrity check jobs with a status of 'RUNNING'. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneIntegrityCheckJobs -statusFilter 'status in (RUNNING, COMPLETED)' ``` Gets all backup integrity check jobs with a status of 'RUNNING' or 'COMPLETED'. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneIntegrityCheckJobs -planType 'IMAGE' ``` Gets all backup integrity check jobs with a plan type of 'IMAGE'. ##### EXAMPLE 7[​](#example-7 "Direct link to EXAMPLE 7") ```powershell Get-NinjaOneIntegrityCheckJobs -planType 'IMAGE', 'FILE_FOLDER' ``` Gets all backup integrity check jobs with a plan type of 'IMAGE' or 'FILE\_FOLDER'. ##### EXAMPLE 8[​](#example-8 "Direct link to EXAMPLE 8") ```powershell Get-NinjaOneIntegrityCheckJobs -planTypeFilter 'planType = IMAGE' ``` Gets all backup integrity check jobs with a plan type of 'IMAGE'. ##### EXAMPLE 9[​](#example-9 "Direct link to EXAMPLE 9") ```powershell Get-NinjaOneIntegrityCheckJobs -planTypeFilter 'planType in (IMAGE, FILE_FOLDER)' ``` Gets all backup integrity check jobs with a plan type of 'IMAGE' or 'FILE\_FOLDER'. ##### EXAMPLE 10[​](#example-10 "Direct link to EXAMPLE 10") ```powershell Get-NinjaOneIntegrityCheckJobs -startTimeBetween (Get-Date).AddDays(-1), (Get-Date) ``` Gets all backup integrity check jobs with a start time between 24 hours ago and now. ##### EXAMPLE 11[​](#example-11 "Direct link to EXAMPLE 11") ```powershell Get-NinjaOneIntegrityCheckJobs -startTimeAfter (Get-Date).AddDays(-1) ``` Gets all backup integrity check jobs with a start time after 24 hours ago. ##### EXAMPLE 12[​](#example-12 "Direct link to EXAMPLE 12") ```powershell Get-NinjaOneIntegrityCheckJobs -startTimeFilter 'startTime between(2024-01-01T00:00:00.000Z,2024-01-02T00:00:00.000Z)' ``` Gets all backup integrity check jobs with a start time between 2024-01-01T00:00:00.000Z and 2024-01-02T00:00:00.000Z. ##### EXAMPLE 13[​](#example-13 "Direct link to EXAMPLE 13") ```powershell Get-NinjaOneIntegrityCheckJobs -startTimeFilter 'startTime after 2024-01-01T00:00:00.000Z' ``` Gets all backup integrity check jobs with a start time after 2024-01-01T00:00:00.000Z. ##### EXAMPLE 14[​](#example-14 "Direct link to EXAMPLE 14") ```powershell Get-NinjaOneIntegrityCheckJobs -deviceFilter all ``` Gets all backup integrity check jobs for the all devices. Includes active and deleted devices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -deletedDeviceFilter[​](#-deleteddevicefilter "Direct link to -deletedDeviceFilter") Deleted device filter. ```yaml Type: String Parameter Sets: (All) Aliases: ddf Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Device filter. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -include[​](#-include "Direct link to -include") Which devices to include (defaults to 'active'). ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -planType[​](#-plantype "Direct link to -planType") Filter by plan type. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -planTypeFilter[​](#-plantypefilter "Direct link to -planTypeFilter") Raw plan type filter. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: ptf Required: False Position: 7 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter by status. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -statusFilter[​](#-statusfilter "Direct link to -statusFilter") Raw status filter. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: sf Required: False Position: 8 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -startTimeBetween[​](#-starttimebetween "Direct link to -startTimeBetween") Start time between filter. See the supplemental documentation at ```yaml Type: DateTime[] Parameter Sets: (All) Aliases: Required: False Position: 9 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -startTimeAfter[​](#-starttimeafter "Direct link to -startTimeAfter") Start time after filter. See the supplemental documentation at ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 10 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -startTimeFilter[​](#-starttimefilter "Direct link to -startTimeFilter") Raw start time filter. See the supplemental documentation at ```yaml Type: String Parameter Sets: (All) Aliases: stf Required: False Position: 11 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Jobs 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[​](#synopsis "Direct link to SYNOPSIS") Gets jobs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneJobs [[-deviceId] ] [[-jobType] ] [[-deviceFilter] ] [[-languageTag] ] [[-timeZone] ] [-parseDateTime] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves jobs from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneJobs ``` Gets all jobs. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneJobs -jobType SOFTWARE_PATCH_MANAGEMENT ``` Gets software patch management jobs. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneJobs -deviceFilter 'organization in (1,2,3)' ``` Gets jobs for devices in organisations 1, 2 and 3. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneJobs -deviceId 1 ``` Gets jobs for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") Filter by device id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -jobType[​](#-jobtype "Direct link to -jobType") Filter by job type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter by device triggering the alert. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -languageTag[​](#-languagetag "Direct link to -languageTag") Filter by language tag. ```yaml Type: String Parameter Sets: (All) Aliases: lang Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeZone[​](#-timezone "Direct link to -timeZone") Filter by timezone. ```yaml Type: String Parameter Sets: (All) Aliases: ts Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Article 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[​](#synopsis "Direct link to SYNOPSIS") Gets a knowledge base article from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneKnowledgeBaseArticle [-articleId] [-signedUrls] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a knowledge base article from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneKnowledgeBaseArticle -articleId 1 ``` Gets the knowledge base article with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -articleId[​](#-articleid "Direct link to -articleId") The knowledge base article id to get. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -signedUrls[​](#-signedurls "Direct link to -signedUrls") Get a map of content ids and their corresponding signed urls. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Folders 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[​](#synopsis "Direct link to SYNOPSIS") Gets knowledge base folders from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneKnowledgeBaseFolders [[-folderId] ] [[-folderPath] ] [[-organisationId] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves knowledge base folders and information on their contents from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneKnowledgeBaseFolders ``` Gets all knowledge base folders. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneKnowledgeBaseFolders -folderId 1 ``` Gets the knowledge base folder with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneKnowledgeBaseFolders -folderPath 'Folder/Subfolder' ``` Gets the knowledge base folder with the path 'Folder/Subfolder'. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneKnowledgeBaseFolders -organisationId 1 ``` Gets all knowledge base folders for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -folderId[​](#-folderid "Direct link to -folderId") The knowledge base folder id to get. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -folderPath[​](#-folderpath "Direct link to -folderPath") The knowledge base folder path to get. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation id to get knowledge base folders for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Location Backup Usage 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[​](#synopsis "Direct link to SYNOPSIS") Gets backup usage for a location from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationLocationBackupUsage [-organisationId] [[-locationId] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves backup usage for a location from the NinjaOne v2 API. For all locations omit the `locationId` parameter for devices backup usage use `Get-NinjaOneBackupUsage`. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneLocationBackupUsage -organisationId 1 ``` Gets backup usage for all locations in the organisation with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneLocationBackupUsage -organisationId 1 -locationId 1 ``` Gets backup usage for the location with id 1 in the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Organisation id to retrieve backup usage for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -locationId[​](#-locationid "Direct link to -locationId") Location id to retrieve backup usage for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Location Custom Fields 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[​](#synopsis "Direct link to SYNOPSIS") Gets location custom fields from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneLocationCustomFields [-organisationId] [-locationId] [[-withInheritance] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves location custom fields from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneLocationCustomFields organisationId 1 -locationId 2 ``` Gets custom field details for the location with id 2 belonging to the organisation with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneLocationCustomFields organisationId 1 -locationId 2 -withInheritance ``` Gets custom field details for the location with id 2 belonging to the organisation with id 1 and inherits values from parent organisation, if no value is set for the location you will get the value from the parent organisation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml 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[​](#-locationid "Direct link to -locationId") Filter by location id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -withInheritance[​](#-withinheritance "Direct link to -withInheritance") Inherit custom field values from parent organisation. ```yaml Type: Boolean Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: False Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Locations 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[​](#synopsis "Direct link to SYNOPSIS") Gets locations from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneLocations [[-pageSize] ] [[-after] ] [[-organisationId] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves locations from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneLocations ``` Gets all locations. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneLocations -after 1 ``` Gets all locations after location id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneLocations -organisationId 1 ``` Gets all locations for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -after[​](#-after "Direct link to -after") Start results from location id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: False Position: 3 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Logged On Users Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the logged on users from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneLoggedOnUsers [[-deviceFilter] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the logged on users from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneLoggedOnUsers ``` Gets all logged on users. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneLoggedOnUsers -deviceFilter 'org = 1' ``` Gets the logged on users for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Network Interfaces Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the network interfaces from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneNetworkInterfaces [[-deviceFilter] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the network interfaces for each device from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneNetworkInterfaces ``` Gets all network interfaces. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneNetworkInterfaces -deviceFilter 'org = 1' ``` Gets the network interfaces for all devices for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Node Roles 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[​](#synopsis "Direct link to SYNOPSIS") Gets node roles from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneNodeRoles [-isAssignable] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves node roles using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneNodeRoles ``` Gets all node roles. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneNodeRoles -isAssignable ``` Gets node roles that are assignable. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -isAssignable[​](#-isassignable "Direct link to -isAssignable") Return only assignable node roles. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: assignable Required: False Position: 1 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Notification Channels 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[​](#synopsis "Direct link to SYNOPSIS") Gets notification channels from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneNotificationChannels [-enabled] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves notification channel details from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneNotificationChannels ``` Gets all notification channels. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneNotificationChannels -enabled ``` Gets all enabled notification channels. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -enabled[​](#-enabled "Direct link to -enabled") Get all enabled notification channels. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Operating Systems Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the operating systems from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOperatingSystems [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the operating systems from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOperatingSystems ``` Gets all operating systems. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneOperatingSystems -deviceFilter 'org = 1' ``` Gets the operating systems for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneOperatingSystems -timeStamp 1619712000 ``` Gets the operating systems with a monitoring timestamp at or after 1619712000. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneOperatingSystems | Group-Object -Property 'name' ``` Gets all operating systems grouped by the name property. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter in unix time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklist 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[​](#synopsis "Direct link to SYNOPSIS") Gets an organisation checklist by Id. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationChecklist [-checklistId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves an organisation checklist via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationChecklist -checklistId 22 ``` Gets organisation checklist with Id 22. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -checklistId[​](#-checklistid "Direct link to -checklistId") The organisation checklist Id to retrieve. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklist Signed URLs 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[​](#synopsis "Direct link to SYNOPSIS") Gets signed URLs for an organisation checklist. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationChecklistSignedURLs [-checklistId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves signed URLs for an organisation checklist via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationChecklistSignedURLs -checklistId 22 ``` Gets signed URLs for organisation checklist Id 22. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -checklistId[​](#-checklistid "Direct link to -checklistId") The organisation checklist Id to retrieve signed URLs for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklists 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[​](#synopsis "Direct link to SYNOPSIS") Gets organisation checklists. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationChecklists [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves organisation checklists via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationChecklists ``` Gets organisation checklists. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Custom Fields 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[​](#synopsis "Direct link to SYNOPSIS") Gets organisation custom fields from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationCustomFields [-organisationId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves organisation custom fields from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationCustomFields -organisationId 1 ``` Gets custom field details for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Devices 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneDevices` to get devices for an organisation. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationDevices [-organisationId] [[-after] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets devices for an organisation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationDevices -organisationId 1 ``` Gets devices for the organisation with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneOrganisationDevices -organisationId 1 -after 10 ``` Gets devices for the organisation with id 1 starting from device id 10. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneOrganisationDevices -organisationId 1 -pageSize 10 ``` Gets 10 devices for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -after[​](#-after "Direct link to -after") Start results from device id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Document Signed URLs 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[​](#synopsis "Direct link to SYNOPSIS") Gets organisation document signed URLs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationDocumentSignedURLs [-clientDocumentId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves organisation document signed URLs from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationDocumentSignedURLs -clientDocumentId 1 ``` Gets signed URLs for the organisation document with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -clientDocumentId[​](#-clientdocumentid "Direct link to -clientDocumentId") The client document id to get signed URLs for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, documentId, organisationDocumentId, organizationDocumentId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Documents 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[​](#synopsis "Direct link to SYNOPSIS") Gets organisation documents from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single Organisation[​](#single-organisation "Direct link to Single Organisation") ```powershell Get-NinjaOneOrganisationDocuments [-organisationId] [-parseDateTime] [-ProgressAction ] [] ``` ##### All Organisations[​](#all-organisations "Direct link to All Organisations") ```powershell Get-NinjaOneOrganisationDocuments [[-documentName] ] [[-groupBy] ] [[-organisationIds] ] [[-templateIds] ] [[-templateName] ] [-parseDateTime] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves organisation documents from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationDocuments -organisationId 1 ``` Gets documents for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: Single Organisation Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -documentName[​](#-documentname "Direct link to -documentName") Filter by document name. ```yaml Type: String Parameter Sets: All Organisations Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -groupBy[​](#-groupby "Direct link to -groupBy") Group by template or organisation. ```yaml Type: String Parameter Sets: All Organisations Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -organisationIds[​](#-organisationids "Direct link to -organisationIds") Filter by organisation ids. Comma separated list of organisation ids. ```yaml Type: String Parameter Sets: All Organisations Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -templateIds[​](#-templateids "Direct link to -templateIds") Filter by template ids. Comma separated list of template ids. ```yaml Type: String Parameter Sets: All Organisations Aliases: Required: False Position: 5 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -templateName[​](#-templatename "Direct link to -templateName") Filter by template name. ```yaml Type: String Parameter Sets: All Organisations Aliases: Required: False Position: 6 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### 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[​](#synopsis "Direct link to SYNOPSIS") Gets end users for an organisation. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationEndUsers [-organisationId] [-includeRoles] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Returns list of end users for a specific organisation via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationEndUsers -organisationId 1 -includeRoles ``` Gets end users for organisation 1 including roles. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation Id to retrieve end users for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -includeRoles[​](#-includeroles "Direct link to -includeRoles") Includes user role information ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Information 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneOrganisations` to get detailed information for an organisation. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationInformation [-organisationId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets detailed information for an organisation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationInformation -organisationId 1 ``` Gets detailed information for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Knowledge Base Articles 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[​](#synopsis "Direct link to SYNOPSIS") Gets knowledge base articles for organisations from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationKnowledgeBaseArticles [[-articleName] ] [[-organisationIds] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves knowledge base articles for organisations from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationKnowledgeBaseArticles ``` Gets all knowledge base articles for organisations. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneOrganisationKnowledgeBaseArticles -articleName 'Article Name' ``` Gets all knowledge base articles for organisations with the name 'Article Name'. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneOrganisationKnowledgeBaseArticles -organisationIds '1,2,3' ``` Gets all knowledge base articles for organisations with ids 1, 2, and 3. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -articleName[​](#-articlename "Direct link to -articleName") The knowledge base article name to get. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -organisationIds[​](#-organisationids "Direct link to -organisationIds") The organisation ids to get knowledge base articles for. Use a comma separated list for multiple ids. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Locations 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneLocations` to get locations for an organisation. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationLocations [-organisationId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets locations for an organisation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationLocations -organisationId 1 ``` Gets locations for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Locations Backup Usage 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneLocationBackupUsage` to get backup usage for all locations in an organisation. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationLocationsBackupUsage [-organisationId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets backup usage for all locations in an organisation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneLocationBackupUsage -organisationId 1 ``` Gets backup usage for all locations for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation 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[​](#synopsis "Direct link to SYNOPSIS") Wrapper command using `Get-NinjaOneUsers` to get users for an organisation. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOrganisationUsers [-organisationId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Gets users for an organisation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisationUsers -organisationId 1 ``` Gets users for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Filter by organisation id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisations 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[​](#synopsis "Direct link to SYNOPSIS") Gets organisations from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multi (Default)[​](#multi-default "Direct link to Multi (Default)") ```powershell Get-NinjaOneOrganisations [[-after] ] [[-organisationFilter] ] [[-pageSize] ] [-detailed] [-ProgressAction ] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Get-NinjaOneOrganisations [[-organisationId] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves organisations from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOrganisations ``` Gets all organisations. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneOrganisations -organisationId 1 ``` Gets the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneOrganisations -pageSize 10 -after 1 ``` Gets 10 organisations starting from organisation id 1. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneOrganisations -detailed ``` Gets all organisations with locations and policy mappings. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Organisation id ```yaml Type: Int32 Parameter Sets: Single Aliases: id, organizationId Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -after[​](#-after "Direct link to -after") Start results from organisation id. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -organisationFilter[​](#-organisationfilter "Direct link to -organisationFilter") Filter results using an organisation filter string. ```yaml Type: String Parameter Sets: Multi Aliases: of, organizationFilter Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: Multi Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -detailed[​](#-detailed "Direct link to -detailed") Include locations and policy mappings. ```yaml Type: SwitchParameter Parameter Sets: Multi Aliases: Required: False Position: 5 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### OS Patch Installs Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the OS patch installs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOSPatchInstalls [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-status] ] [[-installedBefore] ] [[-installedBeforeUnixEpoch] ] [[-installedAfter] ] [[-installedAfterUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the OS patch installs from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOSPatchInstalls ``` Gets all OS patch installs. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneOSPatchInstalls -deviceFilter 'org = 1' ``` Gets the OS patch installs for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneOSPatchInstalls -timeStamp 1619712000 ``` Gets the OS patch installs with a monitoring timestamp at or after 1619712000. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneOSPatchInstalls -status 'FAILED' ``` Gets the OS patch installs with a status of 'FAILED'. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneOSPatchInstalls -installedBefore (Get-Date) ``` Gets the OS patch installs installed before the current date. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneOSPatchInstalls -installedBeforeUnixEpoch 1619712000 ``` Gets the OS patch installs installed before 1619712000. ##### EXAMPLE 7[​](#example-7 "Direct link to EXAMPLE 7") ```powershell Get-NinjaOneOSPatchInstalls -installedAfter (Get-Date).AddDays(-1) ``` Gets the OS patch installs installed after the previous day. ##### EXAMPLE 8[​](#example-8 "Direct link to EXAMPLE 8") ```powershell Get-NinjaOneOSPatchInstalls -installedAfterUnixEpoch 1619712000 ``` Gets the OS patch installs installed after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter patches by patch status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -installedBefore[​](#-installedbefore "Direct link to -installedBefore") Filter patches to those installed before this date. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedBeforeUnixEpoch[​](#-installedbeforeunixepoch "Direct link to -installedBeforeUnixEpoch") Filter patches to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfter[​](#-installedafter "Direct link to -installedAfter") Filter patches to those installed after this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfterUnixEpoch[​](#-installedafterunixepoch "Direct link to -installedAfterUnixEpoch") Filter patches to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### OS Patches Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the OS patches from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneOSPatches [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-status] ] [[-type] ] [[-severity] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the OS patches from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneOSPatches ``` Gets all OS patches. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneOSPatches -deviceFilter 'org = 1' ``` Gets the OS patches for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneOSPatches -timeStamp 1619712000 ``` Gets the OS patches with a monitoring timestamp at or after 1619712000. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneOSPatches -status 'APPROVED' ``` Gets the OS patches with a status of APPROVED. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneOSPatches -type 'SECURITY_UPDATES' ``` Gets the OS patches with a type of SECURITY\_UPDATES. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneOSPatches -severity 'CRITICAL' ``` Gets the OS patches with a severity of CRITICAL. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter in unix time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter patches by patch status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") Filter patches by type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -severity[​](#-severity "Direct link to -severity") Filter patches by severity. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Policies 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[​](#synopsis "Direct link to SYNOPSIS") Gets policies from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOnePolicies [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves policies from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOnePolicies ``` Gets all policies. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Policy Overrides Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the policy overrides by device from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOnePolicyOverrides [[-cursor] ] [[-deviceFilter] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the policy override sections by device from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOnePolicyOverrides ``` Gets the policy overrides by device. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOnePolicyOverrides -deviceFilter 'org = 1' ``` Gets the policy overrides by device for the organisation with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Device filter. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Processors Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the processors from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneProcessors [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the processors from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneProcessors ``` Gets the processors. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneProcessors -deviceFilter 'org = 1' ``` Gets the processors for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneProcessors -timeStamp 1619712000 ``` Gets the processors with a monitoring timestamp at or after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### RAID Controllers Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the RAID controllers from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneRAIDControllers [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the RAID controllers from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneRAIDControllers ``` Gets the RAID controllers. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneRAIDControllers -deviceFilter 'org = 1' ``` Gets the RAID controllers for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneRAIDControllers -timeStamp 1619712000 ``` Gets the RAID controllers with a monitoring timestamp at or after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### RAID Drives Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the RAID drives from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneRAIDDrives [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the RAID drives from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneRAIDDrives ``` Gets the RAID drives. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneRAIDDrives -deviceFilter 'org = 1' ``` Gets the RAID drives for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneRAIDDrives -timeStamp 1619712000 ``` Gets the RAID drives with a monitoring timestamp at or after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Related Item Attachment 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[​](#synopsis "Direct link to SYNOPSIS") Gets a related item attachment from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneRelatedItemAttachment [-relatedItemId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a related item attachment from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneKnowledgeBaseArticle -articleId 1 ``` Gets the knowledge base article with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -relatedItemId[​](#-relateditemid "Direct link to -relatedItemId") The related item id to get the attachment for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Related Item Attachment Signed URLs 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[​](#synopsis "Direct link to SYNOPSIS") Gets related item attachment signed URLs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneRelatedItemAttachmentSignedURLs [-entityType] [-entityId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a related item attachment signed URLs from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneRelatedItemAttachmentSignedURLs -entityType 'KB_DOCUMENT' -entityId 1 ``` Gets the related item attachment signed URLs for the KB\_DOCUMENT entity with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type of the related item. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The entity id of the related item. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Related Items 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[​](#synopsis "Direct link to SYNOPSIS") Gets items related to an entity or entity type from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### all[​](#all "Direct link to all") ```powershell Get-NinjaOneRelatedItems [-all] [-ProgressAction ] [] ``` ##### relatedTo[​](#relatedto "Direct link to relatedTo") ```powershell Get-NinjaOneRelatedItems [-relatedTo] [-entityType] [[-entityId] ] [[-scope] ] [-ProgressAction ] [] ``` ##### relatedFrom[​](#relatedfrom "Direct link to relatedFrom") ```powershell Get-NinjaOneRelatedItems [-relatedFrom] [-entityType] [[-entityId] ] [[-scope] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves related items related to a given entity or entity type from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneRelatedItems -all ``` Gets all related items. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneRelatedItems -relatedTo -entityType 'organization' ``` Gets all items which have a relation to an organization. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneRelatedItems -relatedTo -entityType 'organization' -entityId 1 ``` Gets all items which have a relation to the organization with id 1. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneRelatedItems -relatedFrom -entityType 'organization' ``` Gets all items which have a relation from an organization. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneRelatedItems -relatedFrom -entityType 'organization' -entityId 1 ``` Gets all items which have a relation from the organization with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -all[​](#-all "Direct link to -all") Return all related items. ```yaml Type: SwitchParameter Parameter Sets: all Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -relatedTo[​](#-relatedto "Direct link to -relatedTo") Find items related to the given entity type/id. ```yaml Type: SwitchParameter Parameter Sets: relatedTo Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -relatedFrom[​](#-relatedfrom "Direct link to -relatedFrom") Find items with related entities of the given type/id. ```yaml Type: SwitchParameter Parameter Sets: relatedFrom Aliases: Required: True Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type to get related items for. ```yaml Type: String Parameter Sets: relatedTo, relatedFrom Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The entity id to get related items for. ```yaml Type: Int64 Parameter Sets: relatedTo, relatedFrom Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -scope[​](#-scope "Direct link to -scope") The scope of the related items. ```yaml Type: String Parameter Sets: relatedTo, relatedFrom Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Scheduled Tasks 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[​](#synopsis "Direct link to SYNOPSIS") Gets tasks from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTasks [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves tasks from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTasks ``` Gets all tasks. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software Inventory Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the software inventory from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneSoftwareInventory [[-deviceFilter] ] [[-cursor] ] [[-pageSize] ] [[-installedBefore] ] [[-installedBeforeUnixEpoch] ] [[-installedAfter] ] [[-installedAfterUnixEpoch] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the software inventory from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneSoftwareInventory ``` Gets the software inventory. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneSoftwareInventory -deviceFilter 'org = 1' ``` Gets the software inventory for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneSoftwareInventory -installedBefore (Get-Date) ``` Gets the software inventory for software installed before the current date. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneSoftwareInventory -installedBeforeUnixEpoch 1619712000 ``` Gets the software inventory for software installed before 1619712000. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneSoftwareInventory -installedAfter (Get-Date).AddDays(-1) ``` Gets the software inventory for software installed after the previous day. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneSoftwareInventory -installedAfterUnixEpoch 1619712000 ``` Gets the software inventory for software installed after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedBefore[​](#-installedbefore "Direct link to -installedBefore") Filter software to those installed before this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedBeforeUnixEpoch[​](#-installedbeforeunixepoch "Direct link to -installedBeforeUnixEpoch") Filter software to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfter[​](#-installedafter "Direct link to -installedAfter") Filter software to those installed after this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfterUnixEpoch[​](#-installedafterunixepoch "Direct link to -installedAfterUnixEpoch") Filter software to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software License 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[​](#synopsis "Direct link to SYNOPSIS") Gets a software license by ID. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneSoftwareLicense [-licenseId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a specific software license by its ID from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneSoftwareLicense -licenseId 1 ``` Gets the software license with ID 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -licenseId[​](#-licenseid "Direct link to -licenseId") The ID of the software license ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the software license.[​](#a-powershell-object-containing-the-software-license "Direct link to A PowerShell object containing the software license.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software License Assignments 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[​](#synopsis "Direct link to SYNOPSIS") Gets software license assignments. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneSoftwareLicenseAssignments [-licenseId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves assignments for a software license from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneSoftwareLicenseAssignments -licenseId 1 ``` Gets assignments for software license 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -licenseId[​](#-licenseid "Direct link to -licenseId") Software license ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software Licenses 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[​](#synopsis "Direct link to SYNOPSIS") Gets software licenses. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneSoftwareLicenses [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves software licenses from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneSoftwareLicenses ``` Gets all software licenses. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software Patch Installs Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the software patch installs from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneSoftwarePatchInstalls [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-type] ] [[-impact] ] [[-status] ] [[-productIdentifier] ] [[-installedBefore] ] [[-installedBeforeUnixEpoch] ] [[-installedAfter] ] [[-installedAfterUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the software patch installs from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneSoftwarePatchInstalls ``` Gets all software patch installs. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneSoftwarePatchInstalls -deviceFilter 'org = 1' ``` Gets the software patch installs for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneSoftwarePatchInstalls -timeStamp 1619712000 ``` Gets the software patch installs with a monitoring timestamp at or after 1619712000. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneSoftwarePatchInstalls -type 'PATCH' ``` Gets the software patch installs with a type of 'PATCH'. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneSoftwarePatchInstalls -impact 'OPTIONAL' ``` Gets the software patch installs with an impact of 'OPTIONAL'. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneSoftwarePatchInstalls -status 'FAILED' ``` Gets the software patch installs with a status of 'FAILED'. ##### EXAMPLE 7[​](#example-7 "Direct link to EXAMPLE 7") ```powershell Get-NinjaOneSoftwarePatchInstalls -productIdentifier 23e4567-e89b-12d3-a456-426614174000 ``` Gets the software patch installs with a product identifier of '23e4567-e89b-12d3-a456-426614174000'. ##### EXAMPLE 8[​](#example-8 "Direct link to EXAMPLE 8") ```powershell Get-NinjaOneSoftwarePatchInstalls -installedBefore (Get-Date) ``` Gets the software patch installs installed before the current date. ##### EXAMPLE 9[​](#example-9 "Direct link to EXAMPLE 9") ```powershell Get-NinjaOneSoftwarePatchInstalls -installedBeforeUnixEpoch 1619712000 ``` Gets the software patch installs installed before 1619712000. ##### EXAMPLE 10[​](#example-10 "Direct link to EXAMPLE 10") ```powershell Get-NinjaOneSoftwarePatchInstalls -installedAfter (Get-Date) ``` Gets the software patch installs installed after the current date. ##### EXAMPLE 11[​](#example-11 "Direct link to EXAMPLE 11") ```powershell Get-NinjaOneSoftwarePatchInstalls -installedAfterUnixEpoch 1619712000 ``` Gets the software patch installs installed after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") Filter patches by patch status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -impact[​](#-impact "Direct link to -impact") Filter patches by impact. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter patches by patch status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -productIdentifier[​](#-productidentifier "Direct link to -productIdentifier") Filter patches by product identifier. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -installedBefore[​](#-installedbefore "Direct link to -installedBefore") Filter patches to those installed before this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedBeforeUnixEpoch[​](#-installedbeforeunixepoch "Direct link to -installedBeforeUnixEpoch") Filter patches to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfter[​](#-installedafter "Direct link to -installedAfter") Filter patches to those installed after this date. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 8 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -installedAfterUnixEpoch[​](#-installedafterunixepoch "Direct link to -installedAfterUnixEpoch") Filter patches to those installed after this date. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 8 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 9 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 10 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software Patches Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the software patches from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneSoftwarePatches [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-status] ] [[-productIdentifier] ] [[-type] ] [[-impact] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the software patches from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneSoftwarePatches ``` Gets all software patches. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneSoftwarePatches -deviceFilter 'org = 1' ``` Gets the software patches for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneSoftwarePatches -timeStamp 1619712000 ``` Gets the software patches with a monitoring timestamp at or after 1619712000. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneSoftwarePatches -status 'FAILED' ``` Gets the software patches with a status of 'FAILED'. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneSoftwarePatches -productIdentifier 23e4567-e89b-12d3-a456-426614174000 ``` Gets the software patches with a product identifier of '23e4567-e89b-12d3-a456-426614174000'. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneSoftwarePatches -type 'PATCH' ``` Gets the software patches with a type of 'PATCH'. ##### EXAMPLE 7[​](#example-7 "Direct link to EXAMPLE 7") ```powershell Get-NinjaOneSoftwarePatches -impact 'OPTIONAL' ``` Gets the software patches with an impact of 'OPTIONAL'. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -status[​](#-status "Direct link to -status") Filter patches by patch status. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -productIdentifier[​](#-productidentifier "Direct link to -productIdentifier") Filter patches by product identifier. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") Filter patches by type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -impact[​](#-impact "Direct link to -impact") Filter patches by impact. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 6 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 8 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software Products 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[​](#synopsis "Direct link to SYNOPSIS") Gets software products from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneSoftwareProducts [[-deviceId] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves software products from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneSoftwareProducts ``` Gets all software products. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneSoftwareProducts -deviceId 1 ``` Gets all software products for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device id to get software products for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### System Contacts 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[​](#synopsis "Direct link to SYNOPSIS") Gets system contacts from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneSystemContacts [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves system contacts from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneSystemContacts ``` Gets all system contacts. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab 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[​](#synopsis "Direct link to SYNOPSIS") Gets a tab by Id. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTab [-tabId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a tab via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTab -tabId 5 ``` Gets tab with Id 5. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tabId[​](#-tabid "Direct link to -tabId") The tab Id to retrieve. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab End User 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[​](#synopsis "Direct link to SYNOPSIS") Gets the end-user for a tab. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTabEndUser [-tabId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the end-user associated with a tab via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTabEndUser -tabId 5 ``` Gets the end-user for tab Id 5. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tabId[​](#-tabid "Direct link to -tabId") The tab Id to retrieve end user view for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Organisation 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[​](#synopsis "Direct link to SYNOPSIS") Gets the organisation for a tab. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTabOrganisation [-tabId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the organisation associated with a tab via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTabOrganisation -tabId 5 ``` Gets the organisation for tab Id 5. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tabId[​](#-tabid "Direct link to -tabId") The tab Id to retrieve organisation view for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Role 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[​](#synopsis "Direct link to SYNOPSIS") Gets a tab and extensions for a specific role. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTabRole [-tabId] [-roleId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the requested tab along with any extensions based on the supplied role Id via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTabRole -tabId 5 -roleId 10 ``` Gets tab 5 with extensions as viewed by role 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tabId[​](#-tabid "Direct link to -tabId") The tab Id to retrieve. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -roleId[​](#-roleid "Direct link to -roleId") The role Id to get the tab view for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Summary End User 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[​](#synopsis "Direct link to SYNOPSIS") Gets the summary of custom tabs available to end-user views. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTabSummaryEndUser [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a summary of the custom tabs available to end-user views via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTabSummaryEndUser ``` Gets the end-user custom tabs summary. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Summary Global 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[​](#synopsis "Direct link to SYNOPSIS") Gets the summary of custom tabs available globally. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTabSummaryGlobal [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a summary of all custom tabs available globally via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTabSummaryGlobal ``` Gets the global custom tabs summary. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Summary Organisation 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[​](#synopsis "Direct link to SYNOPSIS") Gets the summary of custom tabs available to organisation views. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTabSummaryOrganisation [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a summary of the custom tabs available to organisation views via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTabSummaryOrganisation ``` Gets the organisation custom tabs summary. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Summary Role 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[​](#synopsis "Direct link to SYNOPSIS") Gets the summary of custom tabs for a specified role. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTabSummaryRole [-roleId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a summary of the custom tabs and extensions as viewed by the specified role via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTabSummaryRole -roleId 10 ``` Gets the custom tabs summary for role Id 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -roleId[​](#-roleid "Direct link to -roleId") Role Id to retrieve tab summary for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Technician 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[​](#synopsis "Direct link to SYNOPSIS") Gets a technician by Id. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTechnician [-id] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a specific technician via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTechnician -Id 77 ``` Gets the technician with Id 77. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") The technician Id to retrieve. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Technicians 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[​](#synopsis "Direct link to SYNOPSIS") Gets all technicians. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTechnicians [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves all technicians via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTechnicians ``` Gets all technicians. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket Attributes 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[​](#synopsis "Direct link to SYNOPSIS") Gets ticket attributes from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTicketAttributes [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a list of the ticket attributes from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTicketAttributes ``` Gets all ticket attributes. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket Boards 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[​](#synopsis "Direct link to SYNOPSIS") Gets boards from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTicketBoards [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves boards from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTicketBoards ``` Gets all boards. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket Forms 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[​](#synopsis "Direct link to SYNOPSIS") Gets ticket forms from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTicketForms [[-ticketFormId] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves ticket forms from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTicketForms ``` Gets all ticket forms. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneTicketForms -ticketFormId 1 ``` Gets ticket form with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketFormId[​](#-ticketformid "Direct link to -ticketFormId") Ticket form id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket Log Entries 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[​](#synopsis "Direct link to SYNOPSIS") Gets ticket log entries from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTicketLogEntries [-ticketId] [[-createTime] ] [[-pageSize] ] [[-type] ] [-parseDateTime] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves ticket log entries from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTicketLogEntries -ticketId 1 ``` Gets all ticket log entries for ticket with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneTicketLogEntries -ticketId 1 -type DESCRIPTION ``` Gets all ticket log entries for ticket with id 1 with type DESCRIPTION. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketId[​](#-ticketid "Direct link to -ticketId") Filter by ticket id. ```yaml Type: String Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -createTime[​](#-createtime "Direct link to -createTime") Filter by create time. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") The number of results to return. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") Filter log entries by type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket Statuses 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[​](#synopsis "Direct link to SYNOPSIS") Gets ticket statuses from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTicketStatuses [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a list of ticket statuses from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTicketStatuses ``` Gets the ticket statuses. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticketing Contacts 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[​](#synopsis "Direct link to SYNOPSIS") Gets ticketing contacts from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTicketingContacts [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves ticketing contacts from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTicketingContacts ``` Gets all ticketing contacts. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticketing 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[​](#synopsis "Direct link to SYNOPSIS") Gets lists of users from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneTicketingUsers [[-anchorNaturalId] ] [[-clientId] ] [[-pageSize] ] [[-searchCriteria] ] [[-userType] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves lists of ticketing users from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTicketingUsers ``` Gets all ticketing users. Contacts, end users and technicians. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneTicketingUsers -anchorNaturalId 10 ``` Starts the list of users from the user with the natural id 10. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneTicketingUsers -clientId 1 ``` Gets all users for the organisation with id 1. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneTicketingUsers -pageSize 10 ``` Limits the number of users returned to 10. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Get-NinjaOneTicketingUsers -searchCriteria 'mikey@homotechsual.dev' ``` Searches for the user with the email address ''. ##### EXAMPLE 6[​](#example-6 "Direct link to EXAMPLE 6") ```powershell Get-NinjaOneTicketingUsers -userType TECHNICIAN ``` Gets all technician users. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -anchorNaturalId[​](#-anchornaturalid "Direct link to -anchorNaturalId") Start results from this user natural id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -clientId[​](#-clientid "Direct link to -clientId") Get users for this organisation id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: False Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") The number of results to return. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -searchCriteria[​](#-searchcriteria "Direct link to -searchCriteria") The search criteria to apply to the request. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -userType[​](#-usertype "Direct link to -userType") Filter by user type. This can be one of "TECHNICIAN", "END\_USER" or "CONTACT". ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tickets 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[​](#synopsis "Direct link to SYNOPSIS") Gets tickets from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Single[​](#single "Direct link to Single") ```powershell Get-NinjaOneTickets [-ticketId] [-parseDateTime] [-ProgressAction ] [] ``` ##### Board[​](#board "Direct link to Board") ```powershell Get-NinjaOneTickets [-boardId] [[-sort] ] [[-filters] ] [[-lastCursorId] ] [[-pageSize] ] [[-searchCriteria] ] [[-includeColumns] ] [-includeMetadata] [-parseDateTime] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves tickets from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneTickets -ticketId 1 ``` Gets the ticket with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneTickets -boardId 1 ``` Gets all tickets for the board with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneTickets -boardId 1 -filters @{status = 'open'} ``` Gets all open tickets for the board with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketId[​](#-ticketid "Direct link to -ticketId") The ticket id to get. ```yaml Type: Int32 Parameter Sets: Single Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -boardId[​](#-boardid "Direct link to -boardId") The board id to get tickets for. ```yaml Type: String Parameter Sets: Board Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` ##### -sort[​](#-sort "Direct link to -sort") The sort rules to apply to the request. Create these using `[NinjaOneTicketBoardSort]::new()`. ```yaml Type: NinjaOneTicketBoardSort[] Parameter Sets: Board Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -filters[​](#-filters "Direct link to -filters") Any filters to apply to the request. Create these using `[NinjaOneTicketBoardFilter]::new()`. ```yaml Type: NinjaOneTicketBoardFilter[] Parameter Sets: Board Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -lastCursorId[​](#-lastcursorid "Direct link to -lastCursorId") The last cursor id to use for the request. ```yaml Type: String Parameter Sets: Board Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") The number of results to return. ```yaml Type: Int32 Parameter Sets: Board Aliases: Required: False Position: 5 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -searchCriteria[​](#-searchcriteria "Direct link to -searchCriteria") The search criteria to apply to the request. ```yaml Type: String Parameter Sets: Board Aliases: Required: False Position: 6 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeColumns[​](#-includecolumns "Direct link to -includeColumns") Inclue the given columns in the response. ```yaml Type: String[] Parameter Sets: Board Aliases: Required: False Position: 7 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -includeMetadata[​](#-includemetadata "Direct link to -includeMetadata") Include the metadata in the response. ```yaml Type: SwitchParameter Parameter Sets: Board Aliases: Required: False Position: 8 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### User Roles 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[​](#synopsis "Direct link to SYNOPSIS") Gets user roles. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneUserRoles [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves all user roles via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneUserRoles ``` Gets all user roles. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### 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[​](#synopsis "Direct link to SYNOPSIS") Gets users from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Default (Default)[​](#default-default "Direct link to Default (Default)") ```powershell Get-NinjaOneUsers [[-userType] ] [-includeRoles] [-ProgressAction ] [] ``` ##### Organisation[​](#organisation "Direct link to Organisation") ```powershell Get-NinjaOneUsers [-organisationId] [[-userType] ] [-includeRoles] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves users from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneUsers ``` Gets all users. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneUsers -includeRoles ``` Gets all users including information about their roles. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneUsers -userType TECHNICIAN ``` Gets all technicians (users with the TECHNICIAN user type). ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneUsers -organisationId 1 ``` Gets all users for the organisation with id 1 (only works for users with the END\_USER user type). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") Get users for this organisation id. ```yaml Type: Int32 Parameter Sets: Organisation Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -userType[​](#-usertype "Direct link to -userType") Filter by user type. This can be one of "TECHNICIAN" or "END\_USER". ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -includeRoles[​](#-includeroles "Direct link to -includeRoles") Include roles in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: False Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Volumes Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the volumes from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneVolumes [[-deviceFilter] ] [[-timeStamp] ] [[-timeStampUnixEpoch] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the volumes from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneVolumes ``` Gets all volumes. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneVolumes -deviceFilter 'org = 1' ``` Gets the volumes for the organisation with id 1. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneVolumes -timeStamp 1619712000 ``` Gets the volumes with a monitoring timestamp at or after 1619712000. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStamp[​](#-timestamp "Direct link to -timeStamp") Monitoring timestamp filter. PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: ts Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -timeStampUnixEpoch[​](#-timestampunixepoch "Direct link to -timeStampUnixEpoch") Monitoring timestamp filter. Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Vulnerability Scan Group 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[​](#synopsis "Direct link to SYNOPSIS") Gets a vulnerability scan group by Id. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneVulnerabilityScanGroup [-scanGroupId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves a specific vulnerability scan group via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneVulnerabilityScanGroup -scanGroupId 5 ``` Gets scan group 5. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -scanGroupId[​](#-scangroupid "Direct link to -scanGroupId") The vulnerability scan group Id to retrieve. ```yaml Type: Int32 Parameter Sets: (All) Aliases: scan_group_id, scan-group-id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Vulnerability Scan Groups 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[​](#synopsis "Direct link to SYNOPSIS") Gets vulnerability scan groups. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneVulnerabilityScanGroups [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves all vulnerability scan groups via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneVulnerabilityScanGroups ``` Gets all scan groups. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Windows Event Policy Condition 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[​](#synopsis "Direct link to SYNOPSIS") Gets detailed information on a single windows event condition for a given policy from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneWindowsEventPolicyCondition [-policyId] [-conditionId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the detailed information for a given windows event condition for a given policy id from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneWindowsEventPolicyCondition -policyId 1 -conditionId 1 ``` Gets the windows event policy condition with id 1 for the policy with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -policyId[​](#-policyid "Direct link to -policyId") The policy id to get the windows event conditions for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -conditionId[​](#-conditionid "Direct link to -conditionId") The condition id to get the windows event condition for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Windows Event Policy Conditions 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[​](#synopsis "Direct link to SYNOPSIS") Gets windows event conditions for a given policy from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneWindowsEventPolicyConditions [-policyId] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the windows event conditions for a given policy id from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneWindowsEventPolicyConditions -policyId 1 ``` Gets the windows event policy conditions for the policy with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -policyId[​](#-policyid "Direct link to -policyId") The policy id to get the windows event conditions for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Windows Services Query 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[​](#synopsis "Direct link to SYNOPSIS") Gets the windows services from the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Get-NinjaOneWindowsServices [[-deviceFilter] ] [[-name] ] [[-state] ] [[-cursor] ] [[-pageSize] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Retrieves the windows services from the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Get-NinjaOneWindowsServices ``` Gets the windows services. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Get-NinjaOneWindowsServices -deviceFilter 'organization in (1,2,3)' ``` Gets the windows services for devices in organisations 1, 2 and 3. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Get-NinjaOneWindowsServices -name 'NinjaOne' ``` Gets the windows services with the name 'NinjaOne'. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Get-NinjaOneWindowsServices -state 'RUNNING' ``` Gets the windows services with the state 'RUNNING'. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceFilter[​](#-devicefilter "Direct link to -deviceFilter") Filter devices. ```yaml Type: String Parameter Sets: (All) Aliases: df Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -name[​](#-name "Direct link to -name") Filter by service name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -state[​](#-state "Direct link to -state") Filter by service state. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -cursor[​](#-cursor "Direct link to -cursor") Cursor name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -pageSize[​](#-pagesize "Direct link to -pageSize") Number of results per page. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### API Request 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[​](#synopsis "Direct link to SYNOPSIS") Sends a request to the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneRequest [-method] [-uri] [[-body] ] [-raw] [-parseDateTime] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Wrapper function to send web requests to the NinjaOne API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneRequest -method 'GET' -uri 'https://eu.ninjarmm.com/v2/activities' ``` Make a GET request to the activities resource. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Invoke-NinjaOneRequest -method 'GET' -uri 'https://eu.ninjarmm.com/v2/activities' -parseDateTime ``` Parse ISO 8601 and Unix epoch values in the response to \[DateTime]. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Invoke-NinjaOneRequest -method 'GET' -uri 'https://eu.ninjarmm.com/v2/activities' -parseDateTime ``` Make a GET request and convert ISO 8601 or Unix epoch values to \[DateTime]. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -method[​](#-method "Direct link to -method") HTTP method to use. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -uri[​](#-uri "Direct link to -uri") The URI to send the request to. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -body[​](#-body "Direct link to -body") The body of the request. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -raw[​](#-raw "Direct link to -raw") Return the raw response - don't convert from JSON. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Convert ISO 8601 or Unix epoch values in JSON responses to \[DateTime]. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Outputs an object containing the response from the web request.[​](#outputs-an-object-containing-the-response-from-the-web-request "Direct link to Outputs an object containing the response from the web request.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Archive Document Templates 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[​](#synopsis "Direct link to SYNOPSIS") Archive document templates. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneDocumentTemplatesArchive [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archive document templates using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneDocumentTemplatesArchive -Identity 123 ``` Invokes the specified operation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") The document template IDs to archive. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Object[​](#systemobject "Direct link to System.Object") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Archive Organisation Document 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[​](#synopsis "Direct link to SYNOPSIS") Archive an organisation document. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneOrganisationDocumentArchive [-clientDocumentId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archive organisation document using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneOrganisationDocumentArchive -Identity 123 ``` Invokes the specified operation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -clientDocumentId[​](#-clientdocumentid "Direct link to -clientDocumentId") The client document Id to archive. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Object[​](#systemobject "Direct link to System.Object") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Archive Organisation Documents 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[​](#synopsis "Direct link to SYNOPSIS") Archive organisation documents. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneOrganisationDocumentsArchive [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archive organisation documents using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneOrganisationDocumentsArchive -Identity 123 ``` Invokes the specified operation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") The request object containing organization document IDs to archive. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Object[​](#systemobject "Direct link to System.Object") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Agreement 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[​](#synopsis "Direct link to SYNOPSIS") Deactivates a billing agreement. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneBillingAgreementDeactivate [-id] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deactivates a billing agreement using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneBillingAgreementDeactivate -id 1 ``` Deactivates billing agreement 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing agreement ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: agreementId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Invoices Approve 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[​](#synopsis "Direct link to SYNOPSIS") Approves billing invoices. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneBillingInvoicesApprove [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Approves one or more billing invoices using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneBillingInvoicesApprove -request @{ invoiceIds = @(1,2) } ``` Approves the specified billing invoices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") Approval request payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Invoices Archive 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[​](#synopsis "Direct link to SYNOPSIS") Archives billing invoices. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneBillingInvoicesArchive [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archives one or more billing invoices using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneBillingInvoicesArchive -request @{ invoiceIds = @(1,2) } ``` Archives the specified billing invoices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") Archive request payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Invoices Export 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[​](#synopsis "Direct link to SYNOPSIS") Exports billing invoices. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneBillingInvoicesExport [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Exports one or more billing invoices using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneBillingInvoicesExport -request @{ invoiceIds = @(1,2) } ``` Exports the specified billing invoices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") Export request payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Invoices Unarchive 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[​](#synopsis "Direct link to SYNOPSIS") Unarchives billing invoices. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneBillingInvoicesUnarchive [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Unarchives one or more billing invoices using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneBillingInvoicesUnarchive -request @{ invoiceIds = @(1,2) } ``` Unarchives the specified billing invoices. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") Unarchive request payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Product Activate 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[​](#synopsis "Direct link to SYNOPSIS") Activates a billing product. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneBillingProductActivate [-id] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Activates a billing product using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneBillingProductActivate -id 1 ``` Activates billing product 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing product ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: productId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Product Deactivate 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[​](#synopsis "Direct link to SYNOPSIS") Deactivates a billing product. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneBillingProductDeactivate [-id] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deactivates a billing product using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneBillingProductDeactivate -id 1 ``` Deactivates billing product 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing product ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: productId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Ticket Products 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[​](#synopsis "Direct link to SYNOPSIS") Deletes billing ticket products. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneBillingTicketProductsDelete [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes one or more billing ticket products using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneBillingTicketProductsDelete -request @{ ticketProductIds = @(1,2) } ``` Deletes the specified billing ticket products. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") Delete request payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Checklist Archive 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[​](#synopsis "Direct link to SYNOPSIS") Archives checklists. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneChecklistArchive [-checklistsToArchive] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archives one or more checklists via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneChecklistArchive -checklistsToArchive @{ checklistTemplateIds = @(1,2) } ``` Archives the specified checklists. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ checklistTemplateIds = @( 0 ) } PS> Invoke-NinjaOneChecklistArchive -checklistsToArchive $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -checklistsToArchive[​](#-checkliststoarchive "Direct link to -checklistsToArchive") The checklist IDs to archive. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or job result per API.[​](#status-code-or-job-result-per-api "Direct link to Status code or job result per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Checklist Restore 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[​](#synopsis "Direct link to SYNOPSIS") Restores archived checklists. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneChecklistRestore [-checklistsToRestore] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restores archived checklists via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneChecklistRestore -checklistsToRestore @{ checklistTemplateIds = @(1,2) } ``` Restores the specified checklists. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ checklistTemplateIds = @( 0 ) } PS> Invoke-NinjaOneChecklistRestore -checklistsToRestore $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -checklistsToRestore[​](#-checkliststorestore "Direct link to -checklistsToRestore") The checklist IDs to restore. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or job result per API.[​](#status-code-or-job-result-per-api "Direct link to Status code or job result per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Fields Bulk 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[​](#synopsis "Direct link to SYNOPSIS") Performs bulk operations on custom fields. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneCustomFieldsBulk [-operation] [-customFields ] [-fieldNames ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Performs bulk create, update, or delete operations on custom fields via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneCustomFieldsBulk -operation 'create' -customFields @( @{ name = 'Field1' }, @{ name = 'Field2' } ) ``` Creates multiple custom fields in a single request. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -operation[​](#-operation "Direct link to -operation") Operation type: 'create', 'update', or 'delete' ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -customFields[​](#-customfields "Direct link to -customFields") Custom fields payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: False Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -fieldNames[​](#-fieldnames "Direct link to -fieldNames") Field names for delete operation ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the result of the bulk operation.[​](#a-powershell-object-containing-the-result-of-the-bulk-operation "Direct link to A PowerShell object containing the result of the bulk operation.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Decommission 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[​](#synopsis "Direct link to SYNOPSIS") Decommissions a device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneDeviceDecommission [-deviceId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Decommissions a device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneDeviceDecommission -deviceId 1 ``` Decommissions the device with ID 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The ID of the device to decommission ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Document Template Archive 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[​](#synopsis "Direct link to SYNOPSIS") Archives a document template. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneDocumentTemplateArchive [-documentTemplateId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archives a document template via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneDocumentTemplateArchive -documentTemplateId 10 ``` Archives template 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -documentTemplateId[​](#-documenttemplateid "Direct link to -documentTemplateId") The document template Id to archive. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or job result per API.[​](#status-code-or-job-result-per-api "Direct link to Status code or job result per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Document Template Restore 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[​](#synopsis "Direct link to SYNOPSIS") Restores an archived document template. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneDocumentTemplateRestore [-documentTemplateId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restores an archived document template via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneDocumentTemplateRestore -documentTemplateId 10 ``` Restores template 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -documentTemplateId[​](#-documenttemplateid "Direct link to -documentTemplateId") The document template Id to restore. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or job result per API.[​](#status-code-or-job-result-per-api "Direct link to Status code or job result per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Article 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[​](#synopsis "Direct link to SYNOPSIS") Archives knowledge base articles. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneKnowledgeBaseArticlesArchive [-articleIds] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archives knowledge base articles via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneKnowledgeBaseArticlesArchive -articleIds @(1,2,3) ``` Archives the specified articles. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -articleIds[​](#-articleids "Direct link to -articleIds") The knowledge base article IDs to archive. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Folder 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[​](#synopsis "Direct link to SYNOPSIS") Archives knowledge base folders. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneKnowledgeBaseFoldersArchive [-folderIds] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archives knowledge base folders via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneKnowledgeBaseFoldersArchive -folderIds @(10,11) ``` Archives the specified folders. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -folderIds[​](#-folderids "Direct link to -folderIds") The knowledge base folder IDs to archive. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation 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[​](#synopsis "Direct link to SYNOPSIS") Archives organisations. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneOrganisationArchive [-archiveRequest] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Archives one or more organisations via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneOrganisationArchive -archiveRequest @{ organizationIds = @(1,2,3) } ``` Archives organisations 1, 2 and 3. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ clientChecklistIds = @( 0 ) } PS> Invoke-NinjaOneOrganisationArchive -archiveRequest $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -archiveRequest[​](#-archiverequest "Direct link to -archiveRequest") Archive request payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or archive result per API.[​](#status-code-or-archive-result-per-api "Direct link to Status code or archive result per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklist Promote 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[​](#synopsis "Direct link to SYNOPSIS") Promotes organisation checklists. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneOrganisationChecklistsPromote [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Promotes organisation checklists via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneOrganisationChecklistsPromote -request @{ checklistIds=@(1,2) } ``` Promotes the specified organisation checklists. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") The request object containing checklist IDs to promote. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklist Promote Named 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[​](#synopsis "Direct link to SYNOPSIS") Promotes organisation checklists with a new name. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneOrganisationChecklistsPromoteWithName [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Promotes organisation checklists assigning a new name via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneOrganisationChecklistsPromoteWithName -request @{ checklistIds=@(1); name='New Name' } ``` Promotes checklists with a new name. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ id = 0 name = "string" } ) PS> Invoke-NinjaOneOrganisationChecklistsPromoteWithName -request $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") The request object containing checklist promotion details with names. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Restore Document Templates 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[​](#synopsis "Direct link to SYNOPSIS") Restore document templates. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneDocumentTemplatesRestore [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restore document templates using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneDocumentTemplatesRestore -Identity 123 ``` Invokes the specified operation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") The document template IDs to restore. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Object[​](#systemobject "Direct link to System.Object") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Restore Organisation 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[​](#synopsis "Direct link to SYNOPSIS") Restore an organisation. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneOrganisationRestore [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restore organisation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneOrganisationRestore -Identity 123 ``` Invokes the specified operation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") The request object containing organization IDs to restore. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Object[​](#systemobject "Direct link to System.Object") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Restore Organisation Document 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[​](#synopsis "Direct link to SYNOPSIS") Restore an organisation document. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneOrganisationDocumentRestore [-clientDocumentId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restore organisation document using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneOrganisationDocumentRestore -Identity 123 ``` Invokes the specified operation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -clientDocumentId[​](#-clientdocumentid "Direct link to -clientDocumentId") The client document Id to restore. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Object[​](#systemobject "Direct link to System.Object") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Restore Organisation Documents 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[​](#synopsis "Direct link to SYNOPSIS") Restore organisation documents. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneOrganisationDocumentsRestore [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restore organisation documents using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneOrganisationDocumentsRestore -Identity 123 ``` Invokes the specified operation. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") The request object containing organization document IDs to restore. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Object[​](#systemobject "Direct link to System.Object") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Script or Action 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[​](#synopsis "Direct link to SYNOPSIS") Runs a script or built-in action against the given device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### ACTION[​](#action "Direct link to ACTION") ```powershell Invoke-NinjaOneDeviceScript [-deviceId] [-type] [-actionUId] [[-parameters] ] [-runAs] [-show] [-ProgressAction ] [] ``` ##### SCRIPT[​](#script "Direct link to SCRIPT") ```powershell Invoke-NinjaOneDeviceScript [-deviceId] [-type] [-scriptId] [[-parameters] ] [-runAs] [-show] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Runs a script or built-in action against a single device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ runAs = "string" type = "ACTION" id = 0 uid = "00000000-0000-0000-0000-000000000000" parameters = "string" } PS> Invoke-NinjaOneDeviceScript -deviceId 1 -deviceId $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Invoke-NinjaOneDeviceScript -deviceId 1 -type 'SCRIPT' -scriptId 1 -runAs 'system' ``` Runs the script with id 1 against the device with id 1 with system-level permissions. ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell Invoke-NinjaOneDeviceScript -deviceId 1 -type 'ACTION' -actionUId '00000000-0000-0000-0000-000000000000' -runAs 'system' ``` Runs the built-in action with uid 00000000-0000-0000-0000-000000000000 against the device with id 1 with system-level permissions. ##### EXAMPLE 4[​](#example-4 "Direct link to EXAMPLE 4") ```powershell Invoke-NinjaOneDeviceScript -deviceId 1 -type 'SCRIPT' -scriptId 1 -runAs 'loggedonuser' ``` Runs the script with id 1 as the currently logged-on user on device 1. ##### EXAMPLE 5[​](#example-5 "Direct link to EXAMPLE 5") ```powershell Invoke-NinjaOneDeviceScript -deviceId 1 -type 'SCRIPT' -scriptId 1 -runAs '26' ``` Runs the script with id 1 using the preferred credential with ID 26. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to run a script on. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") The type - script or action. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -scriptId[​](#-scriptid "Direct link to -scriptId") The id of the script to run. Only used if the type is script. ```yaml Type: Int32 Parameter Sets: SCRIPT Aliases: Required: True Position: 3 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -actionUId[​](#-actionuid "Direct link to -actionUId") The unique uid of the action to run. Only used if the type is action. ```yaml Type: Guid Parameter Sets: ACTION Aliases: Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -parameters[​](#-parameters "Direct link to -parameters") The parameters to pass to the script or action. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -runAs[​](#-runas "Direct link to -runAs") The credential/role identifier to use when running the script or action. This parameter is case-sensitive and controls the permission level. Valid values are: * 'system': Run with system-level permissions (maps to general.system) * 'SR\_MAC\_SCRIPT': Run with system-level permissions on macOS (maps to general.system) * 'SR\_LINUX\_SCRIPT': Run with system-level permissions on Linux (maps to general.system) * 'loggedonuser': Run as the currently logged-on user (maps to editor.credentials.currentLoggedOnUser) * 'SR\_LOCAL\_ADMINISTRATOR': Run as local administrator (maps to editor.credentials.preferredWindowsLocalAdmin) * 'SR\_DOMAIN\_ADMINISTRATOR': Run as domain administrator (maps to editor.credentials.preferredWindowsDomainAdmin) * A credential ID as a string (e.g., '26'): Run using a specific user credential from your account. You can find credential IDs in the NinjaOne UI under Account > Credentials (maps to editor.credentials.preferredCredential) ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 5 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the status code returned from the API. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Void[​](#systemvoid "Direct link to System.Void") ##### This commandlet returns no output by default. A success message will be written to the information stream if the API returns a 204 success code. Use `-InformationAction Continue` to see this message. Use the `-show` switch to return the HTTP status code.[​](#this-commandlet-returns-no-output-by-default-a-success-message-will-be-written-to-the-information-stream-if-the-api-returns-a-204-success-code-use--informationaction-continue-to-see-this-message-use-the--show-switch-to-return-the-http-status-code "Direct link to this-commandlet-returns-no-output-by-default-a-success-message-will-be-written-to-the-information-stream-if-the-api-returns-a-204-success-code-use--informationaction-continue-to-see-this-message-use-the--show-switch-to-return-the-http-status-code") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software License 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[​](#synopsis "Direct link to SYNOPSIS") Creates or updates a software license. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneSoftwareLicenseUpsert [-license] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates or updates a software license via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneSoftwareLicenseUpsert -license @{ name = 'Microsoft Office'; description = 'Office 365' } ``` Creates or updates a software license. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ currentLicensees = @( "string" ) note = "string" quantity = 0 type = "PER_DEVICE" licenseesToAssign = @( "string" ) vendorName = "string" date = 0 description = "string" scope = @{ locationNames = @( "string" ) global = $false organizationNames = @( "string" ) } currentUsage = 0 licenseesToRemove = @( "string" ) name = "string" publisherName = "string" } PS> Invoke-NinjaOneSoftwareLicenseUpsert -license $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -license[​](#-license "Direct link to -license") Software license configuration per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created or updated software license.[​](#a-powershell-object-containing-the-created-or-updated-software-license "Direct link to A PowerShell object containing the created or updated software license.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Temporary Attachments 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[​](#synopsis "Direct link to SYNOPSIS") Uploads temporary attachments in NinjaOne. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneTempAttachmentUpload [[-entityType] ] [-upload] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Uploads temporary attachments using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneTempAttachmentUpload -entityType TICKET -upload @{ files = @() } ``` Uploads temporary attachments for the given entity type. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $multipart = [System.Net.Http.MultipartFormDataContent]::new() PS> $filePath = "C:\Temp\example.txt" PS> $fileStream = [System.IO.FileStream]::new($filePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read) PS> $fileContent = [System.Net.Http.StreamContent]::new($fileStream) PS> $fileContent.Headers.ContentType = [System.Net.Http.Headers.MediaTypeHeaderValue]::Parse("application/octet-stream") PS> $multipart.Add($fileContent, "files", [System.IO.Path]::GetFileName($filePath)) PS> $body = $multipart PS> Invoke-NinjaOneTempAttachmentUpload -upload $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") Entity type for the attachments. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -upload[​](#-upload "Direct link to -upload") Upload payload (multipart/form-data content). ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Unmanaged Device 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[​](#synopsis "Direct link to SYNOPSIS") Decommissions an unmanaged device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneUnmanagedDeviceDecommission [-nodeId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Decommissions an unmanaged device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneUnmanagedDeviceDecommission -nodeId 1 ``` Decommissions the unmanaged device with ID 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -nodeId[​](#-nodeid "Direct link to -nodeId") The ID of the unmanaged device to decommission ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Unmanaged Devices 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[​](#synopsis "Direct link to SYNOPSIS") Decommissions multiple unmanaged devices. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneUnmanagedDeviceDecommissionList [-decommissionRequest] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Decommissions multiple unmanaged devices via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneUnmanagedDeviceDecommissionList -decommissionRequest @{ nodeIds = @(1, 2, 3) } ``` Decommissions multiple unmanaged devices in a single request. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ nodeIds = @( 0 ) } PS> Invoke-NinjaOneUnmanagedDeviceDecommissionList -decommissionRequest $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -decommissionRequest[​](#-decommissionrequest "Direct link to -decommissionRequest") Decommission request payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Vulnerability Management 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[​](#synopsis "Direct link to SYNOPSIS") Uploads data for a vulnerability scan group. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneVulnerabilityScanGroupUpload [-scanGroupId] [-upload] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Uploads data for a specified vulnerability scan group via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Invoke-NinjaOneVulnerabilityScanGroupUpload -scanGroupId 5 -upload @{ ... } ``` Uploads content to scan group 5. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $multipart = [System.Net.Http.MultipartFormDataContent]::new() PS> $body = $multipart PS> Invoke-NinjaOneVulnerabilityScanGroupUpload -upload $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -scanGroupId[​](#-scangroupid "Direct link to -scanGroupId") The vulnerability scan group Id to upload data for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: scan_group_id, scan-group-id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -upload[​](#-upload "Direct link to -upload") The upload data object. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Windows Service Action 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[​](#synopsis "Direct link to SYNOPSIS") Runs an action against the given Windows Service for the given device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Invoke-NinjaOneWindowsServiceAction [-deviceId] [-serviceId] [-action] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Runs an action against a windows service on a single device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ action = "START" } PS> Invoke-NinjaOneWindowsServiceAction -deviceId 1 -serviceId 1 -deviceId $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device(s) to change service configuration for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -serviceId[​](#-serviceid "Direct link to -serviceId") The service to alter configuration for. ```yaml Type: String Parameter Sets: (All) Aliases: service, serviceName Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -action[​](#-action "Direct link to -action") The action to invoke. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### System.Void[​](#systemvoid "Direct link to System.Void") ##### This commandlet returns no output. A success message will be written to the information stream if the API returns a 204 success code. Use `-InformationAction continue` to see this message.[​](#this-commandlet-returns-no-output-a-success-message-will-be-written-to-the-information-stream-if-the-api-returns-a-204-success-code-use--informationaction-continue-to-see-this-message "Direct link to this-commandlet-returns-no-output-a-success-message-will-be-written-to-the-information-stream-if-the-api-returns-a-204-success-code-use--informationaction-continue-to-see-this-message") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Tags 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[​](#synopsis "Direct link to SYNOPSIS") Merges asset tags. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Merge-NinjaOneTags [-mergeRequest] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Merges tags via the NinjaOne v2 API using the tag merge endpoint. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Merge-NinjaOneTags -mergeRequest @{ sourceTagIds = @(5,6); targetTagId = 1 } ``` Merges tags 5 and 6 into tag 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ tagIds = @( 0 ) mergeIntoTagId = 0 description = "string" name = "string" mergeMethod = "MERGE_INTO_EXISTING_TAG" } PS> Merge-NinjaOneTags -mergeRequest $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -mergeRequest[​](#-mergerequest "Direct link to -mergeRequest") Merge request payload as per API schema (source/target tag ids) ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or merged tag per API.[​](#status-code-or-merged-tag-per-api "Direct link to Status code or merged tag per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Item 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[​](#synopsis "Direct link to SYNOPSIS") Moves knowledge base folders and documents to another folder. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Move-NinjaOneKnowledgeBaseItems [-moveRequest] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Moves knowledge base items using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Move-NinjaOneKnowledgeBaseItems -moveRequest @{ sourceFolderIds=@(1); sourceDocumentIds=@(2,3); targetFolderId=10 } ``` Moves the specified KB items to folder 10. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ destinationFolderId = 0 documentIds = @( 0 ) folderIds = @( 0 ) destinationOrganizationId = 0 } PS> Move-NinjaOneKnowledgeBaseItems -moveRequest $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -moveRequest[​](#-moverequest "Direct link to -moveRequest") Move request payload per API schema (MovePublicApiRequest) ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Relationship 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[​](#synopsis "Direct link to SYNOPSIS") Creates an asset relationship. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneAssetRelationship [-assetRelationship] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new asset relationship using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneAssetRelationship -assetRelationship @{ entityId = 1; relEntityId = 2 } ``` Creates an asset relationship. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -assetRelationship[​](#-assetrelationship "Direct link to -assetRelationship") Asset relationship payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created relationship.[​](#a-powershell-object-containing-the-created-relationship "Direct link to A PowerShell object containing the created relationship.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Relationship Type 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[​](#synopsis "Direct link to SYNOPSIS") Creates an asset relationship type. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneAssetRelationshipType [-relationshipType] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new asset relationship type using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneAssetRelationshipType -relationshipType @{ name = 'Depends On' } ``` Creates an asset relationship type. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -relationshipType[​](#-relationshiptype "Direct link to -relationshipType") Asset relationship type payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created relationship type.[​](#a-powershell-object-containing-the-created-relationship-type "Direct link to A PowerShell object containing the created relationship type.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Tag 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new tag. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneTag [-tag] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new tag via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ description = "string" name = "string" } PS> New-NinjaOneTag -tag $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tag[​](#-tag "Direct link to -tag") Tag payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created tag.[​](#a-powershell-object-containing-the-created-tag "Direct link to A PowerShell object containing the created tag.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Attachment Relation 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new attachment relation using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneAttachmentRelation [-entityType] [-entityId] [[-attachmentRelation] ] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new attachment relation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneAttachmentRelation -entityType ORGANIZATION -entityId 1 -attachmentRelation $body ``` Creates an attachment relation for the specified entity. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $multipart = [System.Net.Http.MultipartFormDataContent]::new() PS> $filePath = "C:\Temp\example.txt" PS> $fileStream = [System.IO.FileStream]::new($filePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read) PS> $fileContent = [System.Net.Http.StreamContent]::new($fileStream) PS> $fileContent.Headers.ContentType = [System.Net.Http.Headers.MediaTypeHeaderValue]::Parse("application/octet-stream") PS> $multipart.Add($fileContent, "file", [System.IO.Path]::GetFileName($filePath)) PS> $body = $multipart PS> New-NinjaOneAttachmentRelation -entityType ORGANIZATION -entityId 1 -attachmentRelation $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type to create the attachment relation for. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The entity id to create the attachment relation for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -attachmentRelation[​](#-attachmentrelation "Direct link to -attachmentRelation") The attachment relation data. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the attachment relation that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Account 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[​](#synopsis "Direct link to SYNOPSIS") Creates a billing account. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneBillingAccount [-billingAccount] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new billing account using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneBillingAccount -billingAccount @{ name = 'Managed Services' } ``` Creates a billing account. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -billingAccount[​](#-billingaccount "Direct link to -billingAccount") Billing account payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created billing account.[​](#a-powershell-object-containing-the-created-billing-account "Direct link to A PowerShell object containing the created billing account.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Agreement 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[​](#synopsis "Direct link to SYNOPSIS") Creates a billing agreement. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneBillingAgreement [-billingAgreement] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new billing agreement using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneBillingAgreement -billingAgreement @{ name = 'Premium Support' } ``` Creates a billing agreement. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -billingAgreement[​](#-billingagreement "Direct link to -billingAgreement") Billing agreement payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created billing agreement.[​](#a-powershell-object-containing-the-created-billing-agreement "Direct link to A PowerShell object containing the created billing agreement.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Invoice 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[​](#synopsis "Direct link to SYNOPSIS") Creates a billing invoice. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneBillingInvoice [-billingInvoice] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new billing invoice using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneBillingInvoice -billingInvoice @{ invoiceNumber = 'INV-001' } ``` Creates a billing invoice. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -billingInvoice[​](#-billinginvoice "Direct link to -billingInvoice") Billing invoice payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created billing invoice.[​](#a-powershell-object-containing-the-created-billing-invoice "Direct link to A PowerShell object containing the created billing invoice.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Product 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[​](#synopsis "Direct link to SYNOPSIS") Creates a billing product. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneBillingProduct [-billingProduct] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new billing product using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneBillingProduct -billingProduct @{ name = 'Managed Endpoint' } ``` Creates a billing product. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -billingProduct[​](#-billingproduct "Direct link to -billingProduct") Billing product payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created billing product.[​](#a-powershell-object-containing-the-created-billing-product "Direct link to A PowerShell object containing the created billing product.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Ticket Product Ad Hoc 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[​](#synopsis "Direct link to SYNOPSIS") Creates an ad hoc billing ticket product. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneBillingTicketProductAdHoc [-ticketProduct] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates an ad hoc billing ticket product using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneBillingTicketProductAdHoc -ticketProduct @{ ticketId = 1 } ``` Creates an ad hoc billing ticket product. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketProduct[​](#-ticketproduct "Direct link to -ticketProduct") Ticket product payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created ticket product.[​](#a-powershell-object-containing-the-created-ticket-product "Direct link to A PowerShell object containing the created ticket product.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Ticket Product Catalog 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[​](#synopsis "Direct link to SYNOPSIS") Creates a catalog billing ticket product. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneBillingTicketProductCatalog [-ticketProduct] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a catalog billing ticket product using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneBillingTicketProductCatalog -ticketProduct @{ ticketId = 1 } ``` Creates a catalog billing ticket product. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketProduct[​](#-ticketproduct "Direct link to -ticketProduct") Ticket product payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created ticket product.[​](#a-powershell-object-containing-the-created-ticket-product "Direct link to A PowerShell object containing the created ticket product.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Checklist Templates 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[​](#synopsis "Direct link to SYNOPSIS") Creates a checklist template. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneChecklistTemplate [[-template] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new checklist template via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneChecklistTemplate -template @{ name='Onboarding'; tasks=@( @{ name = 'Step1' } ) } ``` Creates a checklist template. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ description = @{ text = "string" html = "string" } required = $false tasks = @( @{ position = 0 description = @{ } name = "string" } ) name = "string" } ) PS> New-NinjaOneChecklistTemplate -template $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -template[​](#-template "Direct link to -template") The checklist template object to create. \[Parameter(Mandatory, Position=0, ValueFromPipelineByPropertyName)] ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created template.[​](#a-powershell-object-containing-the-created-template "Direct link to A PowerShell object containing the created template.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Contact 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new system contact. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneContact [-contact] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new system contact via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ phone = "string" firstName = "string" jobTitle = "string" organizationId = 0 lastName = "string" email = "string" } PS> New-NinjaOneContact -contact $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell New-NinjaOneContact -contact @{ firstName = 'Jane'; lastName = 'Doe'; email = 'jane@example.com' } ``` Creates a new system contact. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -contact[​](#-contact "Direct link to -contact") Contact object payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created contact.[​](#a-powershell-object-containing-the-created-contact "Direct link to A PowerShell object containing the created contact.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Field 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new custom field. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneCustomField [-customField] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new custom field (node attribute) via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneCustomField -customField @{ name = 'Department'; type = 'TEXT' } ``` Creates a new custom field named 'Department' with type 'TEXT'. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ addToDefaultTab = $false scriptPermission = "NONE" type = "DROPDOWN" groupId = 0 content = @{ values = @( @{ name = "string" } ) footerText = "string" required = $false tooltipText = "string" advancedSettings = @{ complexityRules = @{ greaterOrEqualThanSixCharacters = $false mustContainOneUppercaseLetter = $false mustContainOneInteger = $false mustContainOneLowercaseLetter = $false } monetary = @{ currency = "USD" } ipAddressType = "ALL" fileMaxSize = 0 fileExtensions = @( "string" ) templates = @( 0 ) org = @( 0 ) dateFilters = @{ selected = @( "string" ) type = "NONE" } identifier = @{ nextSequenceNumber = 0 automaticGenerationEnabled = $false prefix = "string" suffix = "string" scope = "NONE" type = "CUSTOM" assignTo = "NEW_ASSETS_ONLY" } numericRange = @{ min = 0 max = 0 } maxCharacters = 0 nodeClass = @( "WINDOWS_SERVER" ) expandLargeValueOnRender = $false } } description = "string" scope = "NODE_GLOBAL" definitionScope = @( "NODE" ) defaultValue = "string" technicianPermission = "NONE" fieldName = "string" apiPermission = "NONE" label = "string" } PS> New-NinjaOneCustomField -customField $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -customField[​](#-customfield "Direct link to -customField") Custom field configuration per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created custom field.[​](#a-powershell-object-containing-the-created-custom-field "Direct link to A PowerShell object containing the created custom field.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Field Object Helper 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[​](#synopsis "Direct link to SYNOPSIS") Create a new Custom Field object. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneCustomFieldObject [-name] [-value] [[-isHTML] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new Custom Field object containing required / specified properties / structure. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell $newObject = @{ Name = 'Example' } PS> New-NinjaOneCustomFieldObject @newObject ``` Creates a new resource with the specified properties. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -name[​](#-name "Direct link to -name") The custom field name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -value[​](#-value "Direct link to -value") The custom field value. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -isHTML[​](#-ishtml "Direct link to -isHTML") Is the custom field value HTML. ```yaml Type: Boolean Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### \[Object][​](#object "Direct link to [Object]") ##### A new Custom Field object.[​](#a-new-custom-field-object "Direct link to A new Custom Field object.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Fields Policy Condition 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new custom fields policy condition using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneCustomFieldsPolicyCondition [-policyId] [-customFieldsPolicyCondition] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new custom fields policy condition using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ priority = "NONE" notificationAction = "NONE" notifyOnReset = $false resetThreshold = 0 matchAny = @( @{ operator = "EQUALS" value = "string" fieldName = "string" } ) matchAll = @( @{ } ) severity = "NONE" displayName = "string" enabled = $false channels = @( 0 ) scripts = @( @{ runAs = "SYSTEM" scriptId = 0 scriptParam = "string" scriptVariables = @( @{ id = "string" value = "string" } ) } ) } PS> New-NinjaOneCustomFieldsPolicyCondition -customFieldsPolicyCondition $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -policyId[​](#-policyid "Direct link to -policyId") The policy id to create the custom fields policy condition for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, policy_id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -customFieldsPolicyCondition[​](#-customfieldspolicycondition "Direct link to -customFieldsPolicyCondition") An object containing the custom fields policy condition to create. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the custom fields policy condition that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Document Template 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new document template using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneDocumentTemplate [-name] [[-description] ] [-allowMultiple] [-mandatory] [-fields] [-availableToAllTechnicians] [[-allowedTechnicianRoles] ] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new document template using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ allowMultiple = $false fields = @( @{ fieldDefaultValue = "string" fieldDescription = "string" fieldName = "string" fieldType = "DROPDOWN" fieldContent = @{ values = @( @{ name = "string" } ) footerText = "string" required = $false tooltipText = "string" advancedSettings = @{ complexityRules = @{ greaterOrEqualThanSixCharacters = $false mustContainOneUppercaseLetter = $false mustContainOneInteger = $false mustContainOneLowercaseLetter = $false } monetary = @{ currency = "USD" } ipAddressType = "ALL" fileMaxSize = 0 fileExtensions = @( "string" ) templates = @( 0 ) org = @( 0 ) dateFilters = @{ selected = @( "string" ) type = "NONE" } identifier = @{ nextSequenceNumber = 0 automaticGenerationEnabled = $false prefix = "string" suffix = "string" scope = "NONE" type = "CUSTOM" assignTo = "NEW_ASSETS_ONLY" } numericRange = @{ min = 0 max = 0 } maxCharacters = 0 nodeClass = @( "WINDOWS_SERVER" ) expandLargeValueOnRender = $false } } fieldScriptPermission = "NONE" fieldLabel = "string" uiElementName = "string" uiElementType = "TITLE" uiElementValue = "string" fieldTechnicianPermission = "NONE" fieldApiPermission = "NONE" } ) description = "string" mandatory = $false allowedTechnicianRoles = @( 0 ) availableToAllTechnicians = $false name = "string" } PS> New-NinjaOneDocumentTemplate -name $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -name[​](#-name "Direct link to -name") The name of the document template. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -description[​](#-description "Direct link to -description") The description of the document template. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -allowMultiple[​](#-allowmultiple "Direct link to -allowMultiple") Allow multiple instances of this document template to be used per organisation. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: False Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -mandatory[​](#-mandatory "Direct link to -mandatory") Is this document template mandatory for all organisations. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: False Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -fields[​](#-fields "Direct link to -fields") The document template fields. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 5 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -availableToAllTechnicians[​](#-availabletoalltechnicians "Direct link to -availableToAllTechnicians") Make this template available to all technicians. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: False Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -allowedTechnicianRoles[​](#-allowedtechnicianroles "Direct link to -allowedTechnicianRoles") Set the technician roles that can access this template. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: False Position: 8 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the document template that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Document Template Field Object Helper 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[​](#synopsis "Direct link to SYNOPSIS") Create a new Document Template Field object. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Field[​](#field "Direct link to Field") ```powershell New-NinjaOneDocumentTemplateFieldObject [-label] [-name] [[-description] ] [-type] [[-technicianPermission] ] [[-scriptPermission] ] [[-apiPermission] ] [[-defaultValue] ] [[-options] ] [-ProgressAction ] [] ``` ##### UIElement[​](#uielement "Direct link to UIElement") ```powershell New-NinjaOneDocumentTemplateFieldObject [-elementName] [[-elementValue] ] [-elementType] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new Document Template Field object containing required / specified properties / structure. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell $newObject = @{ Name = 'Example' } PS> New-NinjaOneDocumentTemplateFieldObject @newObject ``` Creates a new resource with the specified properties. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -label[​](#-label "Direct link to -label") The human readable label for the field. ```yaml Type: String Parameter Sets: Field Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -name[​](#-name "Direct link to -name") The machine readable name for the field. This is an immutable value. ```yaml Type: String Parameter Sets: Field Aliases: Required: True Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -description[​](#-description "Direct link to -description") The description of the field. ```yaml Type: String Parameter Sets: Field Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -type[​](#-type "Direct link to -type") The type of the field. ```yaml Type: String Parameter Sets: Field Aliases: Required: True Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -technicianPermission[​](#-technicianpermission "Direct link to -technicianPermission") The technician permissions for the field. ```yaml Type: String Parameter Sets: Field Aliases: Required: False Position: 5 Default value: NONE Accept pipeline input: False Accept wildcard characters: False ``` ##### -scriptPermission[​](#-scriptpermission "Direct link to -scriptPermission") The script permissions for the field. ```yaml Type: String Parameter Sets: Field Aliases: Required: False Position: 6 Default value: NONE Accept pipeline input: False Accept wildcard characters: False ``` ##### -apiPermission[​](#-apipermission "Direct link to -apiPermission") The API permissions for the field. ```yaml Type: String Parameter Sets: Field Aliases: Required: False Position: 7 Default value: NONE Accept pipeline input: False Accept wildcard characters: False ``` ##### -defaultValue[​](#-defaultvalue "Direct link to -defaultValue") The default value for the field. ```yaml Type: String Parameter Sets: Field Aliases: Required: False Position: 8 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -options[​](#-options "Direct link to -options") The field options (a.k.a the field content). ```yaml Type: Object[] Parameter Sets: Field Aliases: Required: False Position: 9 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -elementName[​](#-elementname "Direct link to -elementName") When creating a UI element (e.g a title, separator or description box) this is the machine readable name of the UI element. ```yaml Type: String Parameter Sets: UIElement Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -elementValue[​](#-elementvalue "Direct link to -elementValue") When creating a UI element (e.g a title, separator or description box) this is the value of the UI element. ```yaml Type: String Parameter Sets: UIElement Aliases: Required: False Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -elementType[​](#-elementtype "Direct link to -elementType") When creating a UI element (e.g a title, separator or description box) this is the type of the UI element. ```yaml Type: String Parameter Sets: UIElement Aliases: Required: True Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### \[Object][​](#object "Direct link to [Object]") ##### A new Document Template Field or UI Element object.[​](#a-new-document-template-field-or-ui-element-object "Direct link to A new Document Template Field or UI Element object.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### End User 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new end user. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneEndUser [-endUser] [-sendInvitation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new end user via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneEndUser -endUser @{ firstName = 'Jane'; lastName = 'Doe'; email = 'jane@example.com' } ``` Creates a new end user. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ phone = "string" firstName = "string" organizationId = 0 fullPortalAccess = $false lastName = "string" email = "string" } PS> New-NinjaOneEndUser -endUser $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -endUser[​](#-enduser "Direct link to -endUser") End user payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -sendInvitation[​](#-sendinvitation "Direct link to -sendInvitation") Send invitation to end user during creation. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created end user.[​](#a-powershell-object-containing-the-created-end-user "Direct link to A PowerShell object containing the created end user.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Entity Relation 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new entity relation using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneEntityRelation [-entityType] [-entityId] [-relatedEntityType] [-relatedEntityId] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new entity relation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ relEntityId = 0 relEntityType = "ORGANIZATION" } PS> New-NinjaOneEntityRelation -entityType ORGANIZATION -entityId 1 -entityType $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type to create the entity relation for. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The entity id to create the entity relation for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -relatedEntityType[​](#-relatedentitytype "Direct link to -relatedEntityType") The entity type to relate to. ```yaml Type: String Parameter Sets: (All) Aliases: relEntityType, relatedType Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -relatedEntityId[​](#-relatedentityid "Direct link to -relatedEntityId") The entity id to relate to. ```yaml Type: Int32 Parameter Sets: (All) Aliases: relEntityId, relatedId Required: True Position: 4 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the entity relation that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Entity Relation Object Helper 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[​](#synopsis "Direct link to SYNOPSIS") Create a new Entity Relation object. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneEntityRelationObject [-entityType] [-relationEntityType] [[-property] ] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new Entity Relation object containing required / specified properties / structure. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell $newObject = @{ entityType = 'device'; relationEntityType = 'organization' } PS> New-NinjaOneEntityRelationObject @newObject ``` Creates a new entity relation object with the specified properties. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type of the relation. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -relationEntityType[​](#-relationentitytype "Direct link to -relationEntityType") The related entity type. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -property[​](#-property "Direct link to -property") The relation property name. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### \[Object][​](#object "Direct link to [Object]") ##### A new Entity Relation object.[​](#a-new-entity-relation-object "Direct link to A new Entity Relation object.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Entity Relations 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[​](#synopsis "Direct link to SYNOPSIS") Creates multiple new entity relations using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneEntityRelations [-entityType] [-entityId] [-entityRelations] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create multiple new entity relations using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ relEntityId = 0 relEntityType = "ORGANIZATION" } ) PS> New-NinjaOneEntityRelations -entityType ORGANIZATION -entityId 1 -entityType $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type to create the entity relation for. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The entity id to create the entity relation for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -entityRelations[​](#-entityrelations "Direct link to -entityRelations") The entity relations to create. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the entity relation that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new installer using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Individual[​](#individual "Direct link to Individual") ```powershell New-NinjaOneInstaller [-organisationId] [-locationId] [-installerType] [[-nodeRoleId] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Body[​](#body "Direct link to Body") ```powershell New-NinjaOneInstaller [-installer] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new installer download link using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ installerType = "WINDOWS_MSI" locationId = 0 content = @{ nodeRoleId = "string" } organizationId = 0 usageLimit = 0 } PS> New-NinjaOneInstaller -installer $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organization id to use when creating the installer. ```yaml Type: Int32 Parameter Sets: Individual Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -locationId[​](#-locationid "Direct link to -locationId") The location id to use when creating the installer. ```yaml Type: Int32 Parameter Sets: Individual Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -installerType[​](#-installertype "Direct link to -installerType") The installer type to use when creating the installer. ```yaml Type: String Parameter Sets: Individual Aliases: Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -nodeRoleId[​](#-noderoleid "Direct link to -nodeRoleId") The node role id to use when creating the installer. ```yaml Type: Object Parameter Sets: Individual Aliases: Required: False Position: 4 Default value: Auto Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -installer[​](#-installer "Direct link to -installer") The installer body object (alternative to individual parameters). ```yaml Type: Object Parameter Sets: Body Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Integrity Check Job 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new backup integrity check job using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Individual[​](#individual "Direct link to Individual") ```powershell New-NinjaOneIntegrityCheckJob [-deviceId] [-planUid] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Body[​](#body "Direct link to Body") ```powershell New-NinjaOneIntegrityCheckJob [-integrityCheckJob] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new backup integrity check job using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ planUid = "00000000-0000-0000-0000-000000000000" deviceId = 0 } PS> New-NinjaOneIntegrityCheckJob -integrityCheckJob $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The deviceId to create the integrity check job for. ```yaml Type: Int32 Parameter Sets: Individual Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -planUid[​](#-planuid "Direct link to -planUid") The planUid to create the integrity check job for. ```yaml Type: Guid Parameter Sets: Individual Aliases: Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -integrityCheckJob[​](#-integritycheckjob "Direct link to -integrityCheckJob") The integrity check job body object (alternative to individual parameters). ```yaml Type: Object Parameter Sets: Body Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the integrity check job that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Articles 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[​](#synopsis "Direct link to SYNOPSIS") Creates knowledge base articles. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneKnowledgeBaseArticles [-articles] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates one or more knowledge base articles via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneKnowledgeBaseArticles -articles @{ organizationId = 1; folderId = 10; articles = @(@{ name='A'; content='...'} ) } ``` Creates knowledge base articles in the specified folder. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ content = @{ text = "string" html = "string" } destinationFolderId = 0 destinationFolderPath = "string" organizationId = 0 name = "string" } ) PS> New-NinjaOneKnowledgeBaseArticles -articles $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -articles[​](#-articles "Direct link to -articles") Articles payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created articles or job result.[​](#a-powershell-object-containing-the-created-articles-or-job-result "Direct link to A PowerShell object containing the created articles or job result.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Articles Upload 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[​](#synopsis "Direct link to SYNOPSIS") Uploads knowledge base articles. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneKnowledgeBaseArticlesUpload [-organizationId] [[-folderId] ] [[-folderPath] ] [-filePath] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Uploads one or more knowledge base articles via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneKnowledgeBaseArticlesUpload -organizationId 1 -FilePath 'C:\articles.zip' ``` Uploads knowledge base articles from a file to the specified organization. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell $organizationId = 0 PS> $json = $organizationId | ConvertTo-Json -Depth 10 PS> $stringContent = [System.Net.Http.StringContent]::new($json, [System.Text.Encoding]::UTF8, "application/json") PS> $multipart.Add($stringContent, "organizationId") PS> $folderId = 0 PS> $json = $folderId | ConvertTo-Json -Depth 10 PS> $stringContent = [System.Net.Http.StringContent]::new($json, [System.Text.Encoding]::UTF8, "application/json") PS> $multipart.Add($stringContent, "folderId") PS> $folderPath = "string" PS> $json = $folderPath | ConvertTo-Json -Depth 10 PS> $stringContent = [System.Net.Http.StringContent]::new($json, [System.Text.Encoding]::UTF8, "application/json") PS> $multipart.Add($stringContent, "folderPath") PS> $filePath = "C:\Temp\example.txt" PS> $fileStream = [System.IO.FileStream]::new($filePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read) PS> $fileContent = [System.Net.Http.StreamContent]::new($fileStream) PS> $fileContent.Headers.ContentType = [System.Net.Http.Headers.MediaTypeHeaderValue]::Parse("application/octet-stream") PS> $multipart.Add($fileContent, "files", [System.IO.Path]::GetFileName($filePath)) PS> $body = $multipart PS> New-NinjaOneKnowledgeBaseArticlesUpload -organizationId $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 3[​](#example-3 "Direct link to EXAMPLE 3") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $multipart = [System.Net.Http.MultipartFormDataContent]::new() PS> $folderPath = " PS> $json = $folderPath | ConvertTo-Json -Depth 10 PS> $stringContent = [System.Net.Http.StringContent]::new($json, [System.Text.Encoding]::UTF8, "application/json") PS> $multipart.Add($stringContent, "folderPath") PS> $filePath = "C:\Temp\example.txt" PS> $fileStream = [System.IO.FileStream]::new($filePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read) PS> $fileContent = [System.Net.Http.StreamContent]::new($fileStream) PS> $fileContent.Headers.ContentType = [System.Net.Http.Headers.MediaTypeHeaderValue]::Parse("application/octet-stream") PS> $multipart.Add($fileContent, "files", [System.IO.Path]::GetFileName($filePath)) PS> $json = $folderId | ConvertTo-Json -Depth 10 PS> $stringContent = [System.Net.Http.StringContent]::new($json, [System.Text.Encoding]::UTF8, "application/json") PS> $multipart.Add($stringContent, "folderId") PS> $json = $organizationId | ConvertTo-Json -Depth 10 PS> $stringContent = [System.Net.Http.StringContent]::new($json, [System.Text.Encoding]::UTF8, "application/json") PS> $multipart.Add($stringContent, "organizationId") PS> $body = $multipart PS> New-NinjaOneKnowledgeBaseArticlesUpload -organizationId $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organizationId[​](#-organizationid "Direct link to -organizationId") Organization ID ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -folderId[​](#-folderid "Direct link to -folderId") Folder ID ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -folderPath[​](#-folderpath "Direct link to -folderPath") Folder Path ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -filePath[​](#-filepath "Direct link to -filePath") File path(s) to upload ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: True Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created articles or job result.[​](#a-powershell-object-containing-the-created-articles-or-job-result "Direct link to A PowerShell object containing the created articles or job result.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Location 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new location using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneLocation [-organisationId] [-location] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create an location using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ address = "string" description = "string" userData = @{ additionalProp1 = "value" } name = "string" } PS> New-NinjaOneLocation -organisationId 1 -location $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organization Id to use when creating the location. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -location[​](#-location "Direct link to -location") An object containing the location to create. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the location that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Node Roles 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[​](#synopsis "Direct link to SYNOPSIS") Creates node roles in NinjaOne. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneNodeRoles [-nodeRoles] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates node roles using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneNodeRoles -nodeRoles @(@{ name = 'Role A' }) ``` Creates node roles from the provided payload. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ nodeClass = "WINDOWS_SERVER" description = "string" nodeRoleParentName = "string" icon = "string" nodeRoleParentId = 0 chassisType = "UNKNOWN" name = "string" } ) PS> New-NinjaOneNodeRoles -nodeRoles $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -nodeRoles[​](#-noderoles "Direct link to -nodeRoles") Node role payload to create. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the created node roles. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new organisation using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneOrganisation [[-templateOrganisationId] ] [-organisation] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create an organisation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ locations = @( @{ address = "string" description = "string" userData = @{ additionalProp1 = "value" } name = "string" } ) nodeApprovalMode = "AUTOMATIC" description = "string" userData = @{ additionalProp1 = "value" } policies = @( @{ nodeRoleId = 0 policyId = 0 } ) name = "string" } PS> New-NinjaOneOrganisation -organisation $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -templateOrganisationId[​](#-templateorganisationid "Direct link to -templateOrganisationId") The Id of the organisation to use as a template. ```yaml Type: String Parameter Sets: (All) Aliases: templateOrganizationId, templateId Required: False Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -organisation[​](#-organisation "Direct link to -organisation") An object containing the organisation to create. ```yaml Type: Object Parameter Sets: (All) Aliases: organization, body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the organisation that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklist 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[​](#synopsis "Direct link to SYNOPSIS") Creates an organisation checklist. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneOrganisationChecklist [-checklist] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new organisation checklist via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneOrganisationChecklist -checklist @{ name = 'Onboarding'; items = @('Step1','Step2') } ``` Creates an organisation checklist. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ checklistTemplateId = 0 required = $false tasks = @( @{ completed = $false assignedToUserId = 0 position = 0 description = @{ text = "string" html = "string" } id = 0 name = "string" dueDate = 0 } ) assignedToUserId = 0 organizationId = 0 description = @{ } name = "string" dueDate = 0 } ) PS> New-NinjaOneOrganisationChecklist -checklist $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -checklist[​](#-checklist "Direct link to -checklist") Checklist payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created checklist.[​](#a-powershell-object-containing-the-created-checklist "Direct link to A PowerShell object containing the created checklist.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklists 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[​](#synopsis "Direct link to SYNOPSIS") Creates organisation checklists from templates. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneOrganisationChecklistsFromTemplates [-organisationId] [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates organisation checklists from templates via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneOrganisationChecklistsFromTemplates -organisationId 1 -request @{ templateIds = @(10,11) } ``` Creates checklists for organisation 1 from templates 10 and 11. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation Id to create checklists for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -request[​](#-request "Direct link to -request") Request payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Document 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new organisation document using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneOrganisationDocument [-organisationId] [-documentTemplateId] [-organisationDocument] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a single organisation document using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ documentName = "string" fields = @{ additionalProp1 = @{ } } documentDescription = "string" } PS> New-NinjaOneOrganisationDocument -documentTemplateId 1 -organisationDocument $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The Id of the organisation to create the document for. ```yaml Type: String Parameter Sets: (All) Aliases: organizationId, id Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -documentTemplateId[​](#-documenttemplateid "Direct link to -documentTemplateId") The Id of the document template to use. ```yaml Type: String Parameter Sets: (All) Aliases: templateId Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -organisationDocument[​](#-organisationdocument "Direct link to -organisationDocument") An object containing an array of organisation documents to create. ```yaml Type: Object Parameter Sets: (All) Aliases: organizationDocuments, organisationDocuments, organizationDocument, body Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the organisation document that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Documents 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[​](#synopsis "Direct link to SYNOPSIS") Creates new organisation documents using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneOrganisationDocuments [-organisationDocuments] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create one or more organisation documents using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ documentName = "string" documentTemplateId = 0 fields = @{ additionalProp1 = @{ } } organizationId = 0 documentDescription = "string" } ) PS> New-NinjaOneOrganisationDocuments -organisationDocuments $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationDocuments[​](#-organisationdocuments "Direct link to -organisationDocuments") An object containing an array of organisation documents to create. ```yaml Type: Object[] Parameter Sets: (All) Aliases: organizationDocuments, body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the organisation documents that were created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Policy 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new policy using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOnePolicy [-mode] [-policy] [[-templatePolicyId] ] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new policy using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ enabled = $false nodeClass = "WINDOWS_SERVER" description = "string" parentPolicyId = 0 name = "string" } PS> New-NinjaOnePolicy -policy $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -mode[​](#-mode "Direct link to -mode") The mode to run in, new, child or copy. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -policy[​](#-policy "Direct link to -policy") An object containing the policy to create. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -templatePolicyId[​](#-templatepolicyid "Direct link to -templatePolicyId") The Id of the template policy to copy from. ```yaml Type: Int32 Parameter Sets: (All) Aliases: templateId Required: False Position: 3 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the policy that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Secure Value Relation 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new secure value relation using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneSecureRelation [-entityType] [-entityId] [-secureValueName] [[-secureValueURL] ] [[-secureValueNotes] ] [[-secureValueUsername] ] [[-secureValuePassword] ] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new secure value relation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ totpSecret = "string" password = "string" url = "string" notes = "string" username = "string" name = "string" } PS> New-NinjaOneSecureRelation -entityType ORGANIZATION -entityId 1 -entityType $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type to create the secre relation for. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The entity id to create the secucre relation for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -secureValueName[​](#-securevaluename "Direct link to -secureValueName") The name of the secure value. ```yaml Type: String Parameter Sets: (All) Aliases: name Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -secureValueURL[​](#-securevalueurl "Direct link to -secureValueURL") The URL for the secure value. ```yaml Type: String Parameter Sets: (All) Aliases: url, uri Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -secureValueNotes[​](#-securevaluenotes "Direct link to -secureValueNotes") Notes to accompany the secure value. ```yaml Type: String Parameter Sets: (All) Aliases: notes Required: False Position: 5 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -secureValueUsername[​](#-securevalueusername "Direct link to -secureValueUsername") The username for the secure value. ```yaml Type: String Parameter Sets: (All) Aliases: username Required: False Position: 6 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -secureValuePassword[​](#-securevaluepassword "Direct link to -secureValuePassword") The password for the secure value. ```yaml Type: String Parameter Sets: (All) Aliases: password Required: False Position: 7 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the secure relation that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software License 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new software license. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneSoftwareLicense [-license] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new software license via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneSoftwareLicense -license @{ name = 'Microsoft Office'; description = 'Office 365 subscriptions' } ``` Creates a new software license. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ unassignedLicenses = @( 0 ) note = "string" purchaseDate = 0 assignedLicenses = @( 0 ) notificationChannelInfo = @{ pushNotification = "string" sms = "string" email = "string" } publisherId = 0 type = "PER_DEVICE" assigmentAutomationSettings = @{ type = "string" assignmentType = "NORMALIZED_SOFTWARE" } quantity = 0 description = "string" scope = @{ locationIds = @( 0 ) global = $false organizationIds = @( 0 ) } vendorId = 0 currentUsage = 0 term = @{ expirationDate = 0 value = 0 generateActivityAlert = $false hasNotifiedExpirationDate = $false renewalUnit = "MONTH" hasNotifiedUpToRenewal = $false daysBeforeExpiration = 0 autoRenewal = $false } name = "string" } PS> New-NinjaOneSoftwareLicense -license $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -license[​](#-license "Direct link to -license") Software license configuration per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created software license.[​](#a-powershell-object-containing-the-created-software-license "Direct link to A PowerShell object containing the created software license.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Staged Device 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[​](#synopsis "Direct link to SYNOPSIS") Creates a staged device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneStagedDevice [-stagedDevice] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a staged device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneStagedDevice -stagedDevice @{ deviceIdentifier = 'DEVICE-001'; organizationId = 1 } ``` Creates a staged device. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ warrantyEndDate = 0 itamAssetExpectedLifetime = "string" itamAssetStatus = "string" orgId = 0 roleId = 0 locationId = 0 itamAssetEndOfLifeDate = 0 itamAssetSerialNumber = "string" itamAssetId = "string" warrantyStartDate = 0 itamAssetPurchaseDate = 0 assignedUserUid = "00000000-0000-0000-0000-000000000000" itamAssetPurchaseAmount = 0 name = "string" } PS> New-NinjaOneStagedDevice -stagedDevice $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -stagedDevice[​](#-stageddevice "Direct link to -stagedDevice") Staged device configuration per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created staged device information.[​](#a-powershell-object-containing-the-created-staged-device-information "Direct link to A PowerShell object containing the created staged device information.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new custom tab. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneTab [-tab] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new custom tab via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneTab -tab @{ name='My Tab'; scope='ORGANIZATION' } ``` Creates a new tab. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ entityId = 0 items = @( @{ uiElementUid = "00000000-0000-0000-0000-000000000000" uiElementValue = "string" uiElementCreateTime = 0 itemType = "ATTRIBUTE" uiElementType = "TITLE" id = 0 name = "string" uiElementUpdateTime = 0 } ) description = "string" position = 0 name = "string" entityType = "NODE_ROLE" } PS> New-NinjaOneTab -tab $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tab[​](#-tab "Direct link to -tab") Payload to create tab per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created tab.[​](#a-powershell-object-containing-the-created-tab "Direct link to A PowerShell object containing the created tab.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Technician 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new technician. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneTechnician [-technician] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a new technician via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneTechnician -technician @{ firstName = 'John'; lastName = 'Smith'; email = 'john@example.com' } ``` Creates a new technician. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ phone = "string" lastName = "string" email = "string" firstName = "string" } PS> New-NinjaOneTechnician -technician $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -technician[​](#-technician "Direct link to -technician") Technician payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created technician.[​](#a-powershell-object-containing-the-created-technician "Direct link to A PowerShell object containing the created technician.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new ticket using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneTicket [-ticket] [-show] [-parseDateTime] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a ticket using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ subject = "string" priority = "NONE" severity = "NONE" description = @{ body = "string" public = $false timeTracked = 0 htmlBody = "string" duplicateInIncidents = $false } parentTicketId = 0 additionalAssignedTechnicianIds = @( 0 ) type = "PROBLEM" locationId = 0 status = "string" clientId = 0 ticketFormId = 0 nodeId = 0 followupTime = 0 requesterUid = "00000000-0000-0000-0000-000000000000" attributes = @( @{ attributeId = 0 id = 0 value = "string" } ) assignedAppUserId = 0 cc = @{ emails = @( "string" ) uids = @( "00000000-0000-0000-0000-000000000000" ) } tags = @( "string" ) } PS> New-NinjaOneTicket -ticket $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticket[​](#-ticket "Direct link to -ticket") An object containing the ticket to create. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the ticket that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket Board Sort Object Helper 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[​](#synopsis "Direct link to SYNOPSIS") Create a new Ticket Board sort object. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneTicketBoardSort [-field] [-direction] [-ProgressAction ] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates a sort object for ticket board queries with validation. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneTicketBoardSort -field 'created' -direction 'asc' ``` #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -field[​](#-field "Direct link to -field") The field to sort by. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -direction[​](#-direction "Direct link to -direction") The sort direction. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### \[Object][​](#object "Direct link to [Object]") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket Comment 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new ticket comment using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneTicketComment [-ticketId] [-comment] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a ticket comment using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneTicketComment -ticketId 1 -comment @{ body = "Example"; public = $true } ``` Creates a ticket comment on the specified ticket. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $multipart = [System.Net.Http.MultipartFormDataContent]::new() PS> $comment = @{ public = $false body = "string" htmlBody = "string" timeTracked = 0 duplicateInIncidents = $false } PS> $json = $comment | ConvertTo-Json -Depth 10 PS> $stringContent = [System.Net.Http.StringContent]::new($json, [System.Text.Encoding]::UTF8, "application/json") PS> $multipart.Add($stringContent, "comment") PS> $filePath = "C:\Temp\example.txt" PS> $fileStream = [System.IO.FileStream]::new($filePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read) PS> $fileContent = [System.Net.Http.StreamContent]::new($fileStream) PS> $fileContent.Headers.ContentType = [System.Net.Http.Headers.MediaTypeHeaderValue]::Parse("application/octet-stream") PS> $multipart.Add($fileContent, "files", [System.IO.Path]::GetFileName($filePath)) PS> $body = $multipart PS> New-NinjaOneTicketComment -ticketId 1 -comment $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketId[​](#-ticketid "Direct link to -ticketId") The ticket Id to use when creating the ticket comment. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -comment[​](#-comment "Direct link to -comment") An object containing the ticket comment to create. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the ticket comment that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Unmanaged Device 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[​](#synopsis "Direct link to SYNOPSIS") Creates an unmanaged device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneUnmanagedDevice [-unmanagedDevice] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Creates an unmanaged device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell New-NinjaOneUnmanagedDevice -unmanagedDevice @{ hostname='asset-5001' } ``` Creates an unmanaged device. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ warrantyStartDate = 0 orgId = 0 assignedUserUid = "00000000-0000-0000-0000-000000000000" assetFields = @{ assetExpectedLifetime = "string" assetPurchaseAmount = 0 assetPurchaseDate = 0 serialNumber = "string" assetId = "string" assetStatus = "string" } locationId = 0 roleId = 0 name = "string" warrantyEndDate = 0 } PS> New-NinjaOneUnmanagedDevice -unmanagedDevice $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -unmanagedDevice[​](#-unmanageddevice "Direct link to -unmanagedDevice") The unmanaged device object to create. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the created unmanaged device Id.[​](#a-powershell-object-containing-the-created-unmanaged-device-id "Direct link to A PowerShell object containing the created unmanaged device Id.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Windows Event Policy Condition 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[​](#synopsis "Direct link to SYNOPSIS") Creates a new windows event policy condition using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell New-NinjaOneWindowsEventPolicyCondition [-policyId] [-windowsEventPolicyCondition] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Create a new windows event policy condition using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ resetThreshold = 0 channels = @( 0 ) source = "string" severity = "NONE" occurrence = @{ enabled = $false duration = 0 threshold = 0 } notificationAction = "NONE" eventIds = @( 0 ) priority = "NONE" scripts = @( @{ runAs = "SYSTEM" scriptId = 0 scriptParam = "string" scriptVariables = @( @{ id = "string" value = "string" } ) } ) notifyOnReset = $false displayName = "string" text = @{ values = @( "string" ) condition = "CONTAINS" include = "ALL" } enabled = $false } PS> New-NinjaOneWindowsEventPolicyCondition -windowsEventPolicyCondition $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -policyId[​](#-policyid "Direct link to -policyId") The policy id to create the windows event policy condition for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, policy_id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -windowsEventPolicyCondition[​](#-windowseventpolicycondition "Direct link to -windowsEventPolicyCondition") An object containing the windows event policy condition to create. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the windows event policy condition that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Relationship 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[​](#synopsis "Direct link to SYNOPSIS") Deletes an asset relationship. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneAssetRelationship [-relationId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes an asset relationship using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneAssetRelationship -relationId 1 ``` Deletes asset relationship 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -relationId[​](#-relationid "Direct link to -relationId") Asset relationship ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Tag 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[​](#synopsis "Direct link to SYNOPSIS") Deletes a tag. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneTag [-tagId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a tag via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneTag -tagId 12 -Confirm:$false ``` Deletes the tag with Id 12. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tagId[​](#-tagid "Direct link to -tagId") The tag Id to remove. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Tags 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[​](#synopsis "Direct link to SYNOPSIS") Deletes asset tags. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneTags [-deleteRequest] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes one or more tags via the NinjaOne v2 API using a POST delete endpoint. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneTags -deleteRequest @{ tagIds = @(1,2,3) } ``` Deletes tags with Ids 1,2,3. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deleteRequest[​](#-deleterequest "Direct link to -deleteRequest") Delete request payload as per API schema (e.g. tagIds array) ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (usually 200/204) per API.[​](#status-code-usually-200204-per-api "Direct link to Status code (usually 200/204) per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Account 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[​](#synopsis "Direct link to SYNOPSIS") Deletes a billing account. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneBillingAccount [-id] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a billing account using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneBillingAccount -id 1 ``` Deletes billing account 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing account ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: accountId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Checklist Template 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[​](#synopsis "Direct link to SYNOPSIS") Removes a checklist template. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneChecklistTemplate [-checklistTemplateId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a checklist template via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneChecklistTemplate -checklistTemplateId 10 -Confirm:$false ``` Deletes the checklist template with Id 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -checklistTemplateId[​](#-checklisttemplateid "Direct link to -checklistTemplateId") Checklist template Id to delete. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Checklist Templates 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[​](#synopsis "Direct link to SYNOPSIS") Deletes checklist templates. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneChecklistTemplates [-templateIds] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes one or more checklist templates via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneChecklistTemplates -templateIds @(1,2) -Confirm:$false ``` Deletes templates 1 and 2. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -templateIds[​](#-templateids "Direct link to -templateIds") The checklist template IDs to remove. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Contact 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[​](#synopsis "Direct link to SYNOPSIS") Removes a system contact. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneContact [-id] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a system contact via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneContact -Id 123 -Confirm:$false ``` Deletes the system contact with Id 123. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Contact Id to delete. ```yaml Type: Int32 Parameter Sets: (All) Aliases: contactId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Field 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[​](#synopsis "Direct link to SYNOPSIS") Deletes a custom field by field name. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneCustomField [-fieldName] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes an existing custom field identified by its unique field name via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneCustomField -fieldName 'department' ``` Deletes the custom field named 'department'. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -fieldName[​](#-fieldname "Direct link to -fieldName") The field name of the custom field to delete ```yaml Type: String Parameter Sets: (All) Aliases: name Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Maintenance 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[​](#synopsis "Direct link to SYNOPSIS") Cancels scheduled maintenance for the given device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneDeviceMaintenance [-deviceId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Cancels scheduled maintenance for the given device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneDeviceMaintenance -deviceId 1 ``` Cancels scheduled maintenance for device 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device Id to cancel maintenance for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Owner 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[​](#synopsis "Direct link to SYNOPSIS") Removes the owner of a device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneDeviceOwner [-id] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Removes the owner of the specified device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneDeviceOwner -id 1234 -Confirm:$false ``` Removes the owner of device 1234. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Device identifier ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Document Template 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[​](#synopsis "Direct link to SYNOPSIS") Removes a document template using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneDocumentTemplate [-documentTemplateId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Removes the specified document template NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneDocumentTemplate -documentTemplateId 10 ``` Removes the document template with id 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -documentTemplateId[​](#-documenttemplateid "Direct link to -documentTemplateId") The document template to delete. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### End User 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[​](#synopsis "Direct link to SYNOPSIS") Removes an end-user. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneEndUser [-id] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes an end-user via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneEndUser -Id 42 -Confirm:$false ``` Deletes the end-user with Id 42. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") End-user Id to delete. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Article 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[​](#synopsis "Direct link to SYNOPSIS") Deletes knowledge base articles. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneKnowledgeBaseArticles [-articleIds] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes knowledge base articles via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneKnowledgeBaseArticles -articleIds @(1,2,3) -Confirm:$false ``` Deletes the specified articles. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -articleIds[​](#-articleids "Direct link to -articleIds") The knowledge base article IDs to remove. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Folder 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[​](#synopsis "Direct link to SYNOPSIS") Deletes knowledge base folders. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneKnowledgeBaseFolders [-folderIds] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes knowledge base folders via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneKnowledgeBaseFolders -folderIds @(10,11) -Confirm:$false ``` Deletes the specified folders. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -folderIds[​](#-folderids "Direct link to -folderIds") The knowledge base folder IDs to remove. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Node Roles 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[​](#synopsis "Direct link to SYNOPSIS") Deletes node roles in NinjaOne. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneNodeRoles [-nodeRoles] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes node roles using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneNodeRoles -nodeRoles @(@{ id = 1 }) ``` Deletes node roles from the provided payload. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ ids = @( 0 ) } PS> Remove-NinjaOneNodeRoles -nodeRoles $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -nodeRoles[​](#-noderoles "Direct link to -nodeRoles") Node role delete payload. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the delete response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklist 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[​](#synopsis "Direct link to SYNOPSIS") Removes an organisation checklist. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneOrganisationChecklist [-checklistId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes an organisation checklist via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneOrganisationChecklist -checklistId 22 -Confirm:$false ``` Deletes checklist 22. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -checklistId[​](#-checklistid "Direct link to -checklistId") The organisation checklist Id to remove. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklists 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[​](#synopsis "Direct link to SYNOPSIS") Deletes organisation checklists. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneOrganisationChecklists [-request] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes organisation checklists via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneOrganisationChecklists -request @{ checklistIds = @(1,2) } -Confirm:$false ``` Deletes the specified organisation checklists. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -request[​](#-request "Direct link to -request") The request object containing checklist IDs to remove. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Document 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[​](#synopsis "Direct link to SYNOPSIS") Removes an organisation document using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneOrganisationDocument [-clientDocumentId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Removes the specified organisation document using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneOrganisationDocument -Identity 123 ``` Removes the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -clientDocumentId[​](#-clientdocumentid "Direct link to -clientDocumentId") The organisation document to delete. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, documentId, organisationDocumentId, organizationDocument Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Policy Condition 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[​](#synopsis "Direct link to SYNOPSIS") Remove the given policy condition. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOnePolicyCondition [-policyId] [-conditionId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Removes the given policy condition using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOnePolicyCondition -policyId 1 -conditionId 10 ``` Removes policy condition 10 from policy 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -policyId[​](#-policyid "Direct link to -policyId") The policy id to remove the condition from. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, policy_id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -conditionId[​](#-conditionid "Direct link to -conditionId") The condition id to remove. ```yaml Type: Guid Parameter Sets: (All) Aliases: condition_id Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Related Item 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[​](#synopsis "Direct link to SYNOPSIS") Removes the given item relationship. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneRelatedItem [-relatedItemId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Removes the given item relationship link using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneRelatedItem -relatedItemId 123 ``` Removes the relationship link 123. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -relatedItemId[​](#-relateditemid "Direct link to -relatedItemId") The related item id to remove. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Related Items 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[​](#synopsis "Direct link to SYNOPSIS") Removes the item relationships for the given entity type and entity id. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneRelatedItems [-entityType] [-entityId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Removes the item relationships for the given entity type and entity id using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneRelatedItems -Identity 123 ``` Removes the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -entityType[​](#-entitytype "Direct link to -entityType") The entity type to remove related items for. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -entityId[​](#-entityid "Direct link to -entityId") The entity id to remove related items for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software License 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[​](#synopsis "Direct link to SYNOPSIS") Deletes a software license. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneSoftwareLicense [-licenseId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a software license via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneSoftwareLicense -licenseId 1 ``` Deletes the software license with ID 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -licenseId[​](#-licenseid "Direct link to -licenseId") The ID of the software license to delete ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab 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[​](#synopsis "Direct link to SYNOPSIS") Removes a custom tab. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneTab [-tabId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a custom tab via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneTab -tabId 5 -Confirm:$false ``` Deletes tab 5. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tabId[​](#-tabid "Direct link to -tabId") The tab Id to remove. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Technician 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[​](#synopsis "Direct link to SYNOPSIS") Removes a technician user. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneTechnician [-id] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes a technician user via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneTechnician -Id 7 -Confirm:$false ``` Deletes the technician user with Id 7. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Technician Id to delete. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Unmanaged Device 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[​](#synopsis "Direct link to SYNOPSIS") Deletes an unmanaged device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneUnmanagedDevice [-nodeId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Deletes an unmanaged device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneUnmanagedDevice -nodeId 5001 -Confirm:$false ``` Deletes unmanaged device 5001. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -nodeId[​](#-nodeid "Direct link to -nodeId") The unmanaged device node Id to remove. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### User Role Members 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[​](#synopsis "Direct link to SYNOPSIS") Removes members from a user role. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneUserRoleMembers [-roleId] [-members] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Removes one of more members from the specified user role via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneUserRoleMembers -roleId 10 -members @{ userIds = @(1,2) } -Confirm:$false ``` Removes users 1 and 2 from role 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -roleId[​](#-roleid "Direct link to -roleId") The user role Id to remove members from. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -members[​](#-members "Direct link to -members") The members object containing user IDs to remove from the role. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Webhook 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[​](#synopsis "Direct link to SYNOPSIS") Removes webhook configuration for the current application/API client. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Remove-NinjaOneWebhook [[-webhookId] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Removes webhook configuration for the current application/API client using the NinjaOne v2 API. Some instances may expose an id-based delete route; provide -webhookId to target that route. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Remove-NinjaOneWebhook ``` Removes the webhook configuration. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Remove-NinjaOneWebhook -webhookId '123' ``` Removes a specific webhook using the id-based route. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -webhookId[​](#-webhookid "Direct link to -webhookId") Optional webhook id for instances that require an id-based delete route. ```yaml Type: String Parameter Sets: (All) Aliases: id Required: False Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab 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[​](#synopsis "Direct link to SYNOPSIS") Renames a custom tab. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Rename-NinjaOneTab [-rename] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Renames a custom tab via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Rename-NinjaOneTab -rename @{ tabId = 5; name = 'New Name' } ``` Renames tab 5. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ description = "string" tabId = 0 name = "string" } PS> Rename-NinjaOneTab -rename $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -rename[​](#-rename "Direct link to -rename") Payload e.g. @{ tabId = 5; name = 'New Name' } ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Alert 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[​](#synopsis "Direct link to SYNOPSIS") Resets alerts using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Reset-NinjaOneAlert [-uid] [[-activityData] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Resets the status of alerts using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Reset-NinjaOneAlert -alertId 1 ``` Resets alert 1 to default state. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -uid[​](#-uid "Direct link to -uid") The alert Id to reset status for. ```yaml Type: String Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -activityData[​](#-activitydata "Direct link to -activityData") The reset activity data. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Policy Overrides 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[​](#synopsis "Direct link to SYNOPSIS") Resets (removes) device policy overrides using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Reset-NinjaOneDevicePolicyOverrides [-deviceId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Resets (removes) all configured device policy overrides using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Reset-NinjaOneDevicePolicyOverrides -deviceId 1 ``` Resets all policy overrides for device 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device Id to reset policy overrides for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device 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[​](#synopsis "Direct link to SYNOPSIS") Reboots a device using the NinjaOne API. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Restart-NinjaOneDevice [-deviceId] [-mode] [[-reason] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Triggers a device reboot using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ reason = "string" } PS> Restart-NinjaOneDevice -deviceId 1 -mode NORMAL -deviceId $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Restart-NinjaOneDevice -Identity 123 ``` Restarts the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device Id to reset status for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -mode[​](#-mode "Direct link to -mode") The reboot mode. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -reason[​](#-reason "Direct link to -reason") The reboot reason. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Article 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[​](#synopsis "Direct link to SYNOPSIS") Restores archived knowledge base articles. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Restore-NinjaOneKnowledgeBaseArticles [-articleIds] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restores archived knowledge base articles via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Restore-NinjaOneKnowledgeBaseArticles -articleIds @(1,2,3) ``` Restores the specified articles. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -articleIds[​](#-articleids "Direct link to -articleIds") The knowledge base article IDs to restore. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Folder 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[​](#synopsis "Direct link to SYNOPSIS") Restores archived knowledge base folders. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Restore-NinjaOneKnowledgeBaseFolders [-folderIds] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Restores archived knowledge base folders via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Restore-NinjaOneKnowledgeBaseFolders -folderIds @(10,11) ``` Restores the specified folders. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -folderIds[​](#-folderids "Direct link to -folderIds") The knowledge base folder IDs to restore. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code (204) on success.[​](#status-code-204-on-success "Direct link to Status code (204) on success.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Tag 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[​](#synopsis "Direct link to SYNOPSIS") Updates an asset tag. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTag [-tagId] [-tag] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an existing tag via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneTag -tagId 12 -tag @{ name = 'Priority-1' } ``` Updates the tag with Id 12. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ description = "string" name = "string" } PS> Set-NinjaOneTag -tagId 1 -tag $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tagId[​](#-tagid "Direct link to -tagId") The tag Id to update. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -tag[​](#-tag "Direct link to -tag") The tag update payload. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or updated resource per API.[​](#status-code-or-updated-resource-per-api "Direct link to Status code or updated resource per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Tag Assignment 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[​](#synopsis "Direct link to SYNOPSIS") Updates tag assignments for an asset. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneAssetTag [-assetType] [-assetId] [-tagAssignment] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates tags for a specific asset type and asset Id via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneAssetTag -assetType 'NODE' -assetId 123 -tagAssignment @{ tagIds = @(1, 2, 3) } ``` Updates tag assignments for node 123 with tags 1, 2, and 3. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ tagIds = @( 0 ) } PS> Set-NinjaOneAssetTag -assetType string -assetId 1 -tagAssignment $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -assetType[​](#-assettype "Direct link to -assetType") Asset type (e.g. NODE, ORGANIZATION, LOCATION) ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -assetId[​](#-assetid "Direct link to -assetId") Asset Id ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -tagAssignment[​](#-tagassignment "Direct link to -tagAssignment") Tag assignment payload ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or updated assignment per API.[​](#status-code-or-updated-assignment-per-api "Direct link to Status code or updated assignment per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Asset Tags 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[​](#synopsis "Direct link to SYNOPSIS") Batch update tags for assets. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTagBatch [-assetType] [-tagUpdate] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates tags for multiple assets of the specified asset type via the NinjaOne v2 API. Tags will be added and removed as specified for the supplied asset IDs. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell $tagPayload = @{ assetIds = @(123, 456) tagIdsToAdd = @(1, 2) tagIdsToRemove = @(3, 4) } PS> Set-NinjaOneTagBatch -assetType 'device' -tagUpdate $tagPayload ``` Adds tags 1 and 2 to devices 123 and 456, and removes tags 3 and 4 from them. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ tagIdsToAdd = @( 0 ) tagIdsToRemove = @( 0 ) assetIds = @( 0 ) } PS> Set-NinjaOneTagBatch -assetType string -tagUpdate $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -assetType[​](#-assettype "Direct link to -assetType") The asset type the tags apply to (e.g. device). ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -tagUpdate[​](#-tagupdate "Direct link to -tagUpdate") The batch tag update payload per API schema (assetIds, tagIdsToAdd, tagIdsToRemove). ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the batch update result.[​](#a-powershell-object-containing-the-batch-update-result "Direct link to A PowerShell object containing the batch update result.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Backup 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[​](#synopsis "Direct link to SYNOPSIS") Sets the bandwidth throttle for a device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneBackupBandwidthThrottle [-throttleSetting] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets the bandwidth throttle for a device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneBackupBandwidthThrottle -throttleSetting @{ deviceId = 1; bandwidthLimit = 5242880 } ``` Sets the bandwidth throttle for a device. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ bandwidthThrottle = @{ workHoursKbps = 0 workHoursUserUnit = "string" nonWorkHoursKbps = 0 nonWorkHoursUserUnit = "string" workSchedule = @{ endHour = 0 weekDays = @( "string" ) endMinute = 0 startHour = 0 startMinute = 0 } enabled = $false } deviceId = 0 } PS> Set-NinjaOneBackupBandwidthThrottle -throttleSetting $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -throttleSetting[​](#-throttlesetting "Direct link to -throttleSetting") Bandwidth throttle setting payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Account 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[​](#synopsis "Direct link to SYNOPSIS") Updates a billing account. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneBillingAccount [-id] [-billingAccount] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an existing billing account using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneBillingAccount -id 1 -billingAccount @{ name = 'Updated Account' } ``` Updates billing account 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing account ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: accountId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -billingAccount[​](#-billingaccount "Direct link to -billingAccount") Billing account payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the updated billing account.[​](#a-powershell-object-containing-the-updated-billing-account "Direct link to A PowerShell object containing the updated billing account.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Agreement 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[​](#synopsis "Direct link to SYNOPSIS") Updates a billing agreement. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneBillingAgreement [-id] [-billingAgreement] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an existing billing agreement using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneBillingAgreement -id 1 -billingAgreement @{ name = 'Updated Agreement' } ``` Updates billing agreement 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing agreement ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: agreementId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -billingAgreement[​](#-billingagreement "Direct link to -billingAgreement") Billing agreement payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the updated billing agreement.[​](#a-powershell-object-containing-the-updated-billing-agreement "Direct link to A PowerShell object containing the updated billing agreement.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Invoice 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[​](#synopsis "Direct link to SYNOPSIS") Updates a billing invoice. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneBillingInvoice [-id] [-billingInvoice] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an existing billing invoice using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneBillingInvoice -id 1 -billingInvoice @{ note = 'Updated invoice' } ``` Updates billing invoice 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing invoice ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: invoiceId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -billingInvoice[​](#-billinginvoice "Direct link to -billingInvoice") Billing invoice payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the updated billing invoice.[​](#a-powershell-object-containing-the-updated-billing-invoice "Direct link to A PowerShell object containing the updated billing invoice.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Invoice Note 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[​](#synopsis "Direct link to SYNOPSIS") Updates a billing invoice note. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneBillingInvoiceNote [-id] [-note] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates the note for a billing invoice using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneBillingInvoiceNote -id 1 -note @{ note = 'Customer confirmed billing details' } ``` Updates the note on billing invoice 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing invoice ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: invoiceId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -note[​](#-note "Direct link to -note") Billing invoice note payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Product 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[​](#synopsis "Direct link to SYNOPSIS") Updates a billing product. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneBillingProduct [-id] [-billingProduct] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an existing billing product using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneBillingProduct -id 1 -billingProduct @{ name = 'Updated Product' } ``` Updates billing product 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Billing product ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: productId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -billingProduct[​](#-billingproduct "Direct link to -billingProduct") Billing product payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the updated billing product.[​](#a-powershell-object-containing-the-updated-billing-product "Direct link to A PowerShell object containing the updated billing product.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Ticket Product 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[​](#synopsis "Direct link to SYNOPSIS") Updates a billing ticket product. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneBillingTicketProduct [-ticketProductId] [-ticketProduct] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates a billing ticket product using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneBillingTicketProduct -ticketProductId 1 -ticketProduct @{ quantity = 2 } ``` Updates ticket product 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketProductId[​](#-ticketproductid "Direct link to -ticketProductId") Ticket product ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -ticketProduct[​](#-ticketproduct "Direct link to -ticketProduct") Ticket product payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the updated ticket product.[​](#a-powershell-object-containing-the-updated-ticket-product "Direct link to A PowerShell object containing the updated ticket product.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Billing Ticket Time Entry 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[​](#synopsis "Direct link to SYNOPSIS") Updates a billing ticket time entry. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneBillingTicketTimeEntry [-timeEntryId] [-timeEntry] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates a billing ticket time entry using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneBillingTicketTimeEntry -timeEntryId 1 -timeEntry @{ billable = $true } ``` Updates billing ticket time entry 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -timeEntryId[​](#-timeentryid "Direct link to -timeEntryId") Time entry ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -timeEntry[​](#-timeentry "Direct link to -timeEntry") Time entry payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the updated time entry.[​](#a-powershell-object-containing-the-updated-time-entry "Direct link to A PowerShell object containing the updated time entry.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Checklist Templates 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[​](#synopsis "Direct link to SYNOPSIS") Updates checklist templates. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneChecklistTemplates [[-templates] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates checklist templates via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneChecklistTemplates -templates @{ templates = @(@{ id=1; name='New' }) } ``` Updates the specified templates. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ required = $false id = 0 description = @{ text = "string" html = "string" } tasks = @( @{ position = 0 description = @{ } name = "string" } ) name = "string" } ) PS> Set-NinjaOneChecklistTemplates -templates $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -templates[​](#-templates "Direct link to -templates") The checklist templates to update. \[Parameter(Mandatory, Position=0, ValueFromPipelineByPropertyName)] ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Contact 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[​](#synopsis "Direct link to SYNOPSIS") Updates a system contact. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneContact [-id] [-contact] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates a system contact via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ phone = "string" firstName = "string" organizationId = 0 jobTitle = "string" email = "string" lastName = "string" } PS> Set-NinjaOneContact -id 1 -contact $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneContact -Id 123 -contact @{ phone = '+3100000000' } ``` Updates the system contact with Id 123. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") Contact Id to update. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -contact[​](#-contact "Direct link to -contact") Contact patch payload per API schema. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or updated resource per API.[​](#status-code-or-updated-resource-per-api "Direct link to Status code or updated resource per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Custom Field 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[​](#synopsis "Direct link to SYNOPSIS") Updates a custom field by field name. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneCustomField [-fieldName] [-customField] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an existing custom field identified by its unique field name via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneCustomField -fieldName 'department' -customField @{ description = 'Department of the user' } ``` Updates the custom field named 'department' with new description. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ active = $false scriptPermission = "NONE" type = "DROPDOWN" defaultValue = "string" content = @{ values = @( @{ id = "00000000-0000-0000-0000-000000000000" system = $false active = $false name = "string" } ) footerText = "string" required = $false tooltipText = "string" advancedSettings = @{ complexityRules = @{ greaterOrEqualThanSixCharacters = $false mustContainOneUppercaseLetter = $false mustContainOneInteger = $false mustContainOneLowercaseLetter = $false } monetary = @{ currency = "USD" } ipAddressType = "ALL" fileMaxSize = 0 fileExtensions = @( "string" ) templates = @( 0 ) org = @( 0 ) dateFilters = @{ selected = @( "string" ) type = "NONE" } identifier = @{ nextSequenceNumber = 0 automaticGenerationEnabled = $false prefix = "string" suffix = "string" scope = "NONE" type = "CUSTOM" assignTo = "NEW_ASSETS_ONLY" } numericRange = @{ min = 0 max = 0 } maxCharacters = 0 nodeClass = @( "WINDOWS_SERVER" ) expandLargeValueOnRender = $false } } groupId = 0 description = "string" scope = "NODE_GLOBAL" definitionScope = @( "NODE" ) technicianPermission = "NONE" fieldName = "string" apiPermission = "NONE" label = "string" } PS> Set-NinjaOneCustomField -fieldName string -customField $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -fieldName[​](#-fieldname "Direct link to -fieldName") The field name of the custom field to update ```yaml Type: String Parameter Sets: (All) Aliases: name Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -customField[​](#-customfield "Direct link to -customField") Custom field update payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the updated custom field.[​](#a-powershell-object-containing-the-updated-custom-field "Direct link to A PowerShell object containing the updated custom field.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device 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[​](#synopsis "Direct link to SYNOPSIS") Sets device information, like friendly name, user data etc. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneDevice [-deviceId] [-deviceInformation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets device information using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneDevice -deviceId 123 -deviceInformation @{ displayName = 'NewName' } ``` Updates the friendly name for device 123. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ locationId = 0 organizationId = 0 policyId = 0 nodeRoleId = 0 userData = @{ additionalProp1 = "value" } warranty = @{ endDate = 0 manufacturerFulfillmentDate = 0 startDate = 0 } displayName = "string" } PS> Set-NinjaOneDevice -deviceId 1 -deviceInformation $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to set the information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -deviceInformation[​](#-deviceinformation "Direct link to -deviceInformation") The device information body object. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Approval 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[​](#synopsis "Direct link to SYNOPSIS") Sets the approval status of the specified device(s) #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneDeviceApproval [-mode] [-deviceIds] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets the approval status of the specified device(s) using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ devices = @( 0 ) } PS> Set-NinjaOneDeviceApproval -mode APPROVE -mode $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneDeviceApproval -Identity 123 -Property 'Value' ``` Updates the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -mode[​](#-mode "Direct link to -mode") The approval mode. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -deviceIds[​](#-deviceids "Direct link to -deviceIds") The device(s) to set the approval status for. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: id, ids Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Custom Fields 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[​](#synopsis "Direct link to SYNOPSIS") Sets the value of the specified device custom fields. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneDeviceCustomFields [-deviceId] [-deviceCustomFields] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets the value of the specified device custom fields using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ additionalProp1 = @{ } } PS> Set-NinjaOneDeviceCustomFields -deviceId 1 -deviceCustomFields $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneDeviceCustomFields -deviceId 1 -customFields @{ CustomField1 = 'Value1'; CustomField2 = 'Value2' } ``` Set `CustomField1` to `Value1` and `CustomField2` to `Value2` respectively for the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to set the custom field value(s) for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -deviceCustomFields[​](#-devicecustomfields "Direct link to -deviceCustomFields") The custom field(s) body object. ```yaml Type: Object Parameter Sets: (All) Aliases: customFields, body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Maintenance 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[​](#synopsis "Direct link to SYNOPSIS") Sets a new maintenance window for the specified device(s) #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneDeviceMaintenance [-deviceId] [-disabledFeatures] [[-start] ] [[-unixStart] ] [[-end] ] [[-unixEnd] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Schedule a new maintenance window for the given device(s) using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ disabledFeatures = @( "ALERTS" ) reasonMessage = "string" end = 0 start = 0 } PS> Set-NinjaOneDeviceMaintenance -deviceId 1 -deviceId $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneDeviceMaintenance -Identity 123 -Property 'Value' ``` Updates the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to set a maintenance window for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -disabledFeatures[​](#-disabledfeatures "Direct link to -disabledFeatures") The features to disable during maintenance. ```yaml Type: String[] Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -start[​](#-start "Direct link to -start") The start date/time for the maintenance window - PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -unixStart[​](#-unixstart "Direct link to -unixStart") The start date/time for the maintenance window - Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -end[​](#-end "Direct link to -end") The end date/time for the maintenance window - PowerShell DateTime object. ```yaml Type: DateTime Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -unixEnd[​](#-unixend "Direct link to -unixEnd") The end date/time for the maintenance window - Unix Epoch time. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Owner 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[​](#synopsis "Direct link to SYNOPSIS") Sets device Owner. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneDeviceOwner [-deviceId] [-ownerId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets device Owner using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneDeviceOwner -deviceId 123 -ownerId 'owner-uid-123' ``` Sets the owner for the specified device. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to set the information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -ownerId[​](#-ownerid "Direct link to -ownerId") The device information body object. ```yaml Type: String Parameter Sets: (All) Aliases: ownerUid Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Document Template 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[​](#synopsis "Direct link to SYNOPSIS") Sets a document template. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneDocumentTemplate [-documentTemplateId] [[-name] ] [[-description] ] [-allowMultiple] [-mandatory] [-fields] [-availableToAllTechnicians] [[-allowedTechnicianRoles] ] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates a document template using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ fields = @( @{ fieldDescription = "string" uiElementType = "TITLE" fieldName = "string" fieldApiPermission = "NONE" fieldScriptPermission = "NONE" fieldType = "DROPDOWN" fieldLabel = "string" fieldDefaultValue = "string" fieldContent = @{ values = @( @{ id = "00000000-0000-0000-0000-000000000000" active = $false name = "string" } ) footerText = "string" required = $false tooltipText = "string" advancedSettings = @{ complexityRules = @{ greaterOrEqualThanSixCharacters = $false mustContainOneUppercaseLetter = $false mustContainOneInteger = $false mustContainOneLowercaseLetter = $false } monetary = @{ currency = "USD" } ipAddressType = "ALL" fileMaxSize = 0 fileExtensions = @( "string" ) templates = @( 0 ) org = @( 0 ) dateFilters = @{ selected = @( "string" ) type = "NONE" } identifier = @{ nextSequenceNumber = 0 automaticGenerationEnabled = $false prefix = "string" suffix = "string" scope = "NONE" type = "CUSTOM" assignTo = "NEW_ASSETS_ONLY" } numericRange = @{ min = 0 max = 0 } maxCharacters = 0 nodeClass = @( "WINDOWS_SERVER" ) expandLargeValueOnRender = $false } } fieldId = 0 uiElementValue = "string" uiElementUid = "00000000-0000-0000-0000-000000000000" fieldTechnicianPermission = "NONE" uiElementName = "string" } ) description = "string" mandatory = $false allowedTechnicianRoles = @( 0 ) availableToAllTechnicians = $false name = "string" } PS> Set-NinjaOneDocumentTemplate -documentTemplateId 1 -documentTemplateId $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneDocumentTemplate -Identity 123 -Property 'Value' ``` Updates the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -documentTemplateId[​](#-documenttemplateid "Direct link to -documentTemplateId") The document template id to update. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -name[​](#-name "Direct link to -name") The name of the document template. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -description[​](#-description "Direct link to -description") The description of the document template. ```yaml Type: String Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -allowMultiple[​](#-allowmultiple "Direct link to -allowMultiple") Allow multiple instances of this document template to be used per organisation. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 4 Default value: False Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -mandatory[​](#-mandatory "Direct link to -mandatory") Is this document template mandatory for all organisations. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 5 Default value: False Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -fields[​](#-fields "Direct link to -fields") The document template fields. ```yaml Type: Object[] Parameter Sets: (All) Aliases: Required: True Position: 6 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -availableToAllTechnicians[​](#-availabletoalltechnicians "Direct link to -availableToAllTechnicians") Make this template available to all technicians. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: 7 Default value: False Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -allowedTechnicianRoles[​](#-allowedtechnicianroles "Direct link to -allowedTechnicianRoles") Set the technician roles that can access this template. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: False Position: 8 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the document template that was created. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### End User 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[​](#synopsis "Direct link to SYNOPSIS") Updates an end user. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneEndUser [-id] [-endUser] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an end user via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneEndUser -Id 101 -endUser @{ phone = '+3100000000' } ``` Updates the end user 101. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ lastName = "string" fullPortalAccess = $false organizationId = 0 firstName = "string" } PS> Set-NinjaOneEndUser -id 1 -endUser $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") The end user Id to update. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -endUser[​](#-enduser "Direct link to -endUser") The end user update object. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or updated resource per API.[​](#status-code-or-updated-resource-per-api "Direct link to Status code or updated resource per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### End User Custom Fields 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[​](#synopsis "Direct link to SYNOPSIS") Updates custom fields for an end user. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneEndUserCustomFields [-id] [-customFields] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates end user custom fields via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneEndUserCustomFields -Id 101 -customFields @{ field1='value' } ``` Updates custom fields for end user 101. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ additionalProp1 = @{ } } PS> Set-NinjaOneEndUserCustomFields -id 1 -customFields $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") The end user Id to update custom fields for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -customFields[​](#-customfields "Direct link to -customFields") The custom fields update object. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### End User Device Access 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[​](#synopsis "Direct link to SYNOPSIS") Updates end user device access. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneEndUserDeviceAccess [-id] [[-addDeviceIds] ] [[-removeDeviceIds] ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates the set of devices an end user can access using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneEndUserDeviceAccess -Id 101 -addDeviceIds 10, 11 -removeDeviceIds 12 ``` Adds devices 10 and 11 and removes device 12 from end user 101 access. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") The end user ID. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -addDeviceIds[​](#-adddeviceids "Direct link to -addDeviceIds") Device IDs to add to the end user's accessible devices. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: False Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -removeDeviceIds[​](#-removedeviceids "Direct link to -removeDeviceIds") Device IDs to remove from the end user's accessible devices. ```yaml Type: Int32[] Parameter Sets: (All) Aliases: Required: False Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### The API response indicating success or failure.[​](#the-api-response-indicating-success-or-failure "Direct link to The API response indicating success or failure.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Knowledge Base Article 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[​](#synopsis "Direct link to SYNOPSIS") Updates knowledge base articles. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneKnowledgeBaseArticles [-articles] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates one of more knowledge base articles via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneKnowledgeBaseArticles -articles @{ articles = @(@{ id=1; name='New' }) } ``` Updates the specified KB articles. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ id = 0 content = @{ text = "string" html = "string" } name = "string" } ) PS> Set-NinjaOneKnowledgeBaseArticles -articles $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -articles[​](#-articles "Direct link to -articles") The knowledge base articles object containing updates. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Location 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[​](#synopsis "Direct link to SYNOPSIS") Sets location information, like name, address, description etc. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneLocation [-organisationId] [-locationId] [-locationInformation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets location information using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ address = "string" description = "string" userData = @{ additionalProp1 = "value" } name = "string" } PS> Set-NinjaOneLocation -organisationId 1 -locationId 1 -locationInformation $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneLocation -Identity 123 -Property 'Value' ``` Updates the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation to set the location information for. ```yaml 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[​](#-locationid "Direct link to -locationId") The location to set the information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -locationInformation[​](#-locationinformation "Direct link to -locationInformation") The location information body object. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Location Custom Fields 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[​](#synopsis "Direct link to SYNOPSIS") Sets an location's custom fields. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneLocationCustomFields [-organisationId] [-locationId] [-locationCustomFields] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets location custom field values using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell $LocationCustomFields = @{ field1 = 'value1' field2 = 'value2' } PS> Update-NinjaOneLocationCustomFields -organisationId 1 -locationId 2 -locationCustomFields $LocationCustomFields ``` Updates the custom fields for the location with id 2 belonging to the organisation with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ additionalProp1 = @{ } } PS> Set-NinjaOneLocationCustomFields -organisationId 1 -locationId 1 -locationCustomFields $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation to set the custom fields for. ```yaml 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[​](#-locationid "Direct link to -locationId") The location to set the custom fields for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -locationCustomFields[​](#-locationcustomfields "Direct link to -locationCustomFields") The organisation custom field body object. ```yaml Type: Object Parameter Sets: (All) Aliases: customFields, body Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Node Roles 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[​](#synopsis "Direct link to SYNOPSIS") Updates node roles in NinjaOne. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneNodeRoles [-nodeRoles] [-show] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates node roles using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneNodeRoles -nodeRoles @(@{ id = 1; name = 'Role A' }) ``` Updates node roles from the provided payload. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ icon = "string" id = 0 description = "string" name = "string" } ) PS> Set-NinjaOneNodeRoles -nodeRoles $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -nodeRoles[​](#-noderoles "Direct link to -nodeRoles") Node role payload to update. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -show[​](#-show "Direct link to -show") Show the updated node roles. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation 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[​](#synopsis "Direct link to SYNOPSIS") Sets organisation information, like name, node approval mode etc. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneOrganisation [-organisationId] [-organisationInformation] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets organisation information using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ nodeApprovalMode = "AUTOMATIC" description = "string" userData = @{ additionalProp1 = "value" } name = "string" } PS> Set-NinjaOneOrganisation -organisationId 1 -organisationInformation $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation to set the information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -organisationInformation[​](#-organisationinformation "Direct link to -organisationInformation") The organisation information body object. ```yaml Type: Object Parameter Sets: (All) Aliases: organizationInformation, body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Checklists 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[​](#synopsis "Direct link to SYNOPSIS") Updates organisation checklists. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneOrganisationChecklists [-checklists] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates organisation checklists via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneOrganisationChecklists -checklists @{ ... } ``` Updates organisation checklists. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ required = $false tasks = @( @{ completed = $false assignedToUserId = 0 position = 0 description = @{ text = "string" html = "string" } id = 0 name = "string" dueDate = 0 } ) description = @{ } checklistId = 0 assignedToUserId = 0 name = "string" dueDate = 0 } ) PS> Set-NinjaOneOrganisationChecklists -checklists $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -checklists[​](#-checklists "Direct link to -checklists") The checklists object containing updates. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Custom Fields 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[​](#synopsis "Direct link to SYNOPSIS") Updates an organisation's custom fields. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneOrganisationCustomFields [-organisationId] [-organisationCustomFields] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates organisation custom field values using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell $OrganisationCustomFields = @{ field1 = 'value1' field2 = 'value2' } PS> Update-NinjaOneOrganisationCustomFields -organisationId 1 -organisationCustomFields $OrganisationCustomFields ``` Updates the custom fields for the organisation with id 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ additionalProp1 = @{ } } PS> Set-NinjaOneOrganisationCustomFields -organisationId 1 -organisationCustomFields $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation to set the custom fields for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -organisationCustomFields[​](#-organisationcustomfields "Direct link to -organisationCustomFields") The organisation custom field body object. ```yaml Type: Object Parameter Sets: (All) Aliases: customFields, body, organizationCustomFields Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Document 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[​](#synopsis "Direct link to SYNOPSIS") Sets an organisation document. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneOrganisationDocument [-organisationId] [-clientDocumentId] [-organisationDocument] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets organisation documents using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ documentName = "string" fields = @{ additionalProp1 = @{ } } documentDescription = "string" } PS> Set-NinjaOneOrganisationDocument -clientDocumentId 1 -organisationDocument $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneOrganisationDocument -Identity 123 -Property 'Value' ``` Updates the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation to set the information for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -clientDocumentId[​](#-clientdocumentid "Direct link to -clientDocumentId") The organisation document id to update. ```yaml Type: Int32 Parameter Sets: (All) Aliases: documentId Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -organisationDocument[​](#-organisationdocument "Direct link to -organisationDocument") The organisation information body object. ```yaml Type: Object Parameter Sets: (All) Aliases: organizationDocument, body Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Documents 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[​](#synopsis "Direct link to SYNOPSIS") Sets one or more organisation documents. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneOrganisationDocuments [-organisationDocuments] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets one or more organisation documents using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ documentName = "string" documentId = 0 documentDescription = "string" fields = @{ additionalProp1 = @{ } } } ) PS> Set-NinjaOneOrganisationDocuments -organisationDocuments $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneOrganisationDocuments -Identity 123 -Property 'Value' ``` Updates the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationDocuments[​](#-organisationdocuments "Direct link to -organisationDocuments") The organisation documents to update. ```yaml Type: NinjaOneOrganisationDocument[] Parameter Sets: (All) Aliases: organizationDocuments, body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Organisation Policies 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[​](#synopsis "Direct link to SYNOPSIS") Sets policy assignment for node role(s) for an organisation. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ##### Multiple[​](#multiple "Direct link to Multiple") ```powershell Set-NinjaOneOrganisationPolicies [-organisationId] [-policyAssignments] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ##### Single[​](#single "Direct link to Single") ```powershell Set-NinjaOneOrganisationPolicies [-organisationId] [-nodeRoleId] [-policyId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets policy assignment for node role(s) for an organisation using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ nodeRoleId = 0 policyId = 0 } ) PS> Set-NinjaOneOrganisationPolicies -organisationId 1 -organisationId $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneOrganisationPolicies -Identity 123 -Property 'Value' ``` Updates the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -organisationId[​](#-organisationid "Direct link to -organisationId") The organisation to update the policy assignment for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id, organizationId Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -nodeRoleId[​](#-noderoleid "Direct link to -nodeRoleId") The node role id to update the policy assignment for. ```yaml Type: Int32 Parameter Sets: Single Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -policyId[​](#-policyid "Direct link to -policyId") The policy id to assign to the node role. ```yaml Type: Int32 Parameter Sets: Single Aliases: Required: True Position: 3 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -policyAssignments[​](#-policyassignments "Direct link to -policyAssignments") The node role policy assignments to update. Should be an array of objects with the following properties: nodeRoleId, policyId. ```yaml Type: Object[] Parameter Sets: Multiple Aliases: Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software License 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[​](#synopsis "Direct link to SYNOPSIS") Updates a software license. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneSoftwareLicense [-licenseId] [-license] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an existing software license via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneSoftwareLicense -licenseId 1 -license @{ name = 'Microsoft Office 365' } ``` Updates the software license with ID 1. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ unassignedLicenses = @( 0 ) note = "string" purchaseDate = 0 assignedLicenses = @( 0 ) notificationChannelInfo = @{ pushNotification = "string" sms = "string" email = "string" } publisherId = 0 type = "PER_DEVICE" assigmentAutomationSettings = @{ type = "string" assignmentType = "NORMALIZED_SOFTWARE" } quantity = 0 description = "string" scope = @{ locationIds = @( 0 ) global = $false organizationIds = @( 0 ) } vendorId = 0 currentUsage = 0 term = @{ expirationDate = 0 value = 0 generateActivityAlert = $false hasNotifiedExpirationDate = $false renewalUnit = "MONTH" hasNotifiedUpToRenewal = $false daysBeforeExpiration = 0 autoRenewal = $false } name = "string" } PS> Set-NinjaOneSoftwareLicense -licenseId 1 -license $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -licenseId[​](#-licenseid "Direct link to -licenseId") The ID of the software license to update ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -license[​](#-license "Direct link to -license") Software license update payload per API schema ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the updated software license.[​](#a-powershell-object-containing-the-updated-software-license "Direct link to A PowerShell object containing the updated software license.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Software License Assignments 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[​](#synopsis "Direct link to SYNOPSIS") Updates last-usage data for software license assignments. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneSoftwareLicenseAssignmentsLastUsage [-assignmentUsage] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates software license assignment last-usage data via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneSoftwareLicenseAssignmentsLastUsage -assignmentUsage @{ assignments = @() } ``` Updates software license assignment last-usage data. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -assignmentUsage[​](#-assignmentusage "Direct link to -assignmentUsage") The payload containing software license assignment last-usage updates. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab 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[​](#synopsis "Direct link to SYNOPSIS") Updates a custom tab. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTab [-tabId] [-tab] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates a custom tab via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneTab -tabId 5 -tab @{ name = 'New Name' } ``` Updates tab 5. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ position = 0 items = @( @{ uiElementUid = "00000000-0000-0000-0000-000000000000" uiElementValue = "string" uiElementCreateTime = 0 itemType = "ATTRIBUTE" uiElementType = "TITLE" id = 0 name = "string" uiElementUpdateTime = 0 } ) roleId = 0 } PS> Set-NinjaOneTab -tabId 1 -tab $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -tabId[​](#-tabid "Direct link to -tabId") The tab Id to update. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -tab[​](#-tab "Direct link to -tab") The tab update object. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab End User Order 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[​](#synopsis "Direct link to SYNOPSIS") Updates the order of custom tabs for end-user tabs. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTabEndUserOrder [-order] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates the order of custom tabs for end-user tabs via the NinjaOne v2 API. NOTE: All tabs defined for end-users must be specified in the payload. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneTabEndUserOrder -order @( @{ tabId = 1; order = 1 }, @{ tabId = 2; order = 2 } ) ``` Sets the order of the end-user tabs. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ tabId = 0 position = 0 } ) PS> Set-NinjaOneTabEndUserOrder -order $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -order[​](#-order "Direct link to -order") Array payload specifying the tab order per API schema (CustomTabsOrderPublicApiDTO\[]) ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or updated order data per API.[​](#status-code-or-updated-order-data-per-api "Direct link to Status code or updated order data per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Global Order 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[​](#synopsis "Direct link to SYNOPSIS") Updates the order of custom tabs globally. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTabGlobalOrder [-order] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates the order of globally available custom tabs via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneTabGlobalOrder -order @( @{ tabId = 1; order = 1 }, @{ tabId = 2; order = 2 } ) ``` Sets the global tabs order. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -order[​](#-order "Direct link to -order") Array payload specifying the tab ordering. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Updated order data per API.[​](#updated-order-data-per-api "Direct link to Updated order data per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Organisation Order 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[​](#synopsis "Direct link to SYNOPSIS") Updates the order of custom tabs for organizations and locations. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTabOrganisationOrder [-order] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates the order of custom tabs for organization/location tabs via the NinjaOne v2 API. NOTE: All org tabs must be specified. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneTabOrganisationOrder -order @( @{ tabId = 1; order = 1 }, @{ tabId = 2; order = 2 } ) ``` Sets the organization tabs order. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ tabId = 0 position = 0 } ) PS> Set-NinjaOneTabOrganisationOrder -order $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -order[​](#-order "Direct link to -order") Array payload specifying the tab ordering (CustomTabsOrderPublicApiDTO\[]) ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Updated order data per API.[​](#updated-order-data-per-api "Direct link to Updated order data per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Role Order 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[​](#synopsis "Direct link to SYNOPSIS") Updates the order of custom tabs for a specific role. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTabRoleOrder [-roleId] [-order] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates the order of custom tabs for a role via the NinjaOne v2 API. NOTE: Only tabs created on this role can be ordered. All tabs on the role must be specified. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneTabRoleOrder -roleId 10 -order @( @{ tabId = 1; order = 1 }, @{ tabId = 2; order = 2 } ) ``` Sets the role tabs order for role 10. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ tabId = 0 position = 0 } ) PS> Set-NinjaOneTabRoleOrder -roleId 1 -order $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -roleId[​](#-roleid "Direct link to -roleId") The role Id to set tab order for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -order[​](#-order "Direct link to -order") Array payload specifying the tab ordering (CustomTabsOrderPublicApiDTO\[]) ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Updated order data per API.[​](#updated-order-data-per-api "Direct link to Updated order data per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Tab Role Visibility 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[​](#synopsis "Direct link to SYNOPSIS") Sets tab visibility for a role. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTabRoleVisibility [-roleId] [-visibility] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Configures tab visibility for a specific role via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneTabRoleVisibility -roleId 10 -visibility @( @{ tabId = 1; visible = $true }, @{ tabId = 2; visible = $false } ) ``` Sets visibility for tabs on role 10. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @( @{ tabId = 0 hidden = $false } ) PS> Set-NinjaOneTabRoleVisibility -roleId 1 -visibility $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -roleId[​](#-roleid "Direct link to -roleId") The role Id to set tab visibility for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -visibility[​](#-visibility "Direct link to -visibility") Array payload (CustomTabsVisibilityPublicApiDTO\[]) ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Updated visibility data per API.[​](#updated-visibility-data-per-api "Direct link to Updated visibility data per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Technician 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[​](#synopsis "Direct link to SYNOPSIS") Updates a technician. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTechnician [-id] [-technician] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates a technician via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneTechnician -Id 77 -technician @{ phone = '+3100000000' } ``` Updates the technician 77. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ lastName = "string" firstName = "string" } PS> Set-NinjaOneTechnician -id 1 -technician $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -id[​](#-id "Direct link to -id") The technician Id to update. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -technician[​](#-technician "Direct link to -technician") The technician update object. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or updated resource per API.[​](#status-code-or-updated-resource-per-api "Direct link to Status code or updated resource per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Ticket 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[​](#synopsis "Direct link to SYNOPSIS") Sets a ticket. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneTicket [-ticketId] [-ticket] [-parseDateTime] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets a ticket using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ subject = "string" priority = "NONE" severity = "NONE" followupTime = 0 parentTicketId = 0 additionalAssignedTechnicianIds = @( 0 ) type = "PROBLEM" locationId = 0 status = "string" clientId = 0 ticketFormId = 0 nodeId = 0 requesterUid = "00000000-0000-0000-0000-000000000000" attributes = @( @{ attributeId = 0 id = 0 value = "string" } ) assignedAppUserId = 0 cc = @{ emails = @( "string" ) uids = @( "00000000-0000-0000-0000-000000000000" ) } version = 0 tags = @( "string" ) } PS> Set-NinjaOneTicket -ticketId 1 -ticket $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneTicket -Identity 123 -Property 'Value' ``` Updates the specified resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -ticketId[​](#-ticketid "Direct link to -ticketId") The ticket Id. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -ticket[​](#-ticket "Direct link to -ticket") The ticket object. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -parseDateTime[​](#-parsedatetime "Direct link to -parseDateTime") Parse date/time values in the response. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Unmanaged Device 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[​](#synopsis "Direct link to SYNOPSIS") Updates an unmanaged device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneUnmanagedDevice [-nodeId] [-unmanagedDevice] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates an unmanaged device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneUnmanagedDevice -nodeId 5001 -unmanagedDevice @{ hostname = 'asset-5001' } ``` Updates unmanaged device 5001. ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ warrantyStartDate = 0 orgId = 0 assignedUserUid = "00000000-0000-0000-0000-000000000000" assetFields = @{ assetExpectedLifetime = "string" assetPurchaseAmount = 0 assetPurchaseDate = 0 serialNumber = "string" assetId = "string" assetStatus = "string" } locationId = 0 name = "string" warrantyEndDate = 0 } PS> Set-NinjaOneUnmanagedDevice -nodeId 1 -unmanagedDevice $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -nodeId[​](#-nodeid "Direct link to -nodeId") Unmanaged device node Id ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -unmanagedDevice[​](#-unmanageddevice "Direct link to -unmanagedDevice") Update payload ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### Status code or updated resource per API.[​](#status-code-or-updated-resource-per-api "Direct link to Status code or updated resource per API.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### User Role Permissions 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[​](#synopsis "Direct link to SYNOPSIS") Updates organization permissions for a user role. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneUserRoleOrganizationPermissions [-roleId] [-permissions] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates organization permissions for the specified user role via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Set-NinjaOneUserRoleOrganizationPermissions -roleId 10 -permissions @{ allowAll = $true } ``` Updates organization permissions for role 10. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -roleId[​](#-roleid "Direct link to -roleId") The user role ID to update permissions for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -permissions[​](#-permissions "Direct link to -permissions") The organization permissions payload. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Windows Service Configuration 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[​](#synopsis "Direct link to SYNOPSIS") Sets the configuration of the given Windows Service for the given device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Set-NinjaOneWindowsServiceConfiguration [-deviceId] [-serviceId] [-configuration] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Sets the configuration of the Windows Service for a single device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ startType = "AUTO_START" userName = "string" } PS> Set-NinjaOneWindowsServiceConfiguration -deviceId 1 -serviceId 1 -configuration $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Set-NinjaOneWindowsServiceConfiguration -deviceId "12345" -serviceId "NinjaRMMAgent" -Configuration @{ startType = "AUTO_START"; userName = "LocalSystem" } ``` #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to change servce configuration for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -serviceId[​](#-serviceid "Direct link to -serviceId") The service to alter configuration for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: 0 Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -configuration[​](#-configuration "Direct link to -configuration") The configuration to set. ```yaml Type: Object Parameter Sets: (All) Aliases: Required: True Position: 3 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device OS Patch Apply 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[​](#synopsis "Direct link to SYNOPSIS") Starts an OS Patch Apply on the target device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Start-NinjaOneOSPatchApply [-deviceId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Submits a job to start an OS patch apply on a device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Start-NinjaOneOSPatchApply -deviceId 1 ``` Start an OS Patch Apply on the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to start the OS patch apply for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device OS Patch Scan 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[​](#synopsis "Direct link to SYNOPSIS") Starts an OS Patch Scan job on the target device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Start-NinjaOneOSPatchScanJob [-deviceId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Submits a job (POST) to start an OS patch scan on a device via the NinjaOne v2 API. Complements the PATCH variant. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Start-NinjaOneOSPatchScanJob -deviceId 1 ``` Starts an OS Patch Scan job on device 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device Id to start the OS patch scan job for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Software Patch Apply 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[​](#synopsis "Direct link to SYNOPSIS") Starts a Software Patch Apply on the target device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Start-NinjaOneSoftwarePatchApply [-deviceId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Submits a job to start a software patch apply on a device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Start-NinjaOneSoftwarePatchApply -deviceId 1 ``` Start a Software Patch Apply on the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to start the software patch apply for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Device Software Patch Scan 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[​](#synopsis "Direct link to SYNOPSIS") Starts a Software Patch Scan on the target device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Start-NinjaOneSoftwarePatchScan [-deviceId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Submits a job to start a software patch scan on a device via the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Start-NinjaOneSoftwarePatchScan -deviceId 1 ``` Start a Software Patch Scan on the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to start the software patch scan for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A PowerShell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A PowerShell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### OS Patch Scan 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[​](#synopsis "Direct link to SYNOPSIS") Starts an OS Scan on the target device. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Start-NinjaOneOSPatchScan [-deviceId] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Starts an OS Patch Scan on a device using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell Start-NinjaOneOSPatchScan -deviceId 1 ``` Start an OS Patch Scan on the device with id 1. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -deviceId[​](#-deviceid "Direct link to -deviceId") The device to start the OS patch scan for. ```yaml Type: Int32 Parameter Sets: (All) Aliases: id Required: True Position: 1 Default value: 0 Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Webhook 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[​](#synopsis "Direct link to SYNOPSIS") Update webhook configuration for the current application/API client. #### SYNTAX[​](#syntax "Direct link to SYNTAX") ```powershell Update-NinjaOneWebhook [-webhookConfiguration] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` #### DESCRIPTION[​](#description "Direct link to DESCRIPTION") Updates webhook configuration for the current application/API client using the NinjaOne v2 API. #### EXAMPLES[​](#examples "Direct link to EXAMPLES") ##### EXAMPLE 1[​](#example-1 "Direct link to EXAMPLE 1") ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN PS> $body = @{ activities = @{ additionalProp1 = @( "string" ) } url = "string" headers = @( @{ value = "string" name = "string" } ) organizationIds = @( 0 ) expand = @( "string" ) } PS> Update-NinjaOneWebhook -webhookConfiguration $body # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Full request example (auto-generated). ##### EXAMPLE 2[​](#example-2 "Direct link to EXAMPLE 2") ```powershell Update-NinjaOneWebhook ``` Updates the resource. #### PARAMETERS[​](#parameters "Direct link to PARAMETERS") ##### -webhookConfiguration[​](#-webhookconfiguration "Direct link to -webhookConfiguration") The webhook configuration object. ```yaml Type: Object Parameter Sets: (All) Aliases: body Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -WhatIf[​](#-whatif "Direct link to -WhatIf") Shows what would happen if the cmdlet runs. The cmdlet is not run. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: wi Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### -Confirm[​](#-confirm "Direct link to -Confirm") Prompts you for confirmation before running the cmdlet. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: cf Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ##### CommonParameters[​](#commonparameters "Direct link to 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](http://go.microsoft.com/fwlink/?LinkID=113216). #### INPUTS[​](#inputs "Direct link to INPUTS") #### OUTPUTS[​](#outputs "Direct link to OUTPUTS") ##### A powershell object containing the response.[​](#a-powershell-object-containing-the-response "Direct link to A powershell object containing the response.") #### NOTES[​](#notes "Direct link to NOTES") #### RELATED LINKS[​](#related-links "Direct link to RELATED LINKS") --- ### Overview This page documents development workflows for the NinjaOne PowerShell module. #### Quick Start[​](#quick-start "Direct link to Quick Start") ```powershell pwsh -File .\DevOps\Build\bootstrap.ps1 pwsh -File .\DevOps\Build\build.ps1 -TaskNames build pwsh -File .\DevOps\Quality\test.ps1 ``` #### Contributing[​](#contributing "Direct link to Contributing") There are many ways to contribute to the project, including: * Submitting bug reports and feature requests. * Opening pull requests with bug fixes and new features. * Improving documentation and examples (note that most docs are generated from comment-based help, so doc improvements often come with code changes). * Reviewing and providing feedback on open pull requests. * Sponsoring development on [GitHub Sponsors](https://github.com/sponsors/homotechsual). #### Development Process[​](#development-process "Direct link to Development Process") Improvements should be submitted via pull requests *against the `develop` branch*. This allows for review and testing before merging into `main` for release. The project uses a CI workflow to run tests and build on pull requests, and a separate workflow to handle releases when changes are merged into `main` and tagged. PRs against main which are not from our `develop` branch will be closed without review, so please ensure you are targeting the correct branch. If you are unsure about the process or have questions, feel free to ask in the [Homotechsual Discord](https://discord.gg/NrCjh5ht7K) or the [NinjaOne Discord](https://discord.gg/NinjaOne). #### Repo Layout[​](#repo-layout "Direct link to Repo Layout") * `DevOps/Build` - build orchestration scripts and build config. * `DevOps/Quality` - test and static analysis scripts. * `DevOps/Help` - comment-based help generation and orchestration. * `Source` - module source. * `Tests` - Pester tests. * `docs/NinjaOne` - generated commandlet docs output. #### Bootstrap Environment[​](#bootstrap-environment "Direct link to Bootstrap Environment") Bootstrap installs required modules, prioritizes bundled modules, and configures git hooks. ```powershell pwsh -File .\DevOps\Build\bootstrap.ps1 ``` If bootstrap does not recover your local environment, rerun it and then reinstall the specific missing module from `DevOps\Build\RequiredModules.psd1`. ```powershell pwsh -File .\DevOps\Build\bootstrap.ps1 Install-Module Pester -Force ``` `bootstrap.ps1` currently accepts `-Force`, but the flag does not change reinstall behavior. #### Build[​](#build "Direct link to Build") The build script supports multiple tasks: * `clean` * `build` * `updateManifest` * `publish` * `publishDocs` * `updateHelp` * `generateShortNamesMapping` * `push` Build only: ```powershell pwsh -File .\DevOps\Build\build.ps1 -TaskNames build ``` The current default task list is: * `clean` * `build` * `updateManifest` * `publish` * `updateHelp` * `generateShortNamesMapping` * `push` For normal local development, prefer explicit task lists rather than invoking the default, because the default path includes publish and push-oriented tasks. ```powershell pwsh -File .\DevOps\Build\build.ps1 ``` #### Tests[​](#tests "Direct link to Tests") Tests run with Pester 6.x. By default, `test.ps1` runs the selected Pester suites and then performs a direct `Invoke-ScriptAnalyzer` pass against the module under test. ```powershell pwsh -File .\DevOps\Quality\test.ps1 ``` Skip ScriptAnalyzer during tests: ```powershell pwsh -File .\DevOps\Quality\test.ps1 -SkipScriptAnalyzer ``` #### PSScriptAnalyzer[​](#psscriptanalyzer "Direct link to PSScriptAnalyzer") Run the standalone analyzer pass (uses PSScriptAnalyzerSettings.psd1): ```powershell pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` The standalone analyzer wrapper excludes `CustomRules`, `output`, `Modules`, and `test-rules.ps1`. In normal repo linting, full settings are applied to `Source\Public`, and reduced settings are applied elsewhere. Public-surface rules such as camelCase parameter enforcement are intentionally scoped to exported cmdlets. #### Help Generation[​](#help-generation "Direct link to Help Generation") The help orchestration script exposes these phases: * `Generate` * `ApplyPublic` * `Verify` * `ApplyPrivate` * `All` Current state: * `Generate` creates the inventory/database of functions needing help. * `ApplyPublic` in the orchestrator prints next-step guidance rather than modifying files itself. * `Verify` in the orchestrator prints the suggested validation command. * Actual help insertion is handled by the dedicated helper scripts under `DevOps\Help`. Run the orchestrator inventory/preview flow: ```powershell pwsh -File .\DevOps\Help\Orchestrate-HelpGeneration.ps1 -Phase All ``` #### Full Request Example Generation[​](#full-request-example-generation "Direct link to Full Request Example Generation") The full request example generator injects a dedicated help example for POST/PUT/PATCH cmdlets that accept request bodies. It reads the OpenAPI YAML (downloaded by default) and inserts a help block between the explicit markers shown below. Existing examples remain untouched. It requires a `ConvertFrom-Yaml` implementation (install either `powershell-yaml` or `Yayaml`). ```text # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` Default run (downloads the OpenAPI YAML from the EU tenant): ```powershell pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 ``` Point at a local OpenAPI YAML file: ```powershell pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 -YamlPath C:\path\to\NinjaRMM-API-v2.yaml ``` Target a single endpoint path: ```powershell pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 -EndpointPath /v2/user/end-users ``` Target a specific cmdlet: ```powershell pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 -CommandName New-NinjaOneEndUser ``` What it does: * Downloads or loads the OpenAPI YAML and parses request body schemas. * Builds a minimal example object from the schema (first option for oneOf/anyOf/allOf). * Updates only the marked example block in comment-based help. * Inserts the example before the .OUTPUTS section if no block exists. Common parameters: * `-BaseUrl` defaults to `https://eu.ninjarmm.com`. * `-SourcePath` defaults to `Source\Public`. * `-EndpointPath` and `-CommandName` filter the scope. #### Docs Generation[​](#docs-generation "Direct link to Docs Generation") Regenerate the short name map and update docs output: ```powershell pwsh -File .\DevOps\Build\build.ps1 -TaskNames generateShortNamesMapping,updateHelp,publishDocs ``` `updateHelp` writes the canonical local `.mdx` output to `docs\NinjaOne\commandlets`. `publishDocs` then copies that generated output to `.build\docs` for downstream publishing automation. #### Release and Versioning[​](#release-and-versioning "Direct link to Release and Versioning") * The build script accepts `-SemVer` to set a specific version during build. * Update `CHANGELOG.md` and `Source/NinjaOne.psd1` together for releases. * Stable releases are promoted by merging `develop` into `main` and tagging the merge commit. * Stable `vX.Y.Z` tags must be cut from commits reachable from `main`. * Preview tags such as `-alpha`, `-beta`, and `-rc` must be reachable from `develop`. #### Delivery Workflow Summary[​](#delivery-workflow-summary "Direct link to Delivery Workflow Summary") 1. Develop and validate changes on `develop`. 2. Run `bootstrap`, `build`, `test`, and `run-pssa` locally. 3. If public cmdlets changed, regenerate help and docs output. 4. Merge the release-prep PR from `develop` into `main`. 5. Create the release tag and let the CI/release workflows publish the module, release notes, and docs. #### Development Docs[​](#development-docs "Direct link to Development Docs") Additional development pages are handled by the Docusaurus sidebar, including: * `Quality Gates & Code Standards` * `Help Generation Deep Dive` * `Test Coverage Enhancement Plan` * `Styling & Conventions` * `Troubleshooting Guide` * `Delivery & Release Process` #### PR Checklist[​](#pr-checklist "Direct link to PR Checklist") * Run `bootstrap.ps1` after pulling new dependencies. * Run `build.ps1 -TaskNames build` before opening a PR. * Run `test.ps1` (or `test.ps1 -SkipScriptAnalyzer` if PSSA is already run). * Run `run-pssa.ps1` to validate style and quality rules. * Update comment-based help and docs if you touched public functions. * Confirm `CHANGELOG.md` is updated when appropriate. * Review [Styling & Conventions](/modules/ninjaone/development/styling-conventions.md) for code standards. * Review [Quality Gates & Code Standards](/modules/ninjaone/development/quality-gates.md) for parameter documentation. #### Need Help?[​](#need-help "Direct link to Need Help?") See the **[Troubleshooting Guide](/modules/ninjaone/development/troubleshooting.md)** for solutions to common issues. --- ### Delivery & Release Process This page records the repo's normal development, CI, and release flow. #### Branch model[​](#branch-model "Direct link to Branch model") * `develop` is the active integration branch for day-to-day work. * `main` is the stable release branch. * Normal contributions should target `develop`. * Stable tags such as `v2.5.0` must point to commits reachable from `main`. * Preview tags such as `v2.6.0-beta1` may point to `develop`. #### Local change flow[​](#local-change-flow "Direct link to Local change flow") 1. Bootstrap the development environment. 2. Make the code or documentation changes. 3. Build and validate locally. 4. Regenerate help/docs if public cmdlets changed. 5. Open or update the pull request targeting `develop`. ```powershell pwsh -File .\DevOps\Build\bootstrap.ps1 pwsh -File .\DevOps\Build\build.ps1 -TaskNames build pwsh -File .\DevOps\Quality\test.ps1 pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` If public functions or comment-based help changed, also run: ```powershell pwsh -File .\DevOps\Build\build.ps1 -TaskNames generateShortNamesMapping,updateHelp,publishDocs ``` #### CI pipeline on `develop`[​](#ci-pipeline-on-develop "Direct link to ci-pipeline-on-develop") The `CI` workflow runs on pushes and pull requests targeting `develop`. It executes in this order: 1. **Lint with PSScriptAnalyzer** 2. **Run cross-platform smoke tests on macOS and Linux with PowerShell 7** 3. **Run the full Windows test job** 4. **Build the module and publish artifacts** 5. **Sync development docs after successful push runs** The cross-platform smoke job runs a lightweight `core,private` Pester subset on `ubuntu-latest` and `macos-latest` using `pwsh`. The Windows test job also bootstraps dependencies, builds the C# helper projects, uploads Pester results, and publishes coverage artifacts to Codecov. After a successful `push` run on `develop`, `sync-development-docs.yml` publishes `docs/NinjaOne/development` to `homotechsualdocs` at `docs/ninjaone/development`. #### Stable release flow[​](#stable-release-flow "Direct link to Stable release flow") 1. Update `CHANGELOG.md` and `Source/NinjaOne.psd1` together on `develop`. 2. Make sure the release-prep commit is green in CI. 3. Open or update the PR from `develop` into `main`. 4. Merge only after the required checks pass. 5. Create the stable release tag from the merged `main` commit. 6. Let the release workflows publish the module, release notes, and docs. Example tag flow: ```powershell git checkout main git pull origin main git tag v2.5.0 git push origin v2.5.0 ``` #### What the tag workflows do[​](#what-the-tag-workflows-do "Direct link to What the tag workflows do") ##### `tag-validate.yml`[​](#tag-validateyml "Direct link to tag-validateyml") Validates that the tag came from the correct branch: * stable tags must be reachable from `main` * prerelease tags must be reachable from `develop` ##### `build-and-publish.yml`[​](#build-and-publishyml "Direct link to build-and-publishyml") Builds and packages the module, generates documentation artifacts, publishes to the PowerShell Gallery, and uploads the release zip asset. ##### `create-release.yml`[​](#create-releaseyml "Direct link to create-releaseyml") Creates or updates the GitHub release using the matching section from `CHANGELOG.md`. ##### `publish-docs.yml`[​](#publish-docsyml "Direct link to publish-docsyml") Publishes the generated documentation artifact after a successful tagged release build. The release docs sync currently updates these paths in `homotechsualdocs`: * `docs/ninjaone/commandlets` from the generated release docs artifact * `docs/ninjaone/filters` from `docs/NinjaOne/filters` * `docs/ninjaone/index.mdx` from `docs/NinjaOne/index.mdx` ##### `sync-development-docs.yml`[​](#sync-development-docsyml "Direct link to sync-development-docsyml") Runs after successful `CI` push runs on `develop` and syncs `docs/NinjaOne/development` to `homotechsualdocs/docs/ninjaone/development`. #### Preview release flow[​](#preview-release-flow "Direct link to Preview release flow") Preview releases follow the same basic pattern, but use prerelease tags such as: * `v2.6.0-alpha1` * `v2.6.0-beta1` * `v2.6.0-rc1` These tags should be cut from commits reachable from `develop`. #### Scheduled maintenance workflow[​](#scheduled-maintenance-workflow "Direct link to Scheduled maintenance workflow") The repo also includes a monthly instance capability check workflow. It compares live instance API paths with repo metadata and cmdlet coverage, then produces a report and can open or update tracking issues when drift is detected. #### Issue triage workflow[​](#issue-triage-workflow "Direct link to Issue triage workflow") When new work is identified, the normal pattern is: 1. Open or update a GitHub issue describing the bug, drift, or feature gap. 2. Confirm whether the work belongs in `develop` and whether it affects cmdlet metadata, tests, or docs. 3. Prefer small, targeted changes over large refactors. 4. If the issue is endpoint coverage related, match the existing cmdlet scaffold and metadata patterns. 5. Add or update lasting regression coverage where it protects real behavior. For endpoint drift and missing-coverage work, the monthly capability check report can be used as the starting point for new issues. #### Pull request workflow[​](#pull-request-workflow "Direct link to Pull request workflow") * Branch and PR work should flow through `develop`. * Run local validation before asking for review. * If public cmdlets changed, include help/doc regeneration in the update. * Address CI failures first, then address review comments with minimal, targeted fixes. * Merge to `main` only when the release branch or PR is ready for a stable cut. A typical PR checklist is: * build succeeds locally * tests pass locally * PSScriptAnalyzer is clean * manifest exports are updated if new public cmdlets were added * changelog is updated when the change is user-visible * review feedback and Copilot comments are addressed before merge #### Release checklist[​](#release-checklist "Direct link to Release checklist") * `CHANGELOG.md` and `Source/NinjaOne.psd1` are updated together * CI is green on the release-prep commit * the release PR into `main` is merged cleanly * the tag is created from the correct branch * GitHub Release and PowerShell Gallery publication complete successfully * documentation publishing completes successfully * development docs sync completes successfully after normal `develop` pushes when development pages changed --- ### Help Generation Deep Dive This page documents the comment-based help generation pipeline, which transforms inline help in PowerShell functions into comprehensive `.mdx` documentation files and module help. #### Overview[​](#overview "Direct link to Overview") Help generation is a multi-phase process that: 1. Inventories functions that still need help 2. Applies or regenerates comment-based help with the dedicated helper scripts 3. Validates help coverage with ScriptAnalyzer 4. Regenerates `.mdx` documentation from the source help 5. Optionally exports generated docs for downstream publishing workflows The pipeline is coordinated by `Orchestrate-HelpGeneration.ps1`. For local development, documentation generation ends at `updateHelp`. The `publishDocs` step is a CI/export step that copies already-generated docs into `.build\docs` for downstream publishing automation. The important distinction in the current repo is that the orchestrator is not a full end-to-end executor. It is best treated as an inventory and guidance entrypoint, while the actual file-writing work is performed by the dedicated scripts in `DevOps\Help`. #### Phases[​](#phases "Direct link to Phases") ##### Phase: Generate[​](#phase-generate "Direct link to Phase: Generate") **File**: `Generate-CommentBasedHelp.ps1` Reads comment-based help from function declarations and generates structured help objects. **What it does**: * Parses PowerShell comment blocks (`<#...#>`) * Extracts `.SYNOPSIS`, `.DESCRIPTION`, `.PARAMETER`, `.EXAMPLE`, `.OUTPUTS`, `.NOTES` * Validates required sections are present * Outputs structured help JSON **Example comment block**: ```powershell <# .SYNOPSIS Retrieves a NinjaOne device by ID. .DESCRIPTION Gets the device details for a specified device ID from the NinjaOne API. Returns comprehensive device information including status, location, and last contact. .PARAMETER deviceId The device ID to retrieve .PARAMETER filter Optional filter expression to apply .EXAMPLE PS> Get-NinjaOneDevice -deviceId 123 Retrieves device with ID 123. .EXAMPLE PS> Get-NinjaOneDevice -deviceId 456 -filter "status:active" Retrieves device 456 with status filter applied. .OUTPUTS [PSCustomObject] Device details object with properties: id, name, status, location, lastContact .NOTES Requires authentication via Set-NinjaOneSecrets #> function Get-NinjaOneDevice { # ... } ``` **Run individually**: ```powershell pwsh -File .\DevOps\Help\Generate-CommentBasedHelp.ps1 ``` ##### Phase: ApplyPublic[​](#phase-applypublic "Direct link to Phase: ApplyPublic") **Files**: `Apply-CommentBasedHelpToFunctions.ps1`, `Apply-GeneratedHelpToFunctions.ps1` Applies generated or regenerated help blocks to source files. **What it does**: * `Apply-CommentBasedHelpToFunctions.ps1` scans files, generates help for functions missing it, inserts blocks, and validates syntax * `Apply-GeneratedHelpToFunctions.ps1` uses the generated help database and applies help to specific named functions * `Orchestrate-HelpGeneration.ps1 -Phase ApplyPublic` currently prints next-step guidance and does not perform the writes itself **Run individually**: ```powershell pwsh -File .\DevOps\Help\Apply-CommentBasedHelpToFunctions.ps1 -SourcePath .\Source\Public ``` ##### Phase: Verify[​](#phase-verify "Direct link to Phase: Verify") **File**: (part of orchestration) Validates that all public functions have complete help documentation. **Checks**: * All public functions have SYNOPSIS * Public functions have DESCRIPTION * Parameter documentation is present in source comments and/or retained help content * At least one `.EXAMPLE` present * `.OUTPUTS` section present when the help block includes one **What passes verification**: ```powershell <# .SYNOPSIS Retrieves device information. .DESCRIPTION Gets detailed information about a NinjaOne device. .PARAMETER deviceId The device ID .EXAMPLE Get-NinjaOneDevice -deviceId 123 .OUTPUTS [PSCustomObject] Device information #> ``` **What fails verification**: ```powershell <# .SYNOPSIS Gets a device. # Missing DESCRIPTION, PARAMETER, EXAMPLE, OUTPUTS #> ``` `Orchestrate-HelpGeneration.ps1 -Phase Verify` currently prints the suggested validation command rather than running a full write-and-verify cycle itself. ##### Private Function Help[​](#private-function-help "Direct link to Private Function Help") **File**: `Apply-PrivateFunctionHelp.ps1` Generates and applies help for private functions (used internally, not exported). **Purpose**: * Allows module developers to understand internal functions * Generates help visible via `Get-Help` during module development * Not included in public-facing documentation **Run individually**: ```powershell pwsh -File .\DevOps\Help\Apply-PrivateFunctionHelp.ps1 ``` Use the standalone helper directly for private help application. The current orchestrator script advertises an `ApplyPrivate` phase, but its main execution path does not currently wire that phase in. #### Full Request Example Generation[​](#full-request-example-generation "Direct link to Full Request Example Generation") **File**: `Generate-FullRequestExamples.ps1` For POST/PUT/PATCH cmdlets that accept request bodies, this generates realistic example requests from the OpenAPI schema and injects them into help. **Why it exists**: * API request bodies can be complex with many nested objects * Examples should show real request structure * Manual examples get outdated when API schema changes **How it works**: 1. Downloads or loads OpenAPI YAML specification 2. Parses request body schema for each endpoint 3. Builds minimal example object from schema 4. Inserts example into help between markers: ```powershell # FULL REQUEST EXAMPLE (AUTO-GENERATED) - BEGIN $RequestBody = @{ firstName = "John" lastName = "Doe" email = "john.doe@example.com" } # FULL REQUEST EXAMPLE (AUTO-GENERATED) - END ``` **Run with defaults** (downloads from EU tenant): ```powershell pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 ``` **Target a local OpenAPI file**: ```powershell pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 -YamlPath C:\NinjaRMM-API-v2.yaml ``` **Target specific endpoint**: ```powershell pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 -EndpointPath /v2/user/end-users ``` **Target specific cmdlet**: ```powershell pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 -CommandName New-NinjaOneEndUser ``` **Options**: | Parameter | Default | Purpose | | --------------- | ------------------------- | --------------------------------------- | | `-YamlPath` | Downloads from API | Path to local OpenAPI YAML or URL | | `-BaseUrl` | `https://eu.ninjarmm.com` | NinjaOne tenant to download schema from | | `-SourcePath` | `Source\Public` | Functions to process | | `-EndpointPath` | (all) | Filter to specific API endpoint | | `-CommandName` | (all) | Filter to specific cmdlet | #### Running the Pipeline[​](#running-the-pipeline "Direct link to Running the Pipeline") ##### Current Orchestrator Flow[​](#current-orchestrator-flow "Direct link to Current Orchestrator Flow") Run the orchestrator when you want the inventory plus the printed next steps: ```powershell pwsh -File .\DevOps\Help\Orchestrate-HelpGeneration.ps1 -Phase All ``` Today, `-Phase All` is best read as: * generate the missing-help inventory * preview the public-apply next step * print the verification command ##### Recommended Working Flow[​](#recommended-working-flow "Direct link to Recommended Working Flow") ```powershell # 1. Generate inventory / review missing help pwsh -File .\DevOps\Help\Orchestrate-HelpGeneration.ps1 -Phase Generate # 2. Apply help to public functions pwsh -File .\DevOps\Help\Apply-CommentBasedHelpToFunctions.ps1 -SourcePath .\Source\Public # 3. Apply help to private functions if needed pwsh -File .\DevOps\Help\Apply-PrivateFunctionHelp.ps1 # 4. Regenerate request examples when body schemas changed pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 # 5. Rebuild generated docs pwsh -File .\DevOps\Build\build.ps1 -TaskNames generateShortNamesMapping,updateHelp # 6. Validate with the repo analyzer wrapper pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` ##### After Help Updates[​](#after-help-updates "Direct link to After Help Updates") Local workflow (`publishDocs` not required): ```powershell # 1. Generate new help content pwsh -File .\DevOps\Help\Orchestrate-HelpGeneration.ps1 -Phase All # 2. Generate request examples from latest schema pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 # 3. Update documentation and manifest pwsh -File .\DevOps\Build\build.ps1 -TaskNames updateHelp # Optional (CI/export only): copy generated docs to .build\docs for publishing workflows pwsh -File .\DevOps\Build\build.ps1 -TaskNames publishDocs ``` `updateHelp` writes the generated `.mdx` files to `docs\NinjaOne\commandlets`, which is the canonical local output to review and commit. #### .mdx Documentation Generation[​](#mdx-documentation-generation "Direct link to .mdx Documentation Generation") After help content is finalized, `updateHelp` writes the generated command docs into the repo: ```powershell pwsh -File .\DevOps\Build\build.ps1 -TaskNames updateHelp ``` **Canonical local output**: `docs\NinjaOne\commandlets\` If you also need the export artifact used by publishing automation, run: ```powershell pwsh -File .\DevOps\Build\build.ps1 -TaskNames publishDocs ``` **Export output**: `.build/docs/docs/ninjaone/commandlets/` Each public function generates one `.mdx` file with: * Function signature * Synopsis and description * Parameter documentation * Usage examples * Output object structure * Links to related functions **Generated file example**: `Get-NinjaOneDevice.mdx` #### Troubleshooting Help Generation[​](#troubleshooting-help-generation "Direct link to Troubleshooting Help Generation") ##### "Help generation failed on \[phase]"[​](#help-generation-failed-on-phase "Direct link to \"Help generation failed on [phase]\"") Check the phase immediately before: ```powershell # If ApplyPublic fails: pwsh -File .\DevOps\Help\Orchestrate-HelpGeneration.ps1 -Phase Generate # If Verify fails: pwsh -File .\DevOps\Help\Orchestrate-HelpGeneration.ps1 -Phase ApplyPublic ``` Treat the orchestrator as inventory plus guidance. If a real write step fails, run the underlying helper script directly so you can see the actual parser or file-write failure. ##### "Verify phase reports missing documentation"[​](#verify-phase-reports-missing-documentation "Direct link to \"Verify phase reports missing documentation\"") Use the repo analyzer wrapper, or run the specific help rule directly: ```powershell pwsh -File .\DevOps\Quality\run-pssa.ps1 # Or target the help rule directly Get-ChildItem -Path . -Recurse -File -Include *.ps1,*.psm1,*.psd1 | Where-Object { $_.FullName -notmatch '\\output\\' -and $_.FullName -notmatch '\\HelpGeneration\\' } | Invoke-ScriptAnalyzer -Settings .\PSScriptAnalyzerSettings.psd1 -IncludeRule PSRequiredCommentBasedHelp ``` Add missing sections to function comment blocks: * `.SYNOPSIS` - One-line summary * `.DESCRIPTION` - Detailed explanation * `.EXAMPLE` - At least one usage example * `.OUTPUTS` - Output type and description Note that we do not use `.PARAMETER` sections instead parameters are documented "inline" with comments. ##### "Generated examples are wrong for my endpoint"[​](#generated-examples-are-wrong-for-my-endpoint "Direct link to \"Generated examples are wrong for my endpoint\"") Inspect the OpenAPI schema being used: ```powershell # Point at the YAML file: pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 -YamlPath C:\my-api.yaml -CommandName MyNewFunction -Verbose # Run just that function: Get-Content C:\my-api.yaml | Select-String "/v2/path/to/endpoint" -Context 10 ``` If the schema is incorrect, update the OpenAPI YAML or run with `-YamlPath` pointing to a corrected version. ##### "Build says UpdateHelp failed but script succeeded"[​](#build-says-updatehelp-failed-but-script-succeeded "Direct link to \"Build says UpdateHelp failed but script succeeded\"") The build script runs three tasks: `generateShortNamesMapping`, `updateHelp`, `publishDocs` ```powershell # Run individually to identify which failed: pwsh -File .\DevOps\Build\build.ps1 -TaskNames generateShortNamesMapping pwsh -File .\DevOps\Build\build.ps1 -TaskNames updateHelp pwsh -File .\DevOps\Build\build.ps1 -TaskNames publishDocs ``` ##### "Fill parameter Description appears in generated docs"[​](#fill-parameter-description-appears-in-generated-docs "Direct link to \"Fill parameter Description appears in generated docs\"") This indicates stale or incomplete help content. In this repo, the first place to check is the source function's inline parameter comments and comment-based help block. Regenerate docs after fixing: ```powershell pwsh -File .\DevOps\Build\build.ps1 -TaskNames generateShortNamesMapping,updateHelp,publishDocs ``` ##### "Get-Help returns incomplete information"[​](#get-help-returns-incomplete-information "Direct link to \"Get-Help returns incomplete information\"") Ensure the help was applied to the module: ```powershell # Reload the module Remove-Module NinjaOne -Force -ErrorAction SilentlyContinue Import-Module .\Output\NinjaOne\2.x.x\NinjaOne.psd1 -Force # Check help Get-Help Get-NinjaOneDevice -Full ``` If still incomplete, regenerate and reapply: ```powershell pwsh -File .\DevOps\Help\Orchestrate-HelpGeneration.ps1 -Phase All pwsh -File .\DevOps\Help\Apply-CommentBasedHelpToFunctions.ps1 -SourcePath .\Source\Public ``` #### Comment Block Best Practices[​](#comment-block-best-practices "Direct link to Comment Block Best Practices") ##### Structure[​](#structure "Direct link to Structure") ```powershell <# .SYNOPSIS One-line description. .DESCRIPTION Detailed explanation. Can span multiple lines. Explain the purpose, behavior, and any important details. .PARAMETER paramName Description of this parameter. .PARAMETER anotherParam Description of another parameter. .EXAMPLE PS> Command-Name -param1 value -param2 value Explanation of what this example does. .EXAMPLE PS> Command-Name -param1 value Another example showing different usage. .OUTPUTS [OutputType] Description of return value. .NOTES Any additional information like authentication requirements. .LINK Related function name #> ``` ##### SYNOPSIS Style[​](#synopsis-style "Direct link to SYNOPSIS Style") * One line only, no periods at end * Verb-noun format preferred * Be specific: "Retrieves" not "Gets things about" ##### DESCRIPTION Style[​](#description-style "Direct link to DESCRIPTION Style") * 2-4 sentences typical * Explain what it does and why * Not a tutorial, but clear to first-time users ##### PARAMETER Style[​](#parameter-style "Direct link to PARAMETER Style") * Brief description (one sentence if possible) * Explain valid values for enums * Document defaults if non-obvious ##### EXAMPLE Style[​](#example-style "Direct link to EXAMPLE Style") * Show realistic usage scenarios * Include parameters that matter * Add explanatory comment after ##### OUTPUTS Style[​](#outputs-style "Direct link to OUTPUTS Style") * Specify type in `[brackets]` * List important properties * Note if output can be $null #### See Also[​](#see-also "Direct link to See Also") * [Quality Gates & Code Standards](/modules/ninjaone/development/quality-gates.md) * [Development Workflow](/modules/ninjaone/development.md) * [PowerShell Comment-Based Help](https://learn.microsoft.com/PowerShell/module/microsoft.powershell.core/about/about_comment_based_help) --- ### Instance Endpoint Drift This page is generated by `DevOps/Build/build.ps1` during docs publishing. It summarizes endpoint differences between tracked NinjaOne instances and repository/cmdlet coverage. Last generated (UTC): `2026-08-24 06:34:27` #### Latest Drift Snapshot[​](#latest-drift-snapshot "Direct link to Latest Drift Snapshot") #### NinjaOne instance endpoint drift report[​](#ninjaone-instance-endpoint-drift-report "Direct link to NinjaOne instance endpoint drift report") | Instance | App version | Paths | Live endpoints without cmdlet coverage | Removed (repo + cmdlet) | Removed (repo only) | Removed (cmdlet only) | | -------- | ----------- | ----- | -------------------------------------- | ----------------------- | ------------------- | --------------------- | | eu | 14.1.20 | 250 | 0 | 0 | 0 | 0 | | oc | 14.1.20 | 250 | 0 | 0 | 0 | 0 | | us | 14.1.20 | 250 | 0 | 0 | 0 | 0 | | ca | 14.1.20 | 250 | 0 | 0 | 0 | 0 | | us2 | 14.1.20 | 250 | 0 | 0 | 0 | 0 | | fed | 14.1.25 | 250 | 0 | 0 | 0 | 0 | No live endpoints without cmdlet coverage were detected. No removed endpoints were detected across the tracked comparison sets. --- ### Quality Gates & Code Standards This page documents the quality gates and code standards enforced in the NinjaOne module through PSScriptAnalyzer and custom rules. #### Overview[​](#overview "Direct link to Overview") Code quality is maintained through: * **PSScriptAnalyzer** - Static analysis rules from the PSScriptAnalyzer module * **Custom Rules** - Project-specific rules that enforce module conventions * **Parameter Documentation** - Inline comment descriptions emitted as the `PSMissingParameterInlineComment` diagnostic * **Help Documentation** - Comment-based help for all public functions #### Running Quality Checks[​](#running-quality-checks "Direct link to Running Quality Checks") ##### Full Analysis[​](#full-analysis "Direct link to Full Analysis") Run all quality checks including tests and analysis: ```powershell pwsh -File .\DevOps\Quality\test.ps1 ``` ##### Analysis Only[​](#analysis-only "Direct link to Analysis Only") Run PSScriptAnalyzer without tests: ```powershell pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` The analyzer uses `PSScriptAnalyzerSettings.psd1` and excludes: * `CustomRules` - Custom rule definitions themselves * `output` - Generated build artifacts * `Modules` - Third-party bundled modules * `test-rules.ps1` - Test helper for PSSA itself The repo lint entrypoints also split rule scope deliberately: * Full settings are applied to `Source\Public` * Non-public files are analyzed with a reduced settings object This is how the repo currently enforces public-surface conventions such as camelCase parameter names without forcing the same rule across every test and helper script. #### Custom Rules[​](#custom-rules "Direct link to Custom Rules") Custom rules are defined in `CustomRules/` and loaded automatically by the test and analysis scripts. Common custom rules currently enforced by the repo include: | Diagnostic ID | Implemented By | Scope in repo linting | Purpose | | -------------------------------------- | -------------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------- | | `PSMissingParameterInlineComment` | `Measure-MissingParameterDescription` | scanned files unless suppressed | Requires a comment line immediately before each parameter | | `PSRequiredCommentBasedHelp` | `Measure-RequiredCommentBasedHelp` | scanned files | Requires comment-based help; public functions also need `.DESCRIPTION` and `.EXAMPLE` | | `PSCommentBasedHelpEmptySection` | `Measure-EmptyCommentBasedHelpSections` | scanned files | Flags empty CBH sections | | `PSUseCamelCaseParameterName` | `Measure-RequireCamelCaseParameterName` | `Source\Public` in repo lint entrypoints | Enforces camelCase parameter names on exported cmdlets | | `PSAvoidSelfReferentialParameterAlias` | `Measure-AvoidSelfReferentialParameterAlias` | `Source\Public` | Flags aliases that duplicate the parameter name | | `PSUseProperTypeAcceleratorCasing` | `Measure-RequireProperTypeAcceleratorCasing` | `Source\Public` | Enforces canonical casing for type accelerators | ##### Measure-MissingParameterDescription (`PSMissingParameterInlineComment`)[​](#measure-missingparameterdescription-psmissingparameterinlinecomment "Direct link to measure-missingparameterdescription-psmissingparameterinlinecomment") **Rule**: Parameters in analyzed functions must have a comment line immediately before the parameter declaration unless that diagnostic is suppressed. **Purpose**: Ensures parameters are described close to the declaration site and keeps generated help grounded in the source. **Example - Bad**: ```powershell function Get-NinjaOneDevice { [CmdletBinding()] param( [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string]$deviceId, [string]$filter ) ``` **Example - Good**: ```powershell function Get-NinjaOneDevice { [CmdletBinding()] param( [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] # The device ID to retrieve information for. [string]$deviceId, # Optional filter expression. See the filters documentation for more information. [string]$filter ) ``` **For Public Functions**: * Required in normal repo linting. * These comments should sit immediately before the parameter, not after it. **For Internal Functions**: * The diagnostic still exists when those files are analyzed. * Internal/dev/test scripts often suppress it explicitly when full parameter prose would add noise. #### Suppressing Rules[​](#suppressing-rules "Direct link to Suppressing Rules") Some internal scripts (DevOps tooling, private functions, test utilities) don't require full parameter documentation. Use diagnostic suppression attributes to explicitly allow this. ##### Suppression Syntax[​](#suppression-syntax "Direct link to Suppression Syntax") ```powershell [Diagnostics.CodeAnalysis.SuppressMessageAttribute('RuleName', '', Justification = 'reason')] ``` ##### Script-Level Suppression[​](#script-level-suppression "Direct link to Script-Level Suppression") Apply at the top of the script file to suppress the rule for all functions: ```powershell #requires -Version 7 [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSMissingParameterInlineComment', '', Justification = 'Internal DevOps script does not require parameter descriptions.')] param() function Build-Module { param( [string]$config, [switch]$verbose ) # ... } ``` ##### Function-Level Suppression[​](#function-level-suppression "Direct link to Function-Level Suppression") Apply immediately before the function declaration to suppress only that function: ```powershell [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSMissingParameterInlineComment', '', Justification = 'Private helper function used internally.')] function ConvertTo-JsonString { param( [hashtable]$data, [int]$depth ) # ... } ``` ##### Nested Function Suppression[​](#nested-function-suppression "Direct link to Nested Function Suppression") Each nested function requires its own suppression: ```powershell function Test-Configuration { [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSMissingParameterInlineComment', '', Justification = 'Nested test helper.')] function ValidateInput { param([string]$value) return $value -ne $null } # Main logic } ``` #### Built-In Rules[​](#built-in-rules "Direct link to Built-In Rules") Common PSScriptAnalyzer rules enforced in this project: | Rule | Severity | Purpose | | ---------------------------------------------- | -------- | ----------------------------------------------------- | | PSUseSingularNouns | Warning | Encourages singular naming for non-collection objects | | PSAvoidDefaultValueSwitchParameter | Warning | Prevents switch parameters with default values | | PSUseCompatibleSyntax | Error | Ensures PowerShell 7+ compatibility | | PSAvoidUsingPositionalParameters | Warning | Encourages named parameters in function calls | | PSUseOutputTypeCorrectly | Warning | Validates `[OutputType()]` attributes | | PSAvoidUsingInvokeExpression | Error | Prevents security vulnerabilities with dynamic code | | PSAvoidUsingConvertToSecureStringWithPlainText | Error | Prevents plaintext password exposure | For the full list, see `PSScriptAnalyzerSettings.psd1`. #### Parameter Documentation Examples[​](#parameter-documentation-examples "Direct link to Parameter Documentation Examples") ##### Minimal Good Parameter[​](#minimal-good-parameter "Direct link to Minimal Good Parameter") ```powershell param( [Parameter(Mandatory)] # Device identifier [string]$deviceId ) ``` ##### Comprehensive Parameter[​](#comprehensive-parameter "Direct link to Comprehensive Parameter") ```powershell param( [Parameter(Mandatory, ValueFromPipeline)] [ValidateNotNullOrEmpty()] [Alias('DeviceID', 'ID')] # Device object(s) to retrieve information for [object[]]$device, [Parameter(ValueFromPipelineByPropertyName)] [ValidateSet('Active', 'Inactive', 'Archived')] # Filter by device status; defaults to Active [string]$status = 'Active', # Include detailed device information [switch]$includeDetails, # Results per page; defaults to 100 [int]$pageSize = 100 ) ``` **Key points**: * **First line**: Brief purpose or value description * **For switches**: Explain what enabling the switch does * **For parameters with defaults**: Explain the default behavior * **For enums**: List valid options if not self-explanatory * **For collections**: Clarify if single or multiple values accepted #### Documentation Quality Checklist[​](#documentation-quality-checklist "Direct link to Documentation Quality Checklist") Before submitting a PR with new or modified public functions: * All parameters have inline descriptions (comment line immediately before the parameter) * Descriptions follow the style guide above * Comment-based help is present and accurate * Any hand-written `.PARAMETER` sections are still accurate if present * \[ ] `PSScriptAnalyzer` passes without warnings * No placeholder text in generated docs (e.g., `Fill parameter Description`) #### Troubleshooting Quality Failures[​](#troubleshooting-quality-failures "Direct link to Troubleshooting Quality Failures") ##### "PSScriptAnalyzer found violations"[​](#psscriptanalyzer-found-violations "Direct link to \"PSScriptAnalyzer found violations\"") Run the analyzer to see details: ```powershell pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` ##### "Directory scan shows 0 violations but file scan shows many"[​](#directory-scan-shows-0-violations-but-file-scan-shows-many "Direct link to \"Directory scan shows 0 violations but file scan shows many\"") When running `Invoke-ScriptAnalyzer` with a directory path, you must use the `-Recurse` parameter to scan subdirectories: ```powershell # ❌ This won't find violations in subdirectories Invoke-ScriptAnalyzer -Path .\Source # ✅ This will find all violations Invoke-ScriptAnalyzer -Path .\Source -Recurse ``` The `run-pssa.ps1` script scans files recursively and applies the public-only rules through a split-settings approach. ##### "Rule doesn't apply to my function"[​](#rule-doesnt-apply-to-my-function "Direct link to \"Rule doesn't apply to my function\"") Verify the rule scope: * `PSMissingParameterInlineComment` can appear anywhere the analyzer scans unless it is suppressed * `PSUseCamelCaseParameterName`, `PSAvoidSelfReferentialParameterAlias`, and `PSUseProperTypeAcceleratorCasing` are intentionally enforced on `Source\Public` in the repo lint entrypoints * If suppressing, use a clear justification explaining why the diagnostic should not apply ##### "Suppression attribute isn't working"[​](#suppression-attribute-isnt-working "Direct link to \"Suppression attribute isn't working\"") Common issues: 1. **Wrong rule name**: Must match exactly (e.g., `PSMissingParameterInlineComment`, not `PSMissingParameter`) 2. **Wrong indentation**: Ensure the attribute is immediately before the function: ```powershell # ❌ Won't work - extra line [Diagnostics.CodeAnalysis.SuppressMessageAttribute(...)] function MyFunction { # ✅ Works - directly before function [Diagnostics.CodeAnalysis.SuppressMessageAttribute(...)] function MyFunction { ``` 3. **Nested function scope**: Nested functions need individual suppressions; script-level suppressions don't cascade #### See Also[​](#see-also "Direct link to See Also") * [Help Generation](/modules/ninjaone/development/help-generation-detailed.md) * [Development Workflow](/modules/ninjaone/development.md) * [PSScriptAnalyzer Documentation](https://learn.microsoft.com/powershell/utility-modules/psscriptanalyzer/overview) --- ### Styling & Conventions This page documents the coding conventions and style guidelines for the NinjaOne PowerShell module. #### Naming Conventions[​](#naming-conventions "Direct link to Naming Conventions") ##### Functions[​](#functions "Direct link to Functions") Follow PowerShell's Verb-Noun naming pattern: ```powershell # Good Get-NinjaOneDevice Set-NinjaOneDeviceName New-NinjaOneTag Remove-NinjaOneTag Invoke-NinjaOneDeviceRestart # Bad GetDevice # Missing module prefix NinjaDevice # Missing verb Get-Device-Details # Too many hyphens, unclear scope GetNinjaOneDevice # No hyphens (not PowerShell style) ``` **Rules**: * Use **Approved Verbs** from PowerShell's official list (`Get-Verb`) * Approved verbs for NinjaOne context: `Add`, `Connect`, `Find`, `Get`,`Invoke`, `Merge`, `Move`, `New`, `Remove`, `Rename`, `Reset`, `Restart`, `Restore`, `Set`, `Start`, `Update`. Additional verbs may be considered if they fit the action and are approved by the team. * Always include the module prefix: `NinjaOne` * Separate with hyphens: `Verb-NounNoun` ##### Function Parameters[​](#function-parameters "Direct link to Function Parameters") Use camelCase for parameter names: ```powershell # Good param( [string]$deviceId, [string]$organisationId, [int]$pageSize, [switch]$includeDetails ) # Bad param( [string]$device_id, # Snake case [string]$DeviceID, # All caps (use camelCase for multi-word) [int]$page_size, # Snake case [switch]$IncludeDetails # Should be camelCase not PascalCase ) ``` **Rules**: * Start with lowercase for all parameters, including switches * Use camelCase for multi-word parameters * Avoid underscores; use overlapping words or abbreviations * Switches should be descriptive: `$includeInactive`, `$skipValidation`, not `$i` or `$s` ##### Variables[​](#variables "Direct link to Variables") Use camelCase for local variables: ```powershell # Good $deviceName = $device.name $requestUri = "https://api/devices/$deviceId" $processedItems = @() # Bad $DeviceName = $device.name # PascalCase $_requestUri = $requestUri # Leading underscore (private members) $processed_items = @() # Snake case ``` **Rules**: * Use camelCase consistently * Private/internal variables: consider context clarity over convention * Avoid single letters except in loops: `for ($i = 0; ...)` ##### Classes and Enums[​](#classes-and-enums "Direct link to Classes and Enums") Use PascalCase: ```powershell # Good class NinjaOneOrganisationDocument { } enum DeviceStatus { Active; Inactive; Archived } # Bad class ninjaOneOrganisationDocument { } enum device_status { } ``` #### Code Style[​](#code-style "Direct link to Code Style") ##### Parameter Declarations[​](#parameter-declarations "Direct link to Parameter Declarations") Align parameter attributes for readability: ```powershell # Good - aligned param( [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string]$deviceId, [Parameter(ValueFromPipeline)] [AllowNull()] [object]$device, [ValidateRange(1, 100)] [int]$pageSize = 50 ) # Acceptable - compact param( [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string]$deviceId, [object]$device, [int]$pageSize = 50 ) # Avoid - hard to read param([Parameter(Mandatory)][ValidateNotNullOrEmpty()][string]$deviceId,[object]$device,[int]$pageSize = 50) ``` **Rules**: * One parameter per line * Attributes above parameter name * Descriptive comments for clarity * Include defaults when appropriate ##### Function Structure[​](#function-structure "Direct link to Function Structure") Standard layout for NinjaOne functions: ```powershell <# .SYNOPSIS Brief description. .DESCRIPTION Detailed description. .EXAMPLE Get-NinjaOneDevice -deviceId 123 .OUTPUTS [PSCustomObject] Device information. #> function Get-NinjaOneDevice { [CmdletBinding()] [OutputType([object])] param( [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] [ValidateNotNullOrEmpty()] # The device ID to retrieve [string]$deviceId ) begin { # Setup code } process { # Main logic try { $null = Invoke-NinjaOnePreFlightCheck $requestUri = "https://api.ninjarmm.com/v2/devices/$deviceId" $response = Invoke-NinjaOneGETRequest -Uri $requestUri return $response } catch { $PSCmdlet.ThrowTerminatingError($_) } } end { # Cleanup code } } ``` **Structure**: 1. Comment-based help (`<#...#>`) 2. `[CmdletBinding()]` attribute 3. `[OutputType()]` attribute (when return type is consistent) 4. `param()` block with inline parameter descriptions 5. `begin { }`, `process { }`, `end { }` sections (if needed) 6. Use `try/catch` for error handling 7. Use the surrounding codebase pattern for fatal errors (`throw` or `$PSCmdlet.ThrowTerminatingError(...)`) ##### Conditionals[​](#conditionals "Direct link to Conditionals") Use consistent formatting: ```powershell # Good - readable if ($device.status -eq 'Active') { Write-Verbose "Device is active" } elseif ($device.status -eq 'Inactive') { Write-Verbose "Device is inactive" } else { Write-Verbose "Device is archived" } # Avoid - cramped if ($device.status -eq 'Active') { Write-Verbose "Device is active" } elseif ($device.status -eq 'Inactive') { Write-Verbose "Device is inactive" } else { Write-Verbose "Device is archived" } ``` **Rules**: * Open brace on same line * One statement per line in block * Use `elseif` (not `else if`) * For simple conditions, parentheses optional but recommended ##### String Formatting[​](#string-formatting "Direct link to String Formatting") Prefer readable string formatting and avoid noisy concatenation. The repo contains both `-f` formatting and interpolation already, so follow nearby code and keep the result easy to scan. ```powershell # Good - clear formatting $message = "Device {0} not found" -f $deviceId $uri = "https://api.ninjarmm.com/v2/devices/{0}/details?filter={1}" -f $deviceId, $filter # Also acceptable when it matches surrounding code and stays readable $message = "Device $deviceId not found" # Avoid - hard to read concatenation $message = "Device " + $deviceId + " not found" # Avoid - mixed styles $uri = "https://api.ninjarmm.com/v2/devices/" + $deviceId + "/details?filter=" + $filter # Avoid - multiline with interpolation (hard to read) $message = @" Device $deviceId not found. Please check the ID and try again. "@ ``` **Rules**: * Prefer `-f` when formatting gets complex. * Short interpolation is fine when it is the clearest option and matches nearby code. * Avoid string concatenation with `+` for clarity. * Avoid hard-to-read interpolation in large or multiline strings. ##### Collections[​](#collections "Direct link to Collections") Use array syntax clearly: ```powershell # Good - explicit array $ids = @(1, 2, 3) $items = @() # Good - pipeline $items = Get-Item -Path *.ps1 # Avoid - ambiguous $ids = 1, 2, 3 $items = @ # Avoid - unnecessary conversion $ids = @(@(1, 2, 3)) ``` **Rules**: * Use `@()` for empty arrays: `$items = @()` * Use `@(value1, value2)` for multi-item arrays * Single items don't need `@()` prefix * Avoid nested `@()` unless necessary ##### Error Handling[​](#error-handling "Direct link to Error Handling") Use structured error handling: ```powershell # Good try { $response = $url | Invoke-WebRequest } catch [System.Net.HttpRequestException] { Write-Error "HTTP request failed: $_" return $null } catch { $PSCmdlet.ThrowTerminatingError($_) } # Acceptable for internal functions try { $response = $url | Invoke-WebRequest } catch { throw "Failed to fetch: $_" } ``` **Rules**: * Catch specific exceptions when possible * Log/write error before returning early * Use `throw` or `$PSCmdlet.ThrowTerminatingError(...)` consistently with the surrounding code path * Include `$_` or `$_.Exception.Message` in error output #### API Design Patterns[​](#api-design-patterns "Direct link to API Design Patterns") ##### Parameter Guidelines[​](#parameter-guidelines "Direct link to Parameter Guidelines") **Required Parameters**: Use `[Parameter(Mandatory)]` ```powershell param( [Parameter(Mandatory)] # Always required [string]$deviceId ) ``` **Pipeline Support**: Enable pipeline binding when logical ```powershell param( [Parameter(ValueFromPipeline, ValueFromPipelineByPropertyName)] # Accept device objects from pipeline [object]$device ) ``` **Common Parameter Sets**: Define overlapping parameters ```powershell param( [Parameter(Mandatory, ParameterSetName = 'ByDeviceId')] [string]$deviceId, [Parameter(Mandatory, ParameterSetName = 'ByName')] [string]$deviceName, [Parameter(Mandatory, ParameterSetName = 'ByObject')] [object]$device ) ``` ##### Return Values[​](#return-values "Direct link to Return Values") Always be explicit about return types: ```powershell [OutputType([object])] function Get-NinjaOneDevice { return $response } [OutputType([bool])] function Test-NinjaOneDeviceAccess { return $true } # Returns $null - no [OutputType] attribute function Initialize-NinjaOneSession { # No return statement } ``` **Rules**: * Specify `[OutputType()]` with type in brackets * Return consistent types (not sometimes array, sometimes single item) * Use `[object]` for complex/heterogeneous returns * For multiple types: `[OutputType([object[]], [bool])]` ##### Filtering and Selection[​](#filtering-and-selection "Direct link to Filtering and Selection") For functions that filter or retrieve collections: ```powershell # Good - logical parameters param( [ValidateSet('Active', 'Inactive', 'Archived')] # Filter by status [string]$status, [ValidateRange(1, 1000)] # Limit results [int]$limit = 100, # Pagination offset [int]$offset = 0, # OData filter expression [string]$filter ) # Bad - too many optional numeric parameters param( [int]$skip, [int]$take, [int]$pageNumber, [int]$pageSize, [int]$offset ) ``` **Rules**: * Consolidate related filtering into one parameter when possible * Use `ValidateSet` for predefined options * Support pagination with consistent naming: `offset`/`limit` or `page`/`pageSize` * Document filter syntax in help #### Documentation Impact[​](#documentation-impact "Direct link to Documentation Impact") Code style directly affects generated documentation: ```powershell 'Well-styled function: function Get-NinjaOneDevice { <# .SYNOPSIS Retrieves a specific NinjaOne device. .PARAMETER deviceId The device ID to retrieve # ← In generated docs #> param( [Parameter(Mandatory)] # The device ID to retrieve # ← Also in generated docs [string]$deviceId ) } # Generates: # Get-NinjaOneDevice [-deviceId] # # Retrieves a specific NinjaOne device. # # Parameters: # -deviceId # The device ID to retrieve ``` Always write code as if documentation will be auto-generated—because it will be. #### PR Checklist for Style[​](#pr-checklist-for-style "Direct link to PR Checklist for Style") Before submitting, verify: * Function names follow `Verb-NounNoun` pattern * Parameter names use camelCase * All parameters have descriptions using a comment line immediately before the parameter. * Return type specified with `[OutputType()]` * Comment-based help complete (SYNOPSIS, DESCRIPTION, examples) * Error handling follows the established pattern in nearby code * No PSScriptAnalyzer violations * Code passes style checks in test suite #### See Also[​](#see-also "Direct link to See Also") * [Quality Gates & Code Standards](/modules/ninjaone/development/quality-gates.md) * [Help Generation Deep Dive](/modules/ninjaone/development/help-generation-detailed.md) * [PowerShell Best Practices](https://learn.microsoft.com/powershell/scripting/developer/script-development-best-practices) * [Approved Verbs](https://learn.microsoft.com/powershell/scripting/developer/cmdlet/approved-verbs-for-powershell-commands) --- ### Test Coverage Enhancement Plan This page tracks the current incremental test-coverage plan, ordered by impact and risk. #### Goals[​](#goals "Direct link to Goals") * Increase line and branch coverage without broad refactors. * Prioritize high-reuse private helpers before adding many public wrappers. * Keep tests deterministic and cross-platform safe. #### Current Priority Order[​](#current-priority-order "Direct link to Current Priority Order") 1. Private request and error helpers 2. Public cmdlet endpoint/resource mapping tests 3. Low-risk class constructor/property coverage 4. Broader folder-by-folder public coverage expansion #### Batch 1 (Started)[​](#batch-1-started "Direct link to Batch 1 (Started)") Focus: * `New-NinjaOnePOSTRequest` * `New-NinjaOneError` * `Get-NinjaOneUsers` Implemented in this batch: * Added additional `New-NinjaOnePOSTRequest` tests for endpoint preflight behavior. * Added `Get-NinjaOneUsers` tests for default/organisation resource routing and no-result error delegation. #### Next Batches[​](#next-batches "Direct link to Next Batches") ##### Batch 2[​](#batch-2 "Direct link to Batch 2") Targets: * `Source/Private/New-NinjaOneQuery.ps1` * `Source/Private/Get-NinjaOneSecrets.ps1` Test themes: * query-string composition edge cases * secret fallback and incomplete secret set handling ##### Batch 3[​](#batch-3 "Direct link to Batch 3") Targets: * `Source/Public/System/Get/Get-NinjaOneAlerts.ps1` * `Source/Public/System/Get/Get-NinjaOneJobs.ps1` * `Source/Public/Queries/Get/Get-NinjaOneSoftwareInventory.ps1` Test themes: * resource selection * query propagation * null/empty result handling through `New-NinjaOneError` ##### Batch 4[​](#batch-4 "Direct link to Batch 4") Targets: * `Source/Classes/06-NinjaOneTicketBoardSort.Object.Class.ps1` Test themes: * constructor defaults * expected property mapping #### Validation Workflow Per Batch[​](#validation-workflow-per-batch "Direct link to Validation Workflow Per Batch") Run these checks after each test batch: ```powershell pwsh -File .\DevOps\Quality\test.ps1 -Suite private,public -skipScriptAnalyzer pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` Then review updated coverage artifacts under `.artifacts`: * `CodeCoverage.private.xml` * `CodeCoverage.public.xml` #### Notes[​](#notes "Direct link to Notes") * Prefer deterministic mocks over network/listener behavior in private tests. * Add behavior assertions (resource path, query/body shape, error delegation) before adding broad existence-only tests. --- ### Troubleshooting Guide Comprehensive troubleshooting for common NinjaOne development issues. #### Build & Environment[​](#build--environment "Direct link to Build & Environment") ##### "Build failed: Some packages failed to restore"[​](#build-failed-some-packages-failed-to-restore "Direct link to \"Build failed: Some packages failed to restore\"") **Symptoms**: Build halts during the restore phase with NuGet errors. **Solution**: ```powershell # Clear NuGet cache rm -r $HOME\.nuget\packages -Force # Rerun bootstrap pwsh -File .\DevOps\Build\bootstrap.ps1 # Retry build pwsh -File .\DevOps\Build\build.ps1 -TaskNames build ``` `bootstrap.ps1` currently accepts `-Force`, but the flag does not change module reinstall behavior. If a specific dependency is still missing, reinstall that module explicitly from `DevOps\Build\RequiredModules.psd1`. ##### "Build failed: Cannot find C# project binaries"[​](#build-failed-cannot-find-c-project-binaries "Direct link to \"Build failed: Cannot find C# project binaries\"") **Symptoms**: ```text Build output DLLs are in use. Processes: pwsh(...) -> ...MetadataAttribute.dll ``` **Cause**: PowerShell still has the DLL loaded from a previous session. **Solution**: ```powershell # Unload the module if (Get-Module NinjaOne) { Remove-Module NinjaOne -Force } # Restart the terminal or PowerShell process exit # Then reopen and retry pwsh -File .\DevOps\Build\build.ps1 -TaskNames build ``` **Prevention**: Always unload and close VS Code terminals before rebuilding. ##### "Bootstrap failed: Required module 'X' not found"[​](#bootstrap-failed-required-module-x-not-found "Direct link to \"Bootstrap failed: Required module 'X' not found\"") **Symptoms**: ```text The specified module 'Pester' was not found. ``` **Solution**: ```powershell # Check RequiredModules.psd1 Get-Content .\DevOps\Build\RequiredModules.psd1 # Rerun bootstrap pwsh -File .\DevOps\Build\bootstrap.ps1 # Install a specific missing module manually if needed Install-Module Pester -Force ``` note `Alt3.Docusaurus.PowerShell` is **not** a bootstrap-managed module. The repository ships a custom fork under `Modules\Alt3.Docusaurus.Powershell\` and the build script loads it automatically from there. Do not install it via `Install-Module`. ##### "Cannot import NinjaOne module: Missing dependency"[​](#cannot-import-ninjaone-module-missing-dependency "Direct link to \"Cannot import NinjaOne module: Missing dependency\"") **Symptoms**: ```text Import-Module : The specified module 'PowerShellYaml' was not found. ``` **Solution**: ```powershell # Verify bootstrap was run pwsh -File .\DevOps\Build\bootstrap.ps1 -Verbose # Check installed modules Get-Module -ListAvailable | Where-Object Name -in 'PowerShellYaml', 'Pester', 'PSScriptAnalyzer' # Install missing module Install-Module PowerShellYaml -AllowClobber ``` #### Testing & Quality[​](#testing--quality "Direct link to Testing & Quality") ##### "Tests failed: Object reference not set to an instance"[​](#tests-failed-object-reference-not-set-to-an-instance "Direct link to \"Tests failed: Object reference not set to an instance\"") **Symptoms**: Pester tests crash with null reference errors. **Cause**: Test scaffold not properly initialized. **Solution**: ```powershell # Rebuild module first pwsh -File .\DevOps\Build\build.ps1 -TaskNames build # Run tests with verbose output pwsh -File .\DevOps\Quality\test.ps1 -Verbose # Check specific test file pwsh -File .\Tests\NinjaOne.Core.Tests.ps1 ``` ##### "PSScriptAnalyzer found violations but run-pssa.ps1 shows 0"[​](#psscriptanalyzer-found-violations-but-run-pssaps1-shows-0 "Direct link to \"PSScriptAnalyzer found violations but run-pssa.ps1 shows 0\"") **Symptoms**: * Running `run-pssa.ps1` shows 0 violations * Running individual file scan shows violations * Directory scan shows 0 violations **Cause**: PSScriptAnalyzer requires `-Recurse` flag for directory scanning. The `run-pssa.ps1` script uses `Get-ChildItem -Recurse | Invoke-ScriptAnalyzer` which works correctly. **Solution - Verify script is working**: ```powershell # Run the analyzer script (uses correct recursive approach) pwsh -File .\DevOps\Quality\run-pssa.ps1 # If you're running Invoke-ScriptAnalyzer manually, use -Recurse: Invoke-ScriptAnalyzer -Path .\Source -Recurse -Settings .\PSScriptAnalyzerSettings.psd1 # NOT this (misses subdirectories): Invoke-ScriptAnalyzer -Path .\Source -Settings .\PSScriptAnalyzerSettings.psd1 ``` ##### "PSMissingParameterInlineComment violations after adding suppression"[​](#psmissingparameterinlinecomment-violations-after-adding-suppression "Direct link to \"PSMissingParameterInlineComment violations after adding suppression\"") **Symptoms**: Function still reports violation after adding suppression attribute. **Cause**: * Suppression in wrong location * Wrong rule name in attribute * Incorrect indentation The diagnostic name to suppress is still `PSMissingParameterInlineComment`, even though the custom rule implementation is `Measure-MissingParameterDescription`. **Solution**: ```powershell # 1. Verify rule name (copy exact spelling) # Rule: PSMissingParameterInlineComment # 2. Check indentation (attribute directly before function, no blank lines) # ❌ Wrong: [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSMissingParameterInlineComment', '', Justification = 'Internal use.')] function MyFunction { # ← Blank line between attribute and function # ✅ Correct: [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSMissingParameterInlineComment', '', Justification = 'Internal use.')] function MyFunction { # 3. For nested functions, each needs individual suppression function Outer { [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSMissingParameterInlineComment', '', Justification = 'Nested helper.')] function Inner { param($x) } } # After adding suppression, clear the module and rescan: Remove-Module NinjaOne -Force pwsh -File .\DevOps\Quality\run-pssa.ps1 ``` ##### "Tests pass locally but fail in CI"[​](#tests-pass-locally-but-fail-in-ci "Direct link to \"Tests pass locally but fail in CI\"") CI runs the full sequence — bootstrap, C# build, module build, then tests — on a clean `windows-latest` runner. Mismatches usually have one of these causes: 1. **Stale or missing C# binaries locally**: CI always builds the C# solution fresh and copies the resulting DLLs to `Source\Binaries\`. If your local binaries are out of date, your tests run against different code than CI does. ```powershell # Rebuild C# projects and copy DLLs Push-Location "C# Classes" dotnet build "C# Classes.sln" -c Release Pop-Location # Then rebuild the module pwsh -File .\DevOps\Build\build.ps1 -TaskNames clean,build ``` 2. **CI only triggers on `develop`**: The CI workflow only runs on pushes and PRs targeting `develop`. Changes on any other branch won't trigger it, so you may not have a CI run to compare against. Make sure your work is based on and targeting `develop`. 3. **Stale `.artifacts\` directory locally**: CI always starts clean. If your local `.artifacts\` contains leftover XML files or locked DLL files from a previous run, `test.ps1` may behave unexpectedly. ```powershell # Clean artifacts manually Remove-Item .\.artifacts\* -Recurse -Force -ErrorAction SilentlyContinue pwsh -File .\DevOps\Quality\test.ps1 ``` 4. **DLL locked by a previous session**: If PowerShell still holds a reference to a binary from a prior import, the test scaffold can't copy fresh binaries into its temporary folder. ```powershell # Remove any loaded module, then rerun tests in a fresh session Get-Module NinjaOne | Remove-Module -Force exit # Reopen terminal pwsh -File .\DevOps\Quality\test.ps1 ``` #### Help & Documentation[​](#help--documentation "Direct link to Help & Documentation") ##### "Docs generation creates empty markdown files"[​](#docs-generation-creates-empty-markdown-files "Direct link to \"Docs generation creates empty markdown files\"") **Symptoms**: Generated `.mdx` files exist but contain no content. **Cause**: Help wasn't applied to functions or comment blocks are malformed. **Solution**: ```powershell # Rebuild generated docs from source help pwsh -File .\DevOps\Build\build.ps1 -TaskNames generateShortNamesMapping,updateHelp # Verify function has help Get-Help Get-NinjaOneDevice -Full # If help is empty, check comment block: Get-Content .\Source\Public\Devices\Get-NinjaOneDevice.ps1 | Select-String "<#" -Context 20 ``` ##### "Help shows placeholder text in parameter descriptions"[​](#help-shows-placeholder-text-in-parameter-descriptions "Direct link to \"Help shows placeholder text in parameter descriptions\"") **Symptoms**: Generated docs contain incomplete parameter documentation like `Fill parameter Description`. **Cause**: Source help content or inline parameter descriptions are stale or incomplete. **Solution**: ```powershell # Find problem functions Select-String 'Fill.*Description' .\Source\Public\*.ps1 -Recurse # Fix the source help and inline parameter comments, then regenerate docs # After fixes, regenerate: pwsh -File .\DevOps\Build\build.ps1 -TaskNames generateShortNamesMapping,updateHelp,publishDocs ``` ##### "Full request examples not generating"[​](#full-request-examples-not-generating "Direct link to \"Full request examples not generating\"") **Symptoms**: No examples between `# FULL REQUEST EXAMPLE` markers. **Cause**: * OpenAPI YAML not accessible * Command doesn't match API endpoint * Schema is complex/unsupported **Solution**: ```powershell # Test with verbose output pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 -Verbose # Verify YAML accessibility $YamlPath = "C:\NinjaRMM-API-v2.yaml" Test-Path $YamlPath # Try specific endpoint pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 ` -YamlPath $YamlPath ` -CommandName "New-NinjaOneEndUser" ` -Verbose # Check API schema for endpoint Get-Content $YamlPath | Select-String "/v2/user/end-users" -Context 5 ``` #### Import & Runtime[​](#import--runtime "Direct link to Import & Runtime") ##### "Cannot import NinjaOne: 'Module' does not contain '0' member"[​](#cannot-import-ninjaone-module-does-not-contain-0-member "Direct link to \"Cannot import NinjaOne: 'Module' does not contain '0' member\"") **Symptoms**: ```text And additional PositionalParameter member is needed for property-based object construction. ``` **Cause**: Module output structure incorrect or version mismatch. **Solution**: ```powershell # Verify module exists Get-ChildItem .\Output\NinjaOne ls -la .\Output\NinjaOne\2.x.x\NinjaOne.psd1 # Try direct import with error details Import-Module .\Output\NinjaOne\2.x.x\NinjaOne.psd1 -Verbose # If it fails, rebuild: pwsh -File .\DevOps\Build\build.ps1 -TaskNames clean,build # Check manifest syntax Test-ModuleManifest .\Output\NinjaOne\2.x.x\NinjaOne.psd1 ``` ##### "Function doesn't appear after Import-Module"[​](#function-doesnt-appear-after-import-module "Direct link to \"Function doesn't appear after Import-Module\"") **Symptoms**: Imported module with functions but `Get-Command` doesn't show them. **Cause**: Functions not exported in manifest. **Solution**: ```powershell # Check what's exported Get-module NinjaOne | Select-Object -ExpandProperty ExportedFunctions # Should include function names: # CommandName # Get-NinjaOneDevice # Set-NinjaOneDeviceName # If empty or incomplete, rebuild: pwsh -File .\DevOps\Build\build.ps1 -TaskNames updateManifest,build # Or check manifest directly Select-String "FunctionsToExport" .\Source\NinjaOne.psd1 ``` ##### "API authentication fails at runtime"[​](#api-authentication-fails-at-runtime "Direct link to \"API authentication fails at runtime\"") **Symptoms**: ```text Invoke-NinjaOnePreFlightCheck: Authentication required but credentials not set. ``` **Solution**: ```powershell # Set credentials Set-NinjaOneSecrets -ClientId "your-id" -ClientSecret "your-secret" -Scope 'All' # Verify they're stored Get-NinjaOneSecrets # Quick test Test-NinjaOneEndpointSupport -Endpoint '/v2/organisation' # If still fails, check token: $token = (Get-NinjaOneSecrets).Access_Token if (-not $token) { "No token found" } else { "Token present, expires: $(Get-TokenExpiry)" } ``` #### Git & Workflows[​](#git--workflows "Direct link to Git & Workflows") ##### "Pre-commit hook fails silently"[​](#pre-commit-hook-fails-silently "Direct link to \"Pre-commit hook fails silently\"") **Symptoms**: Git commit blocked but no error message. **Cause**: Pre-commit hook in `.git/hooks/pre-commit` has an issue. **Solution**: ```powershell # Check hook exists and is executable Get-Content .\.git\hooks\pre-commit # Run it manually to see errors . .\.git\hooks\pre-commit # Or disable temporarily for testing: Remove-Item .\.git\hooks\pre-commit -Force # Reinstall hooks pwsh -File .\DevOps\Install-GitHooks.ps1 ``` ##### "PR against main is rejected in CI"[​](#pr-against-main-is-rejected-in-ci "Direct link to \"PR against main is rejected in CI\"") **Symptoms**: ```text This repository enforces PRs against 'develop' only. ``` **Solution**: ```powershell # Check current branch git branch # Switch to develop git checkout develop git pull origin develop # Cherry-pick or reapply your changes git cherry-pick # Or reset and rebase from scratch git reset --hard origin/main git checkout develop # Reapply changes manually ``` #### Performance[​](#performance "Direct link to Performance") ##### "Full build takes too long"[​](#full-build-takes-too-long "Direct link to \"Full build takes too long\"") **Symptoms**: Build takes >5 minutes for no obvious reason. **Common causes**: 1. Help generation with large API schema download 2. Full test suite with many Pester tests 3. Documentation regeneration for all functions **Solutions**: ```powershell # Build without tests pwsh -File .\DevOps\Build\build.ps1 -TaskNames build # Test without ScriptAnalyzer pwsh -File .\DevOps\Quality\test.ps1 -SkipScriptAnalyzer # Update docs only (skip build) pwsh -File .\DevOps\Build\build.ps1 -TaskNames publishDocs # Regenerate help for specific function only: pwsh -File .\DevOps\Help\Generate-FullRequestExamples.ps1 ` -CommandName "Specific-Function" ``` ##### "Module loads slowly > 30 seconds"[​](#module-loads-slowly--30-seconds "Direct link to \"Module loads slowly > 30 seconds\"") **Solution**: ```powershell # Profile module load Measure-Command { Import-Module NinjaOne } | Select-Object TotalSeconds # If slow, check for: 1. Lots of format files: Get-ChildItem .\Output\NinjaOne\*.ps1xml 2. Heavy initialization: Get-Content .\Source\Initialisation.ps1 3. Many nested modules: Get-ChildItem .\Output\NinjaOne\* # Remove unnecessary files and rebuild: pwsh -File .\DevOps\Build\build.ps1 -TaskNames clean,build ``` #### Debugging Tips[​](#debugging-tips "Direct link to Debugging Tips") ##### Enable verbose output[​](#enable-verbose-output "Direct link to Enable verbose output") Most scripts support `-Verbose`: ```powershell pwsh -File .\DevOps\Build\build.ps1 -Verbose pwsh -File .\DevOps\Quality\test.ps1 -Verbose pwsh -File .\DevOps\Help\Orchestrate-HelpGeneration.ps1 -Phase All -Verbose ``` ##### Check logs[​](#check-logs "Direct link to Check logs") Build output is often logged: ```powershell # Check for log files Get-ChildItem .build\logs -Recurse # Recent errors Get-EventLog Application | Where-Object Source -eq PowerShell | tail -20 ``` ##### Verify dependencies[​](#verify-dependencies "Direct link to Verify dependencies") ```powershell # List required modules from config Get-Content .\DevOps\Build\RequiredModules.psd1 # Check which are installed $modules = (Get-Content .\DevOps\Build\RequiredModules.psd1).Modules foreach ($mod in $modules) { $installed = Get-Module $mod -ListAvailable if ($installed) { "✓ $mod" } else { "✗ $mod" } } ``` ##### Isolate the problem[​](#isolate-the-problem "Direct link to Isolate the problem") ```powershell # Run individual build phases pwsh -File .\DevOps\Build\build.ps1 -TaskNames clean pwsh -File .\DevOps\Build\build.ps1 -TaskNames build pwsh -File .\DevOps\Build\build.ps1 -TaskNames updateManifest # Run individual test files pwsh -File .\Tests\NinjaOne.Core.Tests.ps1 pwsh -File .\Tests\NinjaOne.Help.Tests.ps1 pwsh -File .\Tests\NinjaOne.Schema.Tests.ps1 ``` #### Getting Help[​](#getting-help "Direct link to Getting Help") If troubleshooting steps don't work: 1. **Check CHANGELOG.md** for known issues in your version 2. **Search GitHub Issues** - may be a known problem: 3. **Ask in Discord**: * [Homotechsual Discord](https://discord.gg/NrCjh5ht7K) - development questions * [NinjaOne Discord](https://discord.gg/NinjaOne) - API/module usage 4. **Enable debug logging**: ```powershell $DebugPreference = 'Continue' $VerbosePreference = 'Continue' # Run command ``` #### See Also[​](#see-also "Direct link to See Also") * [Development Workflow](/modules/ninjaone/development.md) * [Quality Gates & Code Standards](/modules/ninjaone/development/quality-gates.md) * [Help Generation Deep Dive](/modules/ninjaone/development/help-generation-detailed.md) * [Styling & Conventions](/modules/ninjaone/development/styling-conventions.md) --- ### Plan Type Filter The plan type filter is, currently, used in the [Get-NinjaOneBackupJobs](/modules/ninjaone/commandlets/Get/Get-NinjaOneBackupJobs.mdx) commandlet (which maps to the `/v2/backup/jobs` endpoint if not using the module) and is used to filter the jobs returned based on the backup plan type. It supports two modes of operations and two plan type values. #### Single plan type mode[​](#single-plan-type-mode "Direct link to Single plan type mode") This retrieves backup jobs matching the plan type provided, for example: ```ps Get-NinjaOneBackupJobs -planType 'IMAGE' ``` This will return all jobs for an image backup plan. Under the hood in the module this gets turned into the following query param: ```ps https://eu.ninjarmm.com/v2/backup/jobs?ptf=planType%3dIMAGE ``` #### Multiple plan type mode[​](#multiple-plan-type-mode "Direct link to Multiple plan type mode") This retrieves backup jobs matching any one of the provided plan types, for example: ```ps Get-NinjaOneBackupJobs -planType @('IMAGE', 'FILE_FOLDER') ``` This will return all jobs for an image or file/folder backup plan. Under the hood in the module this gets turned into the following query param: ```ps https://eu.ninjarmm.com/v2/backup/jobs?ptf=planType in (IMAGE%2cFILE_FOLDER) ``` #### Possible plan type values[​](#possible-plan-type-values "Direct link to Possible plan type values") The possible values for the backup job plan type are: * IMAGE * FILE\_FOLDER #### Passing a planType filter directly[​](#passing-a-plantype-filter-directly "Direct link to Passing a planType filter directly") Instead of using the `-planType` parameter you can use `-ptf` and pass the filter string directly - don't HTML encode the characters though - the module will handle it. For example: ```ps Get-NinjaOneBackupJobs -ptf "planType = IMAGE" ``` --- ### Status Filter The status filter is, currently, used in the [Get-NinjaOneBackupJobs](/modules/ninjaone/commandlets/Get/Get-NinjaOneBackupJobs.mdx) commandlet (which maps to the `/v2/backup/jobs` endpoint if not using the module) and is used to filter the jobs returned based on the status. It supports two modes of operations and five status values. #### Single status mode[​](#single-status-mode "Direct link to Single status mode") This retrieves backup jobs matching the status provided, for example: ```ps Get-NinjaOneBackupJobs -status 'RUNNING' ``` This will return all running jobs. Under the hood in the module this gets turned into the following query param: ```ps https://eu.ninjarmm.com/v2/backup/jobs?sf=status%3dRUNNING ``` #### Multiple status mode[​](#multiple-status-mode "Direct link to Multiple status mode") This retrieves backup jobs matching any one of the provided statuses, for example: ```ps Get-NinjaOneBackupJobs -status @('RUNNING', 'PROCESSING') ``` This will return all running or processing jobs. Under the hood in the module this gets turned into the following query param: ```ps https://eu.ninjarmm.com/v2/backup/jobs?sf=status in (RUNNING%2cPROCESSING) ``` #### Possible status values[​](#possible-status-values "Direct link to Possible status values") The possible values for the backup job status are: * PROCESSING * RUNNING * COMPLETED * CANCELED * FAILED #### Passing a status filter directly[​](#passing-a-status-filter-directly "Direct link to Passing a status filter directly") Instead of using the `-status` parameter you can use `-sf` and pass the filter string directly - don't HTML encode the characters though - the module will handle it. For example: ```ps Get-NinjaOneBackupJobs -sf "status = RUNNING" ``` --- ### Start Time Filter The start time filter is, currently, used in the [Get-NinjaOneBackupJobs](/modules/ninjaone/commandlets/Get/Get-NinjaOneBackupJobs.mdx) commandlet (which maps to the `/v2/backup/jobs` endpoint if not using the module) and is used to filter the jobs returned based on the time the job started. It supports two modes of operation. #### Between start times mode[​](#between-start-times-mode "Direct link to Between start times mode") This retrieves jobs that started between the two datetime values specified. The values are inclusive. ```powershell Get-NinjaOneBackupJobs -startTimeBetween @((Get-Date).AddDays(-1), (Get-Date)) ``` This will retrieve all jobs that started between 24 hours ago and now. The `startTimeBetween` parameter takes an array of two `DateTime` objects. Under the hood, this is converted to a string in the format `yyyy-MM-ddTHH:mm:ss.fffZ` and passed to the API as the following query string parameter: ```powershell https://eu.ninjarmm.com/v2/backup/jobs?stf=startTime between (2021-08-01T00%3a00%3a00.000Z%2c2021-08-02T00%3a00%3a00.000Z) ``` Time Zone Handling The API expects the time to be in UTC. The module will convert the time to UTC before passing it to the API. So you don't need to worry about time zones unless using the raw `stf` parameter. #### After start time mode[​](#after-start-time-mode "Direct link to After start time mode") This retrieves jobs that started after the datetime value specified. ```powershell Get-NinjaOneBackupJobs -startTimeAfter (Get-Date).AddDays(-1) ``` This will retrieve all jobs that started after 24 hours ago. The `startTimeAfter` parameter takes a `DateTime` object. Under the hood, this is converted to a string in the format `yyyy-MM-ddTHH:mm:ss.fffZ` and passed to the API as the following query string parameter: ```powershell https://eu.ninjarmm.com/v2/backup/jobs?stf=startTime after 2021-08-01T00%3a00%3a00.000Z ``` Time Zone Handling The API expects the time to be in UTC. The module will convert the time to UTC before passing it to the API. So you don't need to worry about time zones unless using the raw `stf` parameter. #### Start time values[​](#start-time-values "Direct link to Start time values") The start time filter accepts datetime values in ISO 8601 format. The module will convert the datetime value to UTC before passing it to the API. #### Passing a start time filter directly[​](#passing-a-start-time-filter-directly "Direct link to Passing a start time filter directly") Instead of using the `-startTimeBetween` or `-startTimeAfter` parameters you can use `-stf` and pass the filter string directly - don't HTML encode the characters though - the module will handle it. For example: ```ps Get-NinjaOneBackupJobs -stf "startTime between (2021-08-01T00:00:00.000Z,2021-08-02T00:00:00.000Z)" ``` --- ## Privacypolicy ### Discord Bot Privacy Policy #### Privacy Policy for Homotechsual Discord Bots[​](#privacy-policy-for-homotechsual-discord-bots "Direct link to Privacy Policy for Homotechsual Discord Bots") **Effective Date:** June 2026 This Privacy Policy explains how the various Homotechsual Discord bots ("the Bots", "we", "us") collect, use, and protect information when you interact with them on Discord. By using the Bots, you agree to this Privacy Policy. *** #### 1. Data We Process[​](#1-data-we-process "Direct link to 1. Data We Process") ##### Discord Data[​](#discord-data "Direct link to Discord Data") The Bots may process the following data provided via Discord: * User ID (unique identifier) * Username and display name * Server (guild) ID and channel ID * Role and permission data (where required) * Message content **only when required for commands or moderation** ##### Usage Data[​](#usage-data "Direct link to Usage Data") * Command usage and interactions * Activity timestamps (e.g. for logs or moderation) > We do **not intentionally collect sensitive personal data**. *** #### 2. How We Use Data[​](#2-how-we-use-data "Direct link to 2. How We Use Data") We use the data strictly to: * Operate bot functionality (commands, automation, moderation) * Respond to user interactions * Maintain server configuration and features * Improve reliability and performance *** #### 3. Data Storage[​](#3-data-storage "Direct link to 3. Data Storage") * Data may be processed temporarily (in-memory) or stored where necessary * Stored data is limited to what is required for functionality * We aim to **minimise data retention wherever possible** *** #### 4. Data Sharing[​](#4-data-sharing "Direct link to 4. Data Sharing") We do **not sell, rent, or share personal data** with third parties. Data may only be shared: * Where required by law * To protect users, systems, or the public * As part of Discord platform operations *** #### 5. Data Retention[​](#5-data-retention "Direct link to 5. Data Retention") * Data is retained only for as long as necessary * Configuration and moderation data may persist while the Bot is active * Users or server administrators may request deletion where applicable *** #### 6. Your Rights (UK GDPR)[​](#6-your-rights-uk-gdpr "Direct link to 6. Your Rights (UK GDPR)") If you are located in the UK or EU, you have the right to: * Request access to your data * Request correction or deletion * Object to or restrict processing To exercise these rights, please contact us using the details below. *** #### 7. Security[​](#7-security "Direct link to 7. Security") We take reasonable measures to protect data, including: * Access control to infrastructure * Secure hosting practices However, no system can be guaranteed 100% secure. *** #### 8. Third-Party Services[​](#8-third-party-services "Direct link to 8. Third-Party Services") These Bots operate within Discord and rely on its infrastructure. * Discord Privacy Policy: * Discord Terms of Service: We do not control how Discord processes your data. *** #### 9. Changes to This Policy[​](#9-changes-to-this-policy "Direct link to 9. Changes to This Policy") We may update this Privacy Policy from time to time. Continued use of the Bots after changes constitutes acceptance of the updated policy. *** #### 10. Contact[​](#10-contact "Direct link to 10. Contact") If you have any questions or wish to exercise your rights: * Discord: [Homotechsual](https://discord.gg/CwM6xtNzVD) * Email: *** #### 11. Data Deletion Requests[​](#11-data-deletion-requests "Direct link to 11. Data Deletion Requests") To request deletion of your data: 1. Contact us via Discord or email 2. Provide your Discord User ID 3. Specify the data you would like removed (if known) We will respond within a reasonable timeframe and in accordance with applicable laws. --- ## Screengrabber ### Overview [![Homotechsual Discord](https://img.shields.io/discord/1075421628424523816?style=for-the-badge\&logo=discord\&logoColor=white\&label=Homotechsual%20Discord)](https://discord.gg/NrCjh5ht7K) [![GitHub](https://img.shields.io/badge/GitHub-homotechsual%2Fscreengrabber-blue?style=for-the-badge\&logo=github)](https://github.com/homotechsual/screengrabber) [![License](https://img.shields.io/github/license/homotechsual/screengrabber?style=for-the-badge)](https://apache.license.homotechsual.dev/) [![Tests](https://img.shields.io/github/actions/workflow/status/homotechsual/screengrabber/ci.yml?branch=main\&style=for-the-badge\&label=Tests)](https://github.com/homotechsual/screengrabber/actions/workflows/ci.yml) [![Coverage](https://img.shields.io/codecov/c/github/homotechsual/screengrabber?style=for-the-badge\&label=Coverage)](https://codecov.io/gh/homotechsual/screengrabber) [![GHCR](https://img.shields.io/github/v/release/homotechsual/screengrabber?display_name=tag\&sort=semver\&style=for-the-badge\&label=GHCR\&logo=github)](https://ghcr.io/homotechsual/screengrabber) [![Docker Hub Version](https://img.shields.io/docker/v/homotechsual/screengrabber?sort=semver\&style=for-the-badge\&label=Docker%20Hub)](https://hub.docker.com/r/homotechsual/screengrabber) [![Docker Pulls](https://img.shields.io/docker/pulls/homotechsual/screengrabber?style=for-the-badge\&label=Pulls)](https://hub.docker.com/r/homotechsual/screengrabber) [![Deploy](https://img.shields.io/github/actions/workflow/status/homotechsual/screengrabber/deploy.yml?style=for-the-badge\&label=Deploy)](https://github.com/homotechsual/screengrabber/actions/workflows/deploy.yml) #### About[​](#about "Direct link to About") Screengrabber is a self-hosted REST API service that uses [Microsoft Edge](https://www.microsoft.com/en-us/edge) via [Playwright](https://playwright.dev/) to capture screenshots of web pages. It supports configurable viewport sizes, aspect ratios, zoom levels, output formats, and Redis-backed caching. #### Quick Start[​](#quick-start "Direct link to Quick Start") Make a `GET` request with the target URL as the first path segment. All other path segments are optional and control the screenshot appearance. ```http GET /{url}/{size}/{aspectRatio}/{zoom}/_modifiers?format=jpeg HTTP/1.1 X-Api-Key: your-api-key ``` For example, to capture a 1024×1024 screenshot of `https://example.com`: ```text https://screengrabber.example.com/https%3A%2F%2Fexample.com/large ``` #### Authentication[​](#authentication "Direct link to Authentication") If `API_KEYS` is configured, every request must include an `X-Api-Key` header. The service returns `401 Unauthorized` for missing or invalid keys. ```http X-Api-Key: your-api-key ``` If `API_KEYS` is empty (the default), no authentication is required. #### Self-Hosting[​](#self-hosting "Direct link to Self-Hosting") Screengrabber ships as a Docker image and supports three deployment modes. * standalone with a bundled Caddy reverse proxy, * proxied behind an existing Dockerised reverse proxy, or * proxied behind a host-level proxy such as Nginx or Apache. See [Deployment](/tools/screengrabber/deployment.md) for full setup instructions. #### Docker Quick Start (single container)[​](#docker-quick-start-single-container "Direct link to Docker Quick Start (single container)") If you already have Redis and only want to run the API container directly: ```bash docker run -d --name screengrabber-api \ -p 8080:8080 \ -e REDIS_CONNECTION=host.docker.internal:6379 \ -e SCREENSHOT_CACHE_TTL_HOURS=24 \ -e SCREENSHOT_CONCURRENCY=4 \ -e API_KEYS=your-key-here \ homotechsual/screengrabber:latest ``` Use Docker Compose for production setups and when running bundled Redis. --- ### Configuration Screengrabber is configured entirely through environment variables. In Docker Compose these go in the `environment` block; in a `.env` file they are picked up automatically. #### Environment Variables[​](#environment-variables "Direct link to Environment Variables") | Variable | Default | Description | | ---------------------------- | ---------------- | ------------------------------------------------------------------------------- | | `REDIS_CONNECTION` | `localhost:6379` | StackExchange.Redis connection string for the screenshot cache. | | `API_KEYS` | *(empty)* | Comma-separated list of valid API keys. When empty, authentication is disabled. | | `SCREENSHOT_CACHE_TTL_HOURS` | `24` | How long cached screenshots are retained in Redis, in hours. | | `SCREENSHOT_CONCURRENCY` | `4` | Maximum number of simultaneous Playwright page captures. | #### Redis[​](#redis "Direct link to Redis") Screengrabber uses Redis as a read-through cache. If the Redis connection fails at request time, the failure is surfaced as a warning and the screenshot is captured fresh, the service degrades gracefully rather than returning an error. This architecture choice means that if you don't need caching, you can still run the service without Redis by pointing `REDIS_CONNECTION` at a Redis instance that may or may not be available. #### API Keys[​](#api-keys "Direct link to API Keys") `API_KEYS` accepts a comma-separated list. Whitespace around each key is trimmed. To rotate keys, update the list and restart the container. The keys are read once at startup. ```bash API_KEYS=key-one,key-two,key-three ``` If you leave `API_KEYS` empty the service accepts all requests without authentication, which is suitable for air-gapped, trusted-network deployments, if you're using a reverse proxy with authentication, if you have a firewall that restricts access, or if you don't care about who can use the service. #### Concurrency[​](#concurrency "Direct link to Concurrency") `SCREENSHOT_CONCURRENCY` controls how many browser page contexts can run in parallel. Each concurrent capture uses a separate Playwright page inside a single long-lived Edge browser instance. Increase this for higher throughput at the cost of more memory; the right value depends on your host's available RAM. #### Example docker-compose.yml[​](#example-docker-composeyml "Direct link to Example docker-compose.yml") ```yaml services: screengrabber: image: ghcr.io/homotechsual/screengrabber:latest restart: unless-stopped environment: REDIS_CONNECTION: redis:6379 API_KEYS: ${API_KEYS} SCREENSHOT_CACHE_TTL_HOURS: 24 SCREENSHOT_CONCURRENCY: 4 depends_on: - redis redis: image: redis:7-alpine restart: unless-stopped ``` --- ### Deployment Screengrabber supports three deployment modes. Choose the one that matches your infrastructure. #### Image Tags and Release Channels[​](#image-tags-and-release-channels "Direct link to Image Tags and Release Channels") Use `SCREENGRABBER_IMAGE` to choose the rollout channel: * `homotechsual/screengrabber:latest` for stable releases. * `homotechsual/screengrabber:edge` for pre-release/main-branch builds. * `homotechsual/screengrabber:1.0.0` (or `1.0`, `1`) for pinned semver releases. Equivalent GHCR image names are available under `ghcr.io/homotechsual/screengrabber`. | | Standalone | Proxied (Docker) | Proxied (host) | | --------------- | -------------------------------- | --------------------------------- | ----------------------------------------------- | | Caddy included? | Yes | No | No | | Compose file | `docker-compose.standalone.yml` | `docker-compose.yml` | `docker-compose.yml` + port override | | When to use | Fresh install, no existing proxy | Existing Dockerised reverse proxy | Existing host-level proxy (Nginx, Apache, etc.) | #### Standalone[​](#standalone "Direct link to Standalone") Use this when you are running Screengrabber on a host with no existing reverse proxy. Caddy is bundled in the stack and handles TLS automatically. **Prerequisites:** * A DNS A record for your domain pointing at the host * Ports 80 and 443 open on the host ##### Caddyfile[​](#caddyfile "Direct link to Caddyfile") The repository includes a `Caddyfile` that Caddy reads at startup. It uses an environment variable for the domain so no manual editing is needed: ```caddyfile {$SCREENGRABBER_DOMAIN} { header { Strict-Transport-Security "max-age=31536000; includeSubDomains" X-Content-Type-Options "nosniff" X-Frame-Options "DENY" } reverse_proxy screengrabber-api:8080 } ``` Caddy obtains and renews HTTPS certificates automatically via ACME. No manual TLS configuration is required. ##### Starting the stack[​](#starting-the-stack "Direct link to Starting the stack") Create a `.env` file alongside `docker-compose.standalone.yml`: ```bash SCREENGRABBER_DOMAIN=screenshots.example.com SCREENGRABBER_IMAGE=ghcr.io/homotechsual/screengrabber:latest API_KEYS=your-key-here SCREENSHOT_CACHE_TTL_HOURS=24 SCREENSHOT_CONCURRENCY=4 ``` Then start the stack: ```bash docker compose -f docker-compose.standalone.yml up -d ``` note `screengrabber-caddy-data` and `screengrabber-caddy-config` are named volumes used by Caddy. Do not delete `screengrabber-caddy-data` — it persists the TLS certificate and Caddy will need to re-request one if it is removed. `screengrabber-caddy-config` is a config cache and can be safely deleted if needed. #### Proxied (Docker)[​](#proxied-docker "Direct link to Proxied (Docker)") Use this when an existing reverse proxy container (Caddy, Traefik, Nginx Proxy Manager, etc.) is already running in Docker and handling TLS for your host. **Concept:** Screengrabber joins a shared external Docker network so the upstream proxy container can reach `screengrabber-api` by name. ##### Create the shared network[​](#create-the-shared-network "Direct link to Create the shared network") Run this once on the host: ```bash docker network create proxy ``` The network name `proxy` is the default used in `docker-compose.yml`. If your existing setup uses a different name, update both the service-level `networks` list and the top-level `networks` block in `docker-compose.yml` to match: ```yaml services: api: networks: - default - your-network-name # changed from proxy networks: your-network-name: external: true ``` ##### Wire up your upstream proxy[​](#wire-up-your-upstream-proxy "Direct link to Wire up your upstream proxy") Add the shared network to your existing proxy's compose service and update your proxy configuration. **Compose entry for your proxy container:** ```yaml services: caddy: # or traefik, nginx, etc. networks: - default - proxy # the shared network networks: proxy: external: true ``` **Caddy virtual host example:** ```caddyfile screenshots.example.com { header { Strict-Transport-Security "max-age=31536000; includeSubDomains" X-Content-Type-Options "nosniff" X-Frame-Options "DENY" } reverse_proxy screengrabber-api:8080 } ``` For other proxies, add `screengrabber-api:8080` as an upstream using your proxy's equivalent directive. ##### Start Screengrabber[​](#start-screengrabber "Direct link to Start Screengrabber") Create a `.env` file alongside `docker-compose.yml`: ```bash SCREENGRABBER_IMAGE=ghcr.io/homotechsual/screengrabber:latest API_KEYS=your-key-here SCREENSHOT_CACHE_TTL_HOURS=24 SCREENSHOT_CONCURRENCY=4 ``` Then start the stack: ```bash docker compose up -d ``` #### Proxied (host)[​](#proxied-host "Direct link to Proxied (host)") Use this when Nginx, Apache, Caddy, or similar is running directly on the host — not in Docker. ##### Expose the API port[​](#expose-the-api-port "Direct link to Expose the API port") Edit `docker-compose.yml` in your Screengrabber directory to add a port binding and remove the `proxy` network: The default `docker-compose.yml` does not publish any ports. Add a port binding to the `api` service so the host-level proxy can reach it. Binding to `127.0.0.1` keeps the port off the public network: ```yaml services: api: ports: - "127.0.0.1:8080:8080" ``` The `proxy` external network is not needed. Remove the `networks` blocks from `docker-compose.yml`: ```yaml # Remove these blocks entirely: # networks: # - default # - proxy # # networks: # proxy: # external: true ``` ##### Configure your proxy[​](#configure-your-proxy "Direct link to Configure your proxy") **Caddy:** ```caddyfile screenshots.example.com { header { Strict-Transport-Security "max-age=31536000; includeSubDomains" X-Content-Type-Options "nosniff" X-Frame-Options "DENY" } reverse_proxy localhost:8080 } ``` **Nginx:** ```nginx server { listen 443 ssl; server_name screenshots.example.com; # ssl_certificate and ssl_certificate_key omitted configure as required for your setup location / { proxy_pass http://localhost:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } } ``` ##### Start Screengrabber[​](#start-screengrabber-1 "Direct link to Start Screengrabber") Create a `.env` file alongside `docker-compose.yml`: ```bash SCREENGRABBER_IMAGE=ghcr.io/homotechsual/screengrabber:latest API_KEYS=your-key-here SCREENSHOT_CACHE_TTL_HOURS=24 SCREENSHOT_CONCURRENCY=4 ``` Creating your `.env` file from GitHub Actions secrets In this repository, in the [`.github/workflows/deploy.yml` file](https://github.com/homotechsual/screengrabber/blob/main/.github/workflows/deploy.yml), you can find the secrets used for deployment and the workflow steps that create this when this project is deployed via SSH using GitHub Actions. Then start the stack: ```bash docker compose up -d ``` See the [Configuration](/tools/screengrabber/configuration.md) reference for a full list of environment variables. --- ### Endpoint Reference #### GET /{url}/...[​](#get-url "Direct link to GET /{url}/...") Captures a screenshot of the given URL and returns the image bytes. All path segments after the URL are optional and may appear in any order. ```text GET /{url}/{size}/{aspectRatio}/{zoom}/_modifiers ``` | Segment | Type | Description | | ------------- | -------- | ----------------------------------------------------------------------------------------- | | `url` | required | The target URL, **URL-encoded**. Must begin with `http` or `https`. | | `size` | optional | Viewport width preset. One of `small`, `medium`, `large`, `opengraph`. Default: `small`. | | `aspectRatio` | optional | Viewport height ratio. One of `1:1`, `9:16`. Default: `1:1`. | | `zoom` | optional | Device scale factor. One of `bigger` (1.4×), `smaller` (0.71×). Default: `1.0×`. | | `_modifiers` | optional | A path segment starting with `_` containing one or more modifier tokens separated by `_`. | ##### Query Parameters[​](#query-parameters "Direct link to Query Parameters") | Parameter | Values | Default | Description | | --------- | ------ | ------- | ---------------------------- | | `format` | `jpeg` | — | Output format. Omit for PNG. | ##### Modifier Tokens[​](#modifier-tokens "Direct link to Modifier Tokens") Modifier tokens are combined into a single path segment prefixed with `_`. Multiple tokens are separated by `_`: ```text /_wait:2_timeout:8_width:800 ``` | Token | Values | Default | Description | | ----------- | -------------------- | ------- | -------------------------------------------------------------------------------------- | | `wait:N` | `0`, `1`, `2` | `1` | Playwright wait strategy: `0` = `DOMContentLoaded`, `1` = `Load`, `2` = `NetworkIdle`. | | `timeout:N` | `3`–`9` | `6` | Navigation timeout in seconds. Values outside the range are clamped. | | `width:N` | any positive integer | — | Resize the output image to this width in pixels, preserving aspect ratio. | ##### Viewport Sizes[​](#viewport-sizes "Direct link to Viewport Sizes") The viewport dimensions used for the browser context are determined by the `size` and `aspectRatio` combination: | Size | `1:1` | `9:16` | | ----------- | ----------- | ----------- | | `small` | 375 × 375 | 375 × 667 | | `medium` | 650 × 650 | 650 × 1156 | | `large` | 1024 × 1024 | 1024 × 1024 | | `opengraph` | 1200 × 630 | 1200 × 630 | ##### Responses[​](#responses "Direct link to Responses") | Status | Description | | --------------------- | ----------------------------------------------------- | | `200 OK` | Screenshot image bytes (`image/png` or `image/jpeg`). | | `400 Bad Request` | Missing or invalid URL. | | `401 Unauthorized` | Missing or invalid `X-Api-Key` header. | | `504 Gateway Timeout` | Playwright navigation timed out. | ##### Examples[​](#examples "Direct link to Examples") Capture `https://example.com` as a default small PNG (375 × 375): ```text GET /https%3A%2F%2Fexample.com ``` Large square PNG (1024 × 1024): ```text GET /https%3A%2F%2Fexample.com/large ``` Open Graph JPEG (1200 × 630): ```text GET /https%3A%2F%2Fexample.com/opengraph?format=jpeg ``` Medium portrait PNG (650 × 1156) with `NetworkIdle` wait and an 8-second timeout: ```text GET /https%3A%2F%2Fexample.com/medium/9:16/_wait:2_timeout:8 ``` Small PNG resized to 400 px wide: ```text GET /https%3A%2F%2Fexample.com/small/_width:400 ``` --- ## Secretmanagement ### Secret Management Several of the modules documented on this site can leverage the "Secret Management" module from Microsoft to store and retrieve authentication and configuration information. Before you can use the secret management module you will need to install it and perform some setup steps which are documented here: #### Installing[​](#installing "Direct link to Installing") The secret management module is installed from the PowerShell Gallery (PSGallery) with the following command: ```ps Install-Module -Name 'Microsoft.PowerShell.SecretManagement' ``` #### Configuring[​](#configuring "Direct link to Configuring") Next you need to add a secret management vault. There are a few options available to you here including, but not limited to, the following: * Azure Key Vault (provided by the `Az.KeyVault` module) * Keeper Secret Manager (provided by the `SecretManagement.Keeper` module) * KeePass (provided by the `SecretManagement.KeePass` module) * LastPass (provided by the `SecretManagement.LastPass` module) * HashiCorp Vault (provided by the `SecretManagement.HashiCorp.Vault.KV` module) * BitWarden (provided by the `SecretManagement.Bitwarden` module) * 1Password (provided by the `SecretManagement.1Password` module) * CyberArk (provided by the `SecretManagement.CyberArk` module) * AWS (provided by the `SecretManagement.Aws` module) * Mac OS KeyChain (provided by the `SecretManagement.KeyChain` module) * Windows Credential Manager (provided by the `SecretManagement.JustinGrote.CredMan` module) You can look for more modules on the [PowerShell Gallery](https://www.powershellgallery.com/packages?q=SecretManagement) or by running the following command: ```ps Find-Module -Name '*SecretManagement*' ``` Once you have installed the module for your chosen secret management vault, you need to register it with the secret management module. For example, to register an Azure Key Vault you would run the following command: ```ps $VaultParameters = @{ SubscriptionId = '00000000-0000-0000-0000-000000000000' AzKVVaultName = 'homotechsual' } Register-SecretVault -Name 'AzureKeyVault' -ModuleName 'Az.KeyVault' -VaultParameters $VaultParameters ``` So here we are registering our KeyVault 'homotechsual' in the subscription '00000000-0000-0000-0000-000000000000' with the name 'AzureKeyVault' using the 'Az.KeyVault' module. The specific parameters required will depend on the secret management vault you are using - please refer to the documentation for the specific module you are using. You can check what vaults you have registered with the following command: ```ps Get-SecretVault ``` Please ensure you authenticate your secret management vault before attempting to use it. For example, to authenticate to an Azure Key Vault you would run the following command: ```ps Connect-AzAccount Set-AzContext -SubscriptionId '00000000-0000-0000-0000-000000000000' ``` This will prompt you to authenticate to your Azure subscription and then set the context to the subscription with the ID '00000000-0000-0000-0000-000000000000' which is the subscription we registered our KeyVault with earlier. --- ## Tags ### Tags #### A[​](#A "Direct link to A") * [about1](/common/tags/about.md) *** --- ### One doc tagged with "about" #### [Docusaurus](/common/docusaurus.md) This site is built using Docusaurus, built using CloudFlare Workers and deployed to CloudFlare Pages. --- ### One doc tagged with "docusaurus" #### [Docusaurus](/common/docusaurus.md) This site is built using Docusaurus, built using CloudFlare Workers and deployed to CloudFlare Pages. --- ## Terms ### Discord Bot Terms of Service #### Terms of Service for Homotechsual Discord Bots[​](#terms-of-service-for-homotechsual-discord-bots "Direct link to Terms of Service for Homotechsual Discord Bots") **Effective Date:** June 2026 These Terms of Service ("Terms") govern your use of the various Homotechsual Discord bots ("the Bots", "we", "us") when interacting with them on Discord. By using the Bots, you agree to these Terms. *** #### 1. Use of the Bots[​](#1-use-of-the-bots "Direct link to 1. Use of the Bots") You agree to use the Bots in a lawful and respectful manner. You must not: * Use the Bots for unlawful, harmful, or abusive purposes * Attempt to exploit, disrupt, or misuse the Bots * Interfere with the Bots' operation or hosting infrastructure * Use the Bots in a way that violates Discord's Terms of Service *** #### 2. Bot Functionality[​](#2-bot-functionality "Direct link to 2. Bot Functionality") * The Bots are provided on an "as is" and "as available" basis * We do not guarantee uptime, availability, or reliability * Features may change, be added, or removed at any time without notice *** #### 3. User Responsibility[​](#3-user-responsibility "Direct link to 3. User Responsibility") You are responsible for: * Your use of the Bots * Any content you submit or trigger via the Bots * Ensuring your use complies with applicable laws and Discord rules Server administrators are responsible for how the Bots are configured and used within their servers. *** #### 4. Data and Privacy[​](#4-data-and-privacy "Direct link to 4. Data and Privacy") Your use of the Bots is also governed by our Privacy Policy: * Privacy Policy: [Homotechsual Privacy Policy](/bots/privacypolicy.md) ---