Open powershell and enter the following :
(get-wmiobject WIN32_bios).SerialNumber
Which will return the system’s serial number registered in the BIOS.
🙂 Enjoy.
Because all things tech interest me
Open powershell and enter the following :
(get-wmiobject WIN32_bios).SerialNumber
Which will return the system’s serial number registered in the BIOS.
🙂 Enjoy.
Use the following to return all mailboxes and there sizes on a specified database, which outputs to CSV
' Get Exchange Mailbox Sizes ' Powershell ' Get-Mailbox -Database "Mailbox Database 2048287781" | sort-object | Select-Object name,alias,servername,ProhibitSendQuota,IssueWarningQuota,MaxReceiveSize,MaxSendSize,DisplayName,Database, PrimarySmtpAddress,ProhibitSendReceiveQuota,@{n="Size(KB)";e = {$MBXstat = Get-MailboxStatistics $_.name; $MBXstat.totalItemsize}},@{n="Items"; e = {$MBXstat = Get-MailboxStatistics $_.name ; $MBXstat.itemcount; $MBXstat.storageLimitStatus}} | Export-Csv C:output.csv ' '
You can then open the file in Excel and edit to make more readable.
Enjoy 🙂
21/08/2013: Updated to make more readable.