Releases: jeshuaedgar/openprovider-powershell
Releases · jeshuaedgar/openprovider-powershell
v.1.4.1
v1.4.0
Added
- 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
Changed
-
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
Fixed
- Get-OPDomain is fixed withing PowerShell 7
- throws have been replaced by a milder Write-Error for non-terminating errors
Removed
New-OPZoneRecordObject
v1.3.0
Changed
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.
Fixed
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
v1.2.1
v1.2.0
Added
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
v1.1.1
v1.1.0
Added
- 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
- Fixed an error when adding a body to a Get request in PowerShell 5.1 (
New-QuerryString
)
Changed
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
Removed
Update-OPZone
- removed because function is obsolete.New-OPZoneRecord
uses same endpoint and has similar functionality.
v1.0.2
- JSON bugfix for Invoke-OPRequest
- Fixed disconnection
- Prevented unnecessary authentication with API when credentials are invalid
- Refactored Get-OPDomain to return a custom object
v1.0.1
- Various bugfixes for error handling
Release v1.0.0
- Create, update and delete DNS records
- Create, update and delete Nameservers
- Get domain details from existing domains and get availability for potential new domains!