Archive

Archive for August, 2019

[EX2010][PS] Recover mail items from Exchange

August 15, 2019 No comments

How do I recover an item after its been deleted? So long as the recoverable items purge duration has not exceeded, you can run the below command to pull e-mails.

For more specific searchquery, reference Advanced Query Syntax (AQS).

  • Email 
  • Meetings 
  • Tasks 
  • Notes 
  • Docs 
  • Journals 
  • Contacts 
  • IM 

 

Categories: Exchange, Powershell Tags:

[PS] Enable TLS 1.2 as default in Powershell

August 5, 2019 No comments

Check Supported protocol

[Net.ServicePointManager]::SecurityProtocol

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

 

Change Net Frame to use TLS 1.2

Set-ItemProperty -Path ‘HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319’ -Name ‘SchUseStrongCrypto’ -Value ‘1’ -Type DWord

Set-ItemProperty -Path ‘HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319’ -Name ‘SchUseStrongCrypto’ -Value ‘1’ -Type DWord

 

Categories: Powershell Tags: