- Replace problematic Get-Help call with simple Write-Host statements
- Ensures help works in all PowerShell execution contexts
- Maintains consistent help format with other scripts
- Tested successfully on PowerShell Core 7.5.2
- New sf-org-lic script for comprehensive license reporting
- Generates reports for User Licenses and Permission Set Licenses
- Enhanced error handling with org validation and clear error messages
- Follows consistent sf-org-* naming convention with -to/-hp options
- Professional formatted output with totals and color coding
- Removed problematic FeatureLicense queries (not available in most orgs)
- Updated README.md with full documentation and installation instructions
Fixes issues with original sf-licenses-report.sh:
- Silent failures when org doesn't exist
- Poor error handling and cryptic messages
- SOQL query issues with FIELDS(ALL)
- Inconsistent naming convention
- Fixed bash syntax error on Linux: 1 -> 0
- The problematic syntax worked on macOS but failed on Linux with 'bad substitution' error
- Now compatible with both Linux and macOS bash versions
- Tested on Ubuntu Linux with bash 5.2.21