Skip to content

EUCTechTopics/PSABM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSABM

PSABM powershell gallery License

Summary

A PowerShell module to interact with the Apple Business Manager REST API.

Installation

Install-Module -Name PSABM -AllowPrerelease

Usage

To use the SDK with your Apple Business Manager tenant, you must configure authentication by providing the required environment variables

  1. Set Environment Variables

    Set the following environment variables to authenticate to your Apple Business Manager tenant:

    $env:ABM_CLIENT_ID=[clientID]
    $env:ABM_KEY_ID=[keyID]

    Replace [clientID], and [keyID] with your specific values.

  2. Connect to Apple Business Manager

    Use the Connect-ABM -KeyPath [path to your PEM file] command to authenticate with the Apple Business Manager API.

    Connect-ABM -KeyPath '~/.abm/privkey.pem'
  3. Retrieve Devices in Apple Business Manager

    Use the Get-ABMObject command to retrieve objects from the Apple Business Manager API.

    Get-ABMObject -ObjectType 'orgDevices'

Reporting Issues and Feedback

Changelog

About

A PowerShell module to interact with the Apple Business Manager REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published