Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Convert HTML issue

$
0
0

Hi,

I got issue to convert it correctly to HTML. Appreciate any help on this.

$MCount=(get-mailboxdatabase) | where-Object {$_.name -NotMatch "DB1" -And $_.name -NotMatch "DB2" -And $_.name -NotMatch "DB3" -And $_.name -NotMatch "DB4" -And $_.name -NotMatch "DB5"} |foreach-object {write-host $_.name (get-mailbox -database $_.name).count} | ConvertTo-Html -head $BodyStyle


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>