How delete content of dumpster, Jak smazat obsah kontejneru „Dumpster“

Search-mailbox -identity <alias> -SearchDumpsterOnly -DeleteContent

 

Microsoft: http://technet.microsoft.com/en-us/library/dd298173.aspx

 

Rubriky: Exchange Server / Exchange Online, Powershell | Komentáře nejsou povolené u textu s názvem How delete content of dumpster, Jak smazat obsah kontejneru „Dumpster“

How set static global catalog on MS Exchange Server 2010

Show current settings

Powershell:    get-ExchangeServer -identity <servername> -status | fl

Powershell:   get-ADServersettings | fl

 

you can find info in the Event log/app id = 2080

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

Set Static GC Server

Powershell: Set-ExchangeServer -Identity <servername> -StaticGlobalCatalogs <FQDN of DC GC >                            „If  you want to go back, change <FQDN of DC GC > to $Null  “

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

Show key in Registry

[PS] C:\Windows\system32>$key=get-itemProperty „HKLM:\system\CurrentControlSet\services\MSExchange ADAccess\Profiles\Default\UserGC1“ | select -Property HostName | fl HostName

[PS] C:\Windows\system32>$key

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

For change , restart MS Exchange services or restart server

🙂

 

Rubriky: Exchange Server / Exchange Online, Powershell | Komentáře nejsou povolené u textu s názvem How set static global catalog on MS Exchange Server 2010

MS Exchange 2010 – get setting of continuous replication – block mode

Get-Counter -ComputerName DAGNAME -Counter „\MSExchange Replication(*)\Continuous replication – block mode Active“

1 = block mode is active
0 = is not.

Active Database will always show „0“

 

Rubriky: Exchange Server / Exchange Online, Powershell | Komentáře nejsou povolené u textu s názvem MS Exchange 2010 – get setting of continuous replication – block mode

MS Exchange 2010 – the number of users connected to CAS, počet připojených uživatelů k CAS serveru

Get-Counter -ComputerName NameOfServer  „\MSExchange RpcClientAccess\User Count“

Rubriky: Exchange Server / Exchange Online, Powershell | Komentáře nejsou povolené u textu s názvem MS Exchange 2010 – the number of users connected to CAS, počet připojených uživatelů k CAS serveru

Jak povolit TLS 1.1, 1.2 v windows / How enable TL 1.1 and TLS 1.2 in windows

Je nutne vytvořit klíče viz transcript. / You need to create following keys

 

**********************
Windows PowerShell transcript start
Start time: 20131212112352
Username : FTSAMSVNB\masv
Machine : FTSAMSVNB (Microsoft Windows NT 6.3.9600.0)
**********************
Transcript started, output file is C:\Users\masv\Documents\PowerShell_transcript.20131212112352.txt
PS C:\Users\masv> Get-ItemProperty -path „HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client

DisabledByDefault : 0
Enabled : 1
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPro
viders\SCHANNEL\Protocols\TLS 1.1\Client
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPro
viders\SCHANNEL\Protocols\TLS 1.1
PSChildName : Client
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry

 

PS C:\Users\masv> Get-ItemProperty -path „HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server

DisabledByDefault : 0
Enabled : 1
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPro
viders\SCHANNEL\Protocols\TLS 1.1\Server
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPro
viders\SCHANNEL\Protocols\TLS 1.1
PSChildName : Server
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry

 

PS C:\Users\masv> Get-ItemProperty -path „HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client

DisabledByDefault : 0
Enabled : 1
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPro
viders\SCHANNEL\Protocols\TLS 1.2\Client
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPro
viders\SCHANNEL\Protocols\TLS 1.2
PSChildName : Client
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry

 

PS C:\Users\masv> Get-ItemProperty -path „HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server

DisabledByDefault : 0
Enabled : 1
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPro
viders\SCHANNEL\Protocols\TLS 1.2\Server
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPro
viders\SCHANNEL\Protocols\TLS 1.2
PSChildName : Server
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry

 

SessionName: PS C:\Users\masv> Stop-Transcript
**********************
Windows PowerShell transcript end
End time: 20131212112422
**********************

Rubriky: MIcrosoft Windows (client/server), Powershell | Komentáře nejsou povolené u textu s názvem Jak povolit TLS 1.1, 1.2 v windows / How enable TL 1.1 and TLS 1.2 in windows