Powershell ile alınan çıktılar genelde bizim istediğimiz değerle dışında olup bu değerlerin isteğimiz doğrultusunda KB/MB/GB gibi değerlere dönüştürmek isteyebiliriz. Aşağıdaki PS komutlarını kullanarak bu dönüşümü yapabilirsiniz. Varsayılan değer: Get-Mailbox username | Get-MailboxStatistics |ft displayname,totalitemsize MB değeri: Get-Mailbox username | Get-MailboxStatistics |ft displayname,@{name=”totalitemsize(MB)”;Expression={$_.totalitemsize/1MB}}
Category Archive: PowerShell
May
08
iADSLargeInteger in Powershell getting the RID pool values
I found that there were a few solutions out there on the internet but still didn’t really get me what I was after. I wanted to find out my total SID count that could be created, and then find the current rid pool high water mark so I could track where were at against that …
