Releases: Enatec/UniFiTooling
[1.0.11] - 2019-02-01
Added
Get-UnifiHourlySiteStats
- Get horly statistics for a complete UniFi SiteGet-UnifiDailySiteStats
- Get daily statistics for a complete UniFi SiteGet-Unifi5minutesSiteStats
- Get statistics in 5 minute segments for a complete UniFi SiteGet-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/clientGet-UnifiHourlyClientStats
- Get hourly user/client statistics for a given user/clientGet-Unifi5minutesClientStats
- Get user/client statistics in 5 minute segments for a given clientGet-UnifiDailyApStats
- Get daily stats for all or just one access points in a given UniFi siteGet-UnifiHourlyApStats
- Get hourly stats for all or just one access points in a given UniFi siteGet-Unifi5minutesApStats
- Get the stats in 5 minute segments for all or just one access points in a given UniFi siteConvertTo-UniFiValidMacAddress
- Helper to check and make sure we have the right format (private function)Get-CallerPreference
- Add private meta functionCODEOWNERS
- Add GitHub code owners feature fileSet-UnifiClientDeviceNote
- Add/modify/remove a client-device noteSet-UnifiClientDeviceName
- Add/modify/remove a client device nameNew-UnifiClientDevice
- Create a new user/client-device (unfinished beta)
Changed
New-UnifiClientDevice
now useConvertTo-UniFiValidMacAddress
to check and make sure we have the right formatInvoke-UnifiUnblockClient
now useConvertTo-UniFiValidMacAddress
to check and make sure we have the right formatInvoke-UnifiUnauthorizeGuest
now useConvertTo-UniFiValidMacAddress
to check and make sure we have the right formatInvoke-UnifiReconnectClient
now useConvertTo-UniFiValidMacAddress
to check and make sure we have the right formatInvoke-UnifiForgetClient
now useConvertTo-UniFiValidMacAddress
to check and make sure we have the right formatInvoke-UnifiBlockClient
now useConvertTo-UniFiValidMacAddress
to check and make sure we have the right formatInvoke-UnifiAuthorizeGuest
now useConvertTo-UniFiValidMacAddress
to check and make sure we have the right formatGet-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
Release 1.0.10
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.
Release 1.0.9 - 2019-01-20
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
Release 1.0.8 - 2019-01-19
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.
Release 1.0.7
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
andGet-UnifiNetworkDetails
for testing.
Added
Get-UnifiFirewallGroupDetails
-Related to #10- Git Attributes File
- Editor Config
- Add
License.md
, a Markdown version ofLICENSE
Changed
- Markdown Documents tweaked (Header)
- Git Ignore extended
- Add Multi valued inputs to
Get-UnifiNetworkDetails
- Add
-Id
parameter toGet-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 toGet-UnifiNetworkDetails
- Related to #9 - Moved
Get-UnifiFirewallGroupBody
from Public to Private (No longer exported as command)
Release 1.0.6
Release 1.0.5
No real new functions, everything was behind the scenes or under the hood!
Release 1.0.4
Initial Release within the new repository.