This is a legacy guide for Power Manager v4, published 2010 – 2019, and is provided for reference only.
The latest guide is for Power Manager v5.10.6.

Scripting the Client

Example 5.1. Get the Computer Name

Get the client’s computer name.

tell application "Power Manager"
    display dialog "This computer is " & computer name of Client & "."
end tell

Example 5.2. Get the Computer Model

Get the client’s computer model. The machine model is a unique identifier for each kind of computer i.e. MacPro4,1.

tell application "Power Manager"
    set myModel to Client's machine model
end tell

Example 5.3. Get the Primary Network Interface

Get the primary ethernet interface.

tell application "Power Manager"
    set myAddress to Client's ethernet address
end tell

Example 5.4. List the Network Interfaces

Get a list of available ethernet interfaces.

tell application "Power Manager"
    set myAddresses to Client's ethernet addresses
end tell