@jhochwald jhochwald released this Feb 1, 2019

Added

  • Get-UnifiHourlySiteStats - Get horly statistics for a complete UniFi Site
  • Get-UnifiDailySiteStats - Get daily statistics for a complete UniFi Site
  • Get-Unifi5minutesSiteStats - Get statistics in 5 minute segments for a complete UniFi Site
  • Get-Unifi5minutesGatewayStats - Get statistics in 5 minute segments for the USG (UniFi Secure Gateway)
  • Get-UnifiHourlyGatewayStats - Get hourly statistics for the USG (UniFi Secure Gateway)
  • Get-UnifiDailyGatewayStats - Get daily statistics for the USG (UniFi Secure Gateway)
  • Get-UnifiDailyClientStats - Get daily user/client statistics for a given user/client
  • Get-UnifiHourlyClientStats - Get hourly user/client statistics for a given user/client
  • Get-Unifi5minutesClientStats - Get user/client statistics in 5 minute segments for a given client
  • Get-UnifiDailyApStats - Get daily stats for all or just one access points in a given UniFi site
  • Get-UnifiHourlyApStats - Get hourly stats for all or just one access points in a given UniFi site
  • Get-Unifi5minutesApStats - Get the stats in 5 minute segments for all or just one access points in a given UniFi site
  • ConvertTo-UniFiValidMacAddress - Helper to check and make sure we have the right format (private function)
  • Get-CallerPreference - Add private meta function
  • CODEOWNERS - Add GitHub code owners feature file
  • Set-UnifiClientDeviceNote - Add/modify/remove a client-device note
  • Set-UnifiClientDeviceName - Add/modify/remove a client device name
  • New-UnifiClientDevice - Create a new user/client-device (unfinished beta)

Changed

  • New-UnifiClientDevice now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiUnblockClient now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiUnauthorizeGuest now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiReconnectClient now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiForgetClient now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiBlockClient now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiAuthorizeGuest now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Get-CallerPreference - Implemented private meta function usage to all (public/private) functions

Removed

  • Get-HostsFile should never be a part of this module. I just use them for some internal tests.
  • Add-HostsEntry should never be a part of this module. I just use them for some internal tests.
  • Get-HostsFile should never be a part of this module. I just use them for some internal tests.

Fixed

  • Fixed the Get-CallerPreference usage
Assets 3

@jhochwald jhochwald released this Jan 23, 2019 · 33 commits to master since this release

Version 1.0.10 - 2019-01-23

Repository moved, no real code changes.

Deprecated

The folowing internal (private) commands will be removed in the next release (Version 1.0.11):

  • Get-HostsFile

  • Add-HostsEntry

  • Get-HostsFile

    They should never be a part of this module. I just use them for some internal tests.

Assets 3

@jhochwald jhochwald released this Jan 20, 2019 · 40 commits to master since this release

Mainly a feature release with some bugfixes and refactoring.

Added

  • Get-UnifiSpeedTestResult has now a -last parameter to get only the latest result

  • Invoke-UnifiAuthorizeGuest - Authorize a client device via the API of the UniFi Controller

  • Invoke-UnifiUnauthorizeGuest - Unauthorize a client device via the API of the UniFi Controller

  • Invoke-UnifiReconnectClient - Reconnect a client device via the API of the UniFi Controller

  • Invoke-UnifiBlockClient - Block a client device via the API of the UniFi Controller

  • Invoke-UnifiUnblockClient - Unblock a client device via the API of the UniFi Controller

  • Invoke-UnifiForgetClient - Forget one or more client devices via the API of the UniFi Controller

  • Changed

    • Refactored a lot of code.
    • Change the Verbose output (Detailed connection details)
    • Change some links to the GitHub Wiki
Assets 3

@jhochwald jhochwald released this Jan 19, 2019 · 48 commits to master since this release

Mainly a bugfix and refactoring release

Added

  • Get-UniFiIsAlive - Use a simple API call to see if the session is alive (internal not exported function)
  • ConvertTo-UnixTimeStamp - ConvertTo-UnixTimeStamp (Helper)
  • ConvertFrom-UnixTimeStamp - Converts a Timestamp (Epochdate) into Datetime (Helper)
  • Get-HostsFile - Print the HOSTS File in a more clean format (Helper)
  • Remove-HostsEntry - Removes a single Hosts Entry from the HOSTS File (Helper)
  • Add-HostsEntry - Add a single Hosts Entry to the HOSTS File (Helper)
  • Get-UnifiSpeedTestResult - Get the UniFi Security Gateway (USG) Speed Test results

Changed

  • Get-UnifiSpeedTestResult has now filtering and returns values human readable
  • All commands now use Get-UniFiIsAlive internally. That should make it easier for new users.
  • Refactored some of the code that handles all errors.
Assets 3

@jhochwald jhochwald released this Jan 14, 2019 · 59 commits to master since this release

Mainly a bugfix and refactoring release

Fixed

  • Position numbers corrected (Now starts with 0 instead off 1)
  • Found the following issue: Even if an obejct is not found (e.g. network) the UniFi API returns OK (200) with null bytes in Data. That is OK, but we need a workaround. Added the Workaround to Get-UnifiFirewallGroupDetails and Get-UnifiNetworkDetails for testing.

Added

  • Get-UnifiFirewallGroupDetails -Related to #10
  • Git Attributes File
  • Editor Config
  • Add License.md, a Markdown version of LICENSE

Changed

  • Markdown Documents tweaked (Header)
  • Git Ignore extended
  • Add Multi valued inputs to Get-UnifiNetworkDetails
  • Add -Id parameter to Get-UnifiNetworkDetails. This replaced the -UnifiNetworkName` parameter - Related to #9
  • -UnifiNetworkName is now a legacy alias, necessary to make it a non breaking change
  • For the parameter -UnifiNetworkName an ID (network_id) must be used, necessary to make it a non breaking change
  • Add -name parameter to Get-UnifiNetworkDetails - Related to #9
  • Moved Get-UnifiFirewallGroupBody from Public to Private (No longer exported as command)
Assets 3

@jhochwald jhochwald released this Jan 13, 2019 · 84 commits to master since this release

1.0.6 - 2019-01-13

Working Release

Added

  • Set $ProgressPreference to 'SilentlyContinue' - #7
  • CHANGELOG.md (this file) is back
  • New function New-UniFiConfig - #1

Changed

  • Build Process optimized
  • Add Verbose messages to Get-UniFiConfig
Assets 3

@jhochwald jhochwald released this Jan 12, 2019 · 106 commits to master since this release

No real new functions, everything was behind the scenes or under the hood!

Assets 3
Pre-release

@jhochwald jhochwald released this Jan 8, 2019 · 123 commits to master since this release

Initial Release within the new repository.

Assets 3