https://github.com/netricsag/poweramt
PowerShell module to manage AMT Devices with the Open AMT Cloud Toolkit API
https://github.com/netricsag/poweramt
amt intel oact openamt powershell vpro
Last synced: about 2 months ago
JSON representation
PowerShell module to manage AMT Devices with the Open AMT Cloud Toolkit API
- Host: GitHub
- URL: https://github.com/netricsag/poweramt
- Owner: netricsag
- License: apache-2.0
- Created: 2022-08-10T14:07:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-19T08:48:21.000Z (over 1 year ago)
- Last Synced: 2025-03-25T20:33:05.105Z (2 months ago)
- Topics: amt, intel, oact, openamt, powershell, vpro
- Language: PowerShell
- Homepage:
- Size: 86.9 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PowerAMT
[]([https://github.com/netricsag/PowerAMT/actions/workflows/main.yml](https://github.com/netricsag/PowerAMT/workflows/CI/badge.svg))


## Overview
This PowerShell module is a simple wrapper for the [Intel Open AMT Cloud Toolkit](https://github.com/open-amt-cloud-toolkit/open-amt-cloud-toolkit) API.
It serves to make the API interaction and automation with PowerShell simpler.In the current build only MPS functions (device management) are supported. RPS functions will be implemented in a later stage.
## Requirements
- PowerShell 5.1 or higher (Version 3 might work but it's not tested and not supported)
- [Intel Open AMT Cloud Toolkit](https://github.com/open-amt-cloud-toolkit/open-amt-cloud-toolkit)## Quickstart
### Installation
If you have the PowerShellGet module installed or PowerShell 5.1 or higher you can enter the following command:
```powershell
C:\> Install-Module -Name PowerAMT
```### Basic usage
Import module:
```powershell
C:\> Import-Module -Name PowerAMT
```Create a session:
```powershell
C:\> Connect-AMTManagement -AMTManagementAddress 192.168.1.100 -AMTUsername admin -AMTPassword P@ssw0rdToken Address
----- -------
192.168.1.100
```Retrieve all devices:
```powershell
C:\> Get-AMTDeviceTenantID :
Tags : {Store1,London}
Hostname : Client-01
MPSInstance : mps
ConnectionStatus : True
MPSUsername : admin
GUID : 1ada9c84-780e-4ccc-831c-0edb26994b18TenantID :
Tags : {Store2,NewYork}
Hostname : Device-09
MPSInstance :
ConnectionStatus : False
MPSUsername : admin
GUID : 39270bdb-9488-4695-8f8f-0d9e5366c54e
...
```Start a specific device:
```powershell
C:\> Start-AMTDevice -GUID 1ada9c84-780e-4ccc-831c-0edb26994b18GUID ReturnValue ReturnValueStr
---- ----------- --------------
1ada9c84-780e-4ccc-831c-0edb26994b18 0 SUCCESS
```## Documentation
The documentation is currently only available via the Get-Help command.
```PowerShell
PS> Get-Help Get-AMTDevices
```## Maintainer
- [Michael Mumenthaler](https://github.com/michaelmumenthaler)
## Todos:
- Implement RPS functions