#Run winrm quickconfig defaults echo Y | winrm quickconfig
Enter-PSSession -ComputerName 192.168.2.229 –Credential
netstat -nb | findstr /R ":80"
| VMware vSphere 6 Enterprise Plus | |
| 1C20K-4Z214-H84U1-T92EP-92838 | |
| 1A2JU-DEH12-48460-CT956-AC84D | |
| MC28R-4L006-484D1-VV8NK-C7R58 | |
| 5C6TK-4C39J-48E00-PH0XH-828Q4 | |
| 4A4X0-69HE3-M8548-6L1QK-1Y240 | |
| VMware vSphere with Operations Management 6 Enterprise | |
| 4Y2NU-4Z301-085C8-M18EP-2K8M8 | |
| 1Y48R-0EJEK-084R0-GK9XM-23R52 |
| 1.) Download the certificates from StartSSL: | |
| Private Key (myserver.key) | |
| Server Certificate | |
| CA Certificate | |
| Intermediate Certificate | |
| 2.) Copy the contents from the above certificates and paste them into a new server.crt file. | |
| 3.) Next, convert the cert from PEM to PKCS12 format using the following command: |
| [CmdletBinding()] | |
| Param( | |
| [switch]$ListAllAvailable, | |
| [switch]$ExcludePreview, | |
| [switch]$ExcludeOutofBand | |
| ) | |
| $ProgressPreference = 'SilentlyContinue' | |
| $URI = "https://aka.ms/WindowsUpdateHistory" # Windows 10 release history | |
| Function Get-MyWindowsVersion { |
| vmware: | |
| - | |
| name: 'VMware NSX for vSphere' | |
| serial: null | |
| url: | |
| - 'http://software.onthehub.com/shared/publisher/VMware/VMware-NSX-Manager-6.2.0-2986609.ova' | |
| - | |
| name: 'VMware vRealize Suite 7 Enterprise' | |
| serial: null | |
| url: |
| # Copyright 2019, Alexander Hass | |
| # https://www.hass.de/content/setup-microsoft-windows-or-iis-ssl-perfect-forward-secrecy-and-tls-12 | |
| # | |
| # After running this script the computer only supports: | |
| # - TLS 1.2 | |
| # | |
| # Version 3.0.1, see CHANGELOG.txt for changes. | |
| Write-Host 'Configuring IIS with SSL/TLS Deployment Best Practices...' | |
| Write-Host '--------------------------------------------------------------------------------' |
| <# | |
| .SYNOPSIS | |
| Configures a secure WinRM listener over HTTPS to enable | |
| SSL-based WinRM communications. This script has not been | |
| tested on Windows Server 2003R2 or earier, and may not | |
| work on these OSes for a variety of reasons. | |
| If Windows Remote Management is disabled (e.g. service | |
| stopped, GPO Policy, etc.), this script will likely fail. | |
| .DESCRIPTION |
| <#---------------------------------------------------------------------------------------------------- | |
| Release Notes: | |
| v1.4: | |
| Author: Jared Poeppelman, Microsoft | |
| First version published on TechNet Script Gallery | |
| ----------------------------------------------------------------------------------------------------#> | |
| function Test-Command | |
| { |
| function Measure-ChildItem { | |
| <# | |
| .SYNOPSIS | |
| Recursively measures the size of a directory. | |
| .DESCRIPTION | |
| Recursively measures the size of a directory. | |
| Measure-ChildItem uses win32 functions, returning a minimal amount of information to gain speed. Once started, the operation cannot be interrupted by using Control and C. The more items present in a directory structure the longer this command will take. | |
| This command supports paths longer than 260 characters. |