writeameer/dme_helpers — pull request #1 by johnrgit (2012-03-30 01:45:58+00:00)
Title: Added more Functions, changed use as module

Removed "function Add-DmeTools()" so that a seperate call to "Add-DmeTools" is not needed, it is loaded when the module loads.

Added a dot sourced file to store ApiKey and SecretKey, so those do not need to be added on command line each time.
Generalized "Add-ARecord" to "Add-DmeRecord", added switches and parameter groups.
Changed "Get-Records" to "Get-DmeRecords".
Added "Get-DmeRecord", which will return details for a specific record.
Added "Add-DmeDomain" to add a new domain.
Added "Get-DmeDomains" to retrieve the list of domains associated with account.
Added "Get-DmeDomain" to get details for a specific domain.

I got rid of the duplicate dme_helpers.ps1 file

USAGE
load the module:: Import-Module DmeHelpers.psm1
use the functions:: Add-DmeRecord -A -IP [x.x.x.x] -domain "foo.com" -name "bar"