PoshBot.ITGlue.psm1
function get-score { <# .SYNPOSIS Retrieves the IT Glue repuation (or score) for a designated user .PARAMETER NAME The full name of the user of whom we want to obtain the reputation for .EXAMPLE !get-score -Name Joe Schmo #> [PoshBot.BotCommand(CommandName = 'O365Connect')] [CmdletBinding()] param($Name) (Get-ITGlueUsers -Filter_Name $Name).data.attributes.reputation } Export-ModuleMember -Function 'get-score' |