Skip to content

Instantly share code, notes, and snippets.

View aravindhp's full-sized avatar
🖥️
Creating virtual desktops

Aravindh Puthiyaparambil aravindhp

🖥️
Creating virtual desktops
View GitHub Profile
@aravindhp
aravindhp / gcp-machineset.yaml
Created April 26, 2022 18:54
gcp-machineset
apiVersion: machine.openshift.io/v1beta1
kind: MachineSet
metadata:
labels:
machine.openshift.io/cluster-api-cluster: aravindh-winc-6h9df
name: aravindh-winc-6h9df-windows-worker-a
namespace: openshift-machine-api
spec:
replicas: 1
selector:
@aravindhp
aravindhp / gcloud-win
Created April 26, 2022 18:13
gcloud-win
function Get-RandomPassword {
Add-Type -AssemblyName 'System.Web'
return [System.Web.Security.Membership]::GeneratePassword(16, 2)
}
$UserAccount = Get-LocalUser -Name "Administrator"
$password = ConvertTo-SecureString Get-RandomPassword -asplaintext -force
$UserAccount | Set-LocalUser -Password $password
$UserAccount | Enable-LocalUser
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
$firewallRuleName = "ContainerLogsPort"
@aravindhp
aravindhp / keybase.md
Created December 7, 2018 19:23
Keybase

Keybase proof

I hereby claim:

  • I am aravindhp on github.
  • I am aravindhp (https://keybase.io/aravindhp) on keybase.
  • I have a public key ASCfyo_LV2vybjfRaSwBA9cHWLa0wHe_rd8EZqpUkFtVKgo

To claim this, I am signing this object: