Audio conference licensing

Chad Rodriguez 361 Reputation points

I would like to run the following but only retrieve sku: MCOMEETADV. It gives me everything.

$customformat = @{expr={$.AccountSkuID};label="MCOMEETADV"},
$result = Get-MsolAccountSku | sort activeunits -desc | select $customformat
$result | foreach{
if($.unassigned -le 5){

[string]$body=$runningout | convertto-html
[string]$body=$result | convertto-html
send-mailmessage -from test@test .com -To test@test .com -SmtpServer -Port 587 -Body $body -Subject "Daily Office 365 License Report" -BodyAsHtml -Credential $cred

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,674 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful