Exchange DB Size, Sum of size, the largest mailboxes

**********************
Windows PowerShell Transcript Start
Start time: 20130131102344
Username : vdi.lab\amasv
Machine : EX2010-2 (Microsoft Windows NT 6.1.7600.0)
**********************
Transcript started, output file is C:\Users\amasv\Documents\PowerShell_transcript.20130131102344.txt
[PS] C:\Windows\system32>Get-MailboxDatabase -Status | select ServerName,Name,DatabaseSize

ServerName Name DatabaseSize
———- —- ————
EX2010-2 DB1 24.76 GB (26,585,137,152 bytes)
EX2010-2 DB2 24.51 GB (26,315,128,832 bytes)
EX2010-2 DB3 64.51 GB (69,272,141,824 bytes)
EX2010-2 DB4 112.4 GB (120,677,007,360 bytes)
EX2010-2 DB5 15.63 GB (16,786,194,432 bytes)
EX2010-2 DB6 28.63 GB (30,745,886,720 bytes)
EX2010-1 DB7 136.1 MB (142,671,872 bytes)
EX2010-1 DB8 5.633 GB (6,048,251,904 bytes)
EX2010-1 DB9 3.883 GB (4,169,203,712 bytes)
[PS] C:\Windows\system32>Get-MailboxDatabase -Status | select ServerName,Name,DatabaseSize | Sort-Object DatabaseSize -Descending | measure-object -Property DatabaseSize -Sum -Maximum
Count : 9
Average :
Sum : 300741623808
Maximum : 120677007360
Minimum :
Property : DatabaseSize

 

[PS] C:\Windows\system32>get-mailboxserver * | Get-MailboxStatistics | sort-object -Property totalitemsize -des | select-object displayname, totalItemSize -first 10

DisplayName TotalItemSize
———– ————-
user1 5.438 GB (5,838,972,934 bytes)
user2 5.421 GB (5,820,989,079 bytes)
user3 2.831 GB (3,040,076,803 bytes)

[PS] C:\Windows\system32>Stop-Transcript
**********************
Windows PowerShell Transcript End
End time: 20130131102532
**********************

for better sorting

| Select-Object eventid,sender,timestamp,@{Name=“Recipients“;Expression={$_.recipients}},@{Name=“RecipientStatus“;Expression={$_.recipientstatus}},messagesubject |
Export-CSV filename.csv

 

 

How manual change logon screen picture Win7

In first step you have to have  admin rights:

1.run

regedit tool

 

2. go to HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background\

set dword key OEMBackground from  0 to 1

 

3.In path %windir%\system32\oobe\info\

create folder name backgrounds

 

4. Now put  your picture „JPG“ file with size less than 256 kb in this folder and rename it to backgroundDefault.jpg

Server 2012 Deduplication Data – how check save data

If you have a file server and you want get know how much data  you will be able save if  migrate to Server 2012 , copy from Windows Server 2012  from path c:\windows\system32\ you will found  tool ddpeval.exe (or you can download this tool „ddpeval.zip“ from skydrive on main page of marwin.e-blog.cz)

This tool only show you, how much data You will be able to save. This tool does not deduplicate ! Examples

ddpeval.exe \\dchv\d 

or

ddpeval.exe :d

—————————————————————————————————————————————————————————

In pictures below you can see how turn on deduplication on the server and result of real deduplication

FIRST  „enable deduplication data“  ( feature of file server role ),

start-DedupJob

 

get-DedupStatus

Deduplicate features works with local disks, volumes , no remote network store, remote network shares