Search Results for https

How to enable HTTP Strict-Transport-Security (HSTS) on IIS

Edit Website HSTS in IIS

...Transport Security response header: <outboundRules> <rule name="Add Strict-Transport-Security when HTTPS" enabled="true"> <match serverVariable="RESPONSE_Strict_Transport_Security" pattern=".*" /> <conditions> <add input="{HTTPS}" pattern="on" ignoreCase="true" /> </conditions> <action type="Rewrite" value="max-age=31536000" /> </rule> </outboundRules> While you’re...

Windows 11 and WSL 2 DevOps environment

DevOps/SysOps Infrastructure as a Service flow

...install cloudmonkey But unfortunately, this doesn’t work with WSL, as snap install fails. Luckily you can download standalone binaries and use CloudMonkey in Windows and Linux: https://github.com/apache/cloudstack-cloudmonkey/releases/download/6.2.0/cmk.windows.x86-64.exe https://github.com/apache/cloudstack-cloudmonkey/releases/download/6.2.0/cmk.linux.x86-64 and this...

Install OpenSSH in Windows Server

OpenSSH SSH Server Properties in Windows Server

...file? Prerequisites to install OpenSSH In order to be able to install OpenSSH on Windows, you need the software. Doh! 🙂 Download the latest OpenSSH for Windows release from GitHub: https://github.com/PowerShell/Win32-OpenSSH/releases (OpenSSH-Win64.zip for example)....

Disk Cleanup in Windows Server

Analyze Component Store size with DISM in PowerShell

...https://www.flickr.com/photos/pabak/14410484092 Dism disk cleanup: Deployment Image Servicing and Management (DISM) is a command-line tool that allows you to install, uninstall, configure, and update Windows features, packages, drivers, and international settings....

Send email with PowerShell

PowerShell 5.0 logo

...to SMTP servers. While there is no immediate replacement available in PowerShell, we recommend you do not use Send-MailMessage at this time. See https://aka.ms/SendMailMessage for more information. Time for something...

List all SPNs used in your Active Directory

The house of names sign is displayed.

...in your domain. It will query and list the Service Principal Names – SPNs. # Source / credit: # https://social.technet.microsoft.com/wiki/contents/articles/18996.active-directory-powershell-script-to-list-all-spns-used.aspx cls $search = New-Object DirectoryServices.DirectorySearcher([ADSI]"") $search.filter = "(servicePrincipalName=*)" ## You...