- Unit tests!
- Refactor of multiple functions (minor updates/fixes)
- Pipeline input for the following cmdlets:
Add-OPZoneRecord
Set-OPZoneRecord
Remove-OPZoneRecord
Remove-OPZone
For examples on how to use these new pipeline features please see the example section here
- New cmdlets
Remove-OPZoneRecord
-
Get-OPZoneRecords
- Is now
Get-OPZoneRecord
("s" dropped to comply to PowerShell cmdlet naming) - When
-Provider
is not specified, it defaults to "openprovider" Domain
andName
is now seperated in the output (beforehandName
included the name + domain)ZoneID
is included in the output of this cmdlet (for pipelining)
- Is now
-
Set-OPZoneRecord
- This cmdlet now accepts a new parameter
-Record
,-OriginalRecord
and-NewRecord
have been depricated. - Made changing a record much easier and intuitive, just define which parameters you want to change, all parameters are optional.
- This cmdlet now accepts a new parameter
New-OPZoneRecordObject
- Get-OPDomain is fixed withing PowerShell 7
- throws have been replaced by a milder Write-Error for non-terminating errors
Write-Error
has been replaced bythrow
, this will in some cases break your script since, instead of writing an error in the output, it will generate a terminating error. Use try/catch to handle these errors in your scripts.
Add-OpZoneRecord
- Issue #8 resolved. Now when given the
-Type MX
, the script will validate if-Priority
is a valid integer. By default the value will be 0.
- Issue #8 resolved. Now when given the
Get-OPZoneRecords
- Issue #7 was resolved, command now return up to 500 records, thanks @tomdhoore
Get-OPSSLProducts
- Get a list of all the SSL products
Get-OPSSLOrders
- Get a list of all orders or use the
-ExpiringSoon
switch to list the SSL orders that are expiring soon (30 days)
- Get a list of all orders or use the
Send-OPSSLApproverEmail
- (Re)send approve email to the contact, output will specify which email address this is.
- Verbose ouputs for the request splat in
Invoke-OPRequest
- Added progress indicator for lists more than 500 domains with
Get-OPDomain
- Fixed #5 where
-Detailed
would raise an error when a domain is not of status "ACT".
- Changed
Get-OPDomain
to only search for active domains, failed, deleted and requested domains will NOT show.
- Much improved error handling for requests, will return OpenProvider error code that you can reference to instead of generic failures. (reference)
- Sanbox connectivity!
- Validation of created nameserver in
Add-OPNameserver
- Added
$true
outputs for all Get, Set and Remove commands when completed succesfully for logic. [CmdletBinding()]
to every function for common parameters.Connect-OpenProvider
now usesInvoke-OPRequest
- More readable and useful outputs for all commands that return information (
Get-OP-
) Update-OPDomain
add comments, lock the domain and change nameserver groups with this command.Get-OPNameserverGroup
get a list of nameserver groups in your tenant.New-OPAuthCode
get a AuthCode for your domain (specify domain ID)
- Fixed an error when adding a body to a Get request in PowerShell 5.1 (
New-QuerryString
)
Get-OPZone
now takes an optional-Provider
parameter instead of a clunky Zone ID.Update-OPZone
parameter-IsSpamexpertsEnabled
is now-EnableSpamExperts
Get-OPDomainDetails
is nowGet-OPDomain -Detailed
Update-OPZone
- removed because function is obsolete.New-OPZoneRecord
uses same endpoint and has similar functionality.
- JSON bugfix for Invoke-OPRequest.
- Fixed disconnection.
- Prevented unnecessary authentication with API when credentials are invalid.
- Refactored Get-OPDomain to return a custom object for more readability.
- Various bugfixes for error handling
- Create, update and delete DNS records
- Create, update and delete Nameservers
- Get domain details from existing domains and get availability for new domains!