Skip to content

Instantly share code, notes, and snippets.

View paulvill76's full-sized avatar

Pablo Villaronga paulvill76

View GitHub Profile
@paulvill76
paulvill76 / VMware vSphere 6.x Licence Keys
Created December 22, 2023 08:57 — forked from pablovillarongaNUT/VMware vSphere 6.x Licence Keys
VMware vSphere 6 and 7 Licence Keys
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
@paulvill76
paulvill76 / gist:f53a4adad8c1d09cf3d382f53187273f
Created September 24, 2021 11:31 — forked from kris-anderson/gist:3d91a8d7e5e050558f9b
Enable Subsonic SSL on Ubuntu 14.04 using StartSSL
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:
@paulvill76
paulvill76 / Get-CurrentPatchInfo.ps1
Created June 23, 2021 13:39 — forked from SMSAgentSoftware/Get-CurrentPatchInfo.ps1
Gets the current software update level of a Windows 10 workstation and compares with the latest available updates. Can also list all available updates for the current build.
[CmdletBinding()]
Param(
[switch]$ListAllAvailable,
[switch]$ExcludePreview,
[switch]$ExcludeOutofBand
)
$ProgressPreference = 'SilentlyContinue'
$URI = "https://aka.ms/WindowsUpdateHistory" # Windows 10 release history
Function Get-MyWindowsVersion {
@paulvill76
paulvill76 / vmware-onthehub-downloads.yml
Created June 19, 2021 19:54 — forked from rohan-molloy/vmware-onthehub-downloads.yml
Public Downloads for Various VMWare Products from OnTheHub.Com. License keys are requied
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:
@paulvill76
paulvill76 / setupiisforsslperfectforwardsecrecy_v17.ps1
Created May 18, 2021 08:35 — forked from jbratu/setupiisforsslperfectforwardsecrecy_v17.ps1
Great powershell script for tightening HTTPS security on IIS and disabling insecure protocols and ciphers. Very useful on core installations.
# 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 '--------------------------------------------------------------------------------'
@paulvill76
paulvill76 / psremoting.md
Created March 18, 2021 11:10 — forked from akrisiun/psremoting.md
Enable PSRemoting port 5985

#Run winrm quickconfig defaults echo Y | winrm quickconfig

Enter-PSSession -ComputerName 192.168.2.229 –Credential

netstat -nb | findstr /R ":80"

Remote PS port 5985

@paulvill76
paulvill76 / Configure-SecureWinRM.ps1
Created March 11, 2021 14:51 — forked from bender-the-greatest/Configure-SecureWinRM.ps1
Configure WinRM to listen over SSL (port 5986) and use the web certificate generated by a certificate templated called 'WinRM'. Highly recommend reading Synopsis, Description, and Examples.
<#
.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.
@paulvill76
paulvill76 / processResponse.js
Created November 19, 2019 08:49 — forked from mikepfeiffer/processResponse.js
Client side code that processes the response from a demo Azure function
function processResponse(response) {
if (response.status === 200) {
output =
`
<div class="alert alert-success" role="alert">
Hello, ${document.getElementById('name').value}! It's nice to meet you!
</div>
`;
document.getElementById('output').innerHTML = output;
} else {