In macOS Tahoe, the command to get the current AirPort network is not working as expected, and the SSID value is showing as <redacted>.
Could you please suggest any alternative script or method to retrieve the currently connected Wi-Fi SSID name?
This is required to help us deploy the Network Configuration Profile only when the Mac is connected to an out-of-office network.
Thank you.
