Month: August 2019

Securing Windows Remote Desktop Services

secpol.msc > Local Policies > User Rights Assignments > double-click "Allow Log on through Remote…

PowerShell: Quick 1-Liner to Locate Path to Executable

PS C:\Users\tester> (get-command robocopy.exe) | select DefinitionDefinition----------C:\Program Files (x86)\Windows Resource Kits\Tools\robocopy.exeC:\Windows\system32\Robocopy.exe

PowerShell: Convert Between Various SSL Certificate Formats

# Install Choco (look for instructions in this blog)# Install openssl.lightchoco install openssl.light -y #…

Renew or Replace a SSL Certificate in Dynamics CRM

Error Message: "Exchange Online Security Certificate Expiration Please update your certificate or Exchange Online integration…

Penetration Testing of Active Directory

Foreword: the following information is intended as educational contents and advisories on security topics. Please…

Microsoft IIS: How to Forward from HTTP to HTTPS

1. Apply the URL Rewrite module as required:- https://www.iis.net/downloads/microsoft/url-rewrite- Extract and install it 2. Run…

PowerShell: Microsoft Exchange Admin Reports

Function importExchangeModule{ $snapinLoaded = (get-pssnapin microsoft.exchange.management.* -ErrorAction SilentlyContinue).Name $exchangeVersion=(GCM Exsetup.exe | % {$_.FileVersionInfo}).ProductVersion $exchangeVersionMajor=$exchangeVersion.Substring(0,2); $exchangeVersionMinor=$exchangeVersion.Substring(3,2);…

Microsoft Data Calculation for SQL & General Storage

1 Byte = 8 bits1 KB = 1024 bytes1 MB = 1024 KB (or 1048576…