I published a new version, Release 1.0.11, of the Ubiquiti UniFi Controller API Management and automation module.
Even if I marked this as a minor release, this one contains a lot of new functionality.
Release Notes:
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
Feel free to install it from the PowerShell Gallery.
# Install the module for the Current User with PowerShellGet directly from the Powershell Gallery, Preferred method
# Run in a regular or administrative PowerShell prompt (Elevated).
Install-Module -Name 'UniFiTooling' -Scope CurrentUser
# Install the module for the All Users with PowerShellGet directly from the Powershell Gallery, Preferred method.
# Run this in an administrative PowerShell prompt (Elevated).
Install-Module -Name 'UniFiTooling' -Scope AllUsers
You will find the latest version in the release page of the GitHub repository for this module.