Month: January 2019
-
+
+
+
+
+
+
Exploring Hashmaps in Powershell $keep = @{} //declare an empty hashmap /* Next add all the shared mailboxes to the hashmap */ $keep = get-mailbox | ? { $_.recipienttypedetails -eq ‘sharedmailbox’ } | % { $keep.add($_.name,$_.primarysmtpaddress) } /* Big assumption for this next portion: I’ll assume you’ve put the list…
-
=NOT(ISERROR(MATCH(A2,$B$2:$B$1001,0)))
-
+
+
+
+
+
+
Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select DisplayName, ItemCount, TotalItemSize | Export-CSV C:\temp\results.csv