All of the following information is based on go version go1.14.7 darwin/amd64
.
(Bold = supported by go
out of the box, ie. without the help of a C compiler, etc.)
aix
android
Write-Output "Disabling WinRM over HTTP..." | |
Disable-NetFirewallRule -Name "WINRM-HTTP-In-TCP" | |
Disable-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" | |
Get-ChildItem WSMan:\Localhost\listener | Remove-Item -Recurse | |
Write-Output "Configuring WinRM for HTTPS..." | |
Set-Item -Path WSMan:\LocalHost\MaxTimeoutms -Value '1800000' | |
Set-Item -Path WSMan:\LocalHost\Shell\MaxMemoryPerShellMB -Value '1024' | |
Set-Item -Path WSMan:\LocalHost\Service\AllowUnencrypted -Value 'false' | |
Set-Item -Path WSMan:\LocalHost\Service\Auth\Basic -Value 'true' |
# List of available PowerShell Accelerators to use in functions | |
[psobject].Assembly.GetType('System.Management.Automation.TypeAccelerators')::Get | sort-Object -Property Value |
[Trigger] | |
Type = Package | |
Operation = Install | |
Operation = Upgrade | |
Target = pacman-mirrorlist | |
[Action] | |
Description = Updating mirrorlist... | |
When = PostTransaction | |
Depends = reflector |
#requires -version 2 | |
<# | |
.SYNOPSIS | |
<Overview of script> | |
.DESCRIPTION | |
<Brief description of script> | |
.PARAMETER <Parameter_Name> | |
<Brief description of parameter input required. Repeat this attribute if required> |
<domain type='kvm' id='12'> | |
<name>esxi</name> | |
<memory unit='KiB'>4194304</memory> | |
<currentMemory unit='KiB'>4194304</currentMemory> | |
<vcpu placement='static'>2</vcpu> | |
<resource> | |
<partition>/machine</partition> | |
</resource> | |
<os> | |
<type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type> |