Skip to content

Instantly share code, notes, and snippets.

View SystemJargon's full-sized avatar

SystemJargon SystemJargon

  • New Zealand
  • 17:29 (UTC +12:00)
View GitHub Profile
@SystemJargon
SystemJargon / autounattend.xml
Created May 28, 2023 04:28
autounattend.xml for Windows installation (en-NZ region/language). Is AutoPilot compatible. Will wipe disk0 and use max space possible on partition4 for Windows
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>1409:00000409</InputLocale>
<SystemLocale>en-NZ</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-NZ</UserLocale>
<SetupUILanguage>
Code Company Price Change Volume Value Captilisation
ACE Ascension Capital Limited $0.055 $0.000 / 0.00% 0 $0.00 $1,053,186
AFC AFC Group Holdings Limited $0.001 $0.000 / 0.00% 0 $0.00 $3,664,216
AFI Australian Foundation Investment Company Limited $8.180 $0.000 / 0.00% 0 $0.00 $10,107,411,338
AFT AFT Pharmaceuticals Limited $3.790 $0.000 / 0.00% 0 $0.00 $397,443,125
AGG Smartshares Global Aggregate Bond ETF $1.158 $0.000 / 0.00% 2,439,837 $2,813,132.06 $163,123,138
AGL Accordant Group Limited $1.820 $0.000 / 0.00% 0 $0.00 $61,531,020
AIA Auckland International Airport Limited $8.310 $0.000 / 0.00% 0 $0.00 $12,239,142,070
AIR Air New Zealand Limited (NS) $0.770 $0.000 / 0.00% 0 $0.00 $2,593,691,202
AKL Auckland Real Estate Trust $0.930 $0.000 / 0.00% 0 $0.00 $74,718,200
@SystemJargon
SystemJargon / NZX-Jan10-2023.csv
Created January 10, 2023 03:02
NZX/NZSE data from January 10 2023.
Code Company Price Change Volume Value Captilisation
ACE Ascension Capital Limited $0.055 $0.000 / 0.00% 0 $0.00 $1,053,186
AFC AFC Group Holdings Limited $0.001 $0.000 / 0.00% 0 $0.00 $3,664,216
AFI Australian Foundation Investment Company Limited $8.180 -$0.010 / -0.12% 301 $2,452.23 $10,107,411,338
AFT AFT Pharmaceuticals Limited $3.790 $0.070 / 1.88% 5,371 $20,318.65 $397,443,125
AGG Smartshares Global Aggregate Bond ETF $1.146 $0.005 / 0.44% 3,883 $4,464.98 $161,432,743
AGL Accordant Group Limited $1.790 $0.000 / 0.00% 61 $109.75 $60,516,773
AIA Auckland International Airport Limited $8.080 $0.040 / 0.50% 161,843 $1,304,994.80 $11,900,393,252
AIR Air New Zealand Limited (NS) $0.760 -$0.005 / -0.65% 469,478 $356,596.05 $2,560,006,900
@SystemJargon
SystemJargon / Remove-Store-Bloatware.ps1
Created December 15, 2022 00:05
Remove Windows Store Bloatware
#requires -version 4
<#
.SYNOPSIS
.DESCRIPTION
Removes pre-installed apps from Windows 10
Based on https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/scripts/remove-default-apps.ps1
Do the same for the new plan
@SystemJargon
SystemJargon / ADUser-password-policy-expiry.md
Created December 2, 2022 21:20
Below is a simple how-to of sorts to get the default domain password policy. Then to set PasswordNeverExpires as True Or False for a single user, specific ADGroup, specific OU or users in a CSV file.

Default Domain Password Policy and Set Password Expiry

Below is a simple how-to of sorts to get the default domain password policy.

Then to set PasswordNeverExpires as True Or False for a single user, specific ADGroup, specific OU or users in a CSV file.

Notes:

  • Specify PasswordNeverExpires as $true to set expire $false to not expire.
  • It is recommended users do have an expiring password as a simple security measure by default.
  • The default MaxPasswordAge if not explicitly defined, is set to 42 days (via Default Domain Policy / GPO).

Microsoft URL's for Azure, inTune and other portal URL's


Azure Active Directory

Azure AD


@SystemJargon
SystemJargon / powershell-admin-check.md
Created September 26, 2022 02:34
Info about when running powershell scripts and force require it be run as an Administrator to execute.

Purpose: When running powershell scripts and force require it be run as an Administrator to execute.

Simple check

#Requires -RunAsAdministrator

More detailed / older powershell version

function Test-Administrator 
@SystemJargon
SystemJargon / ssh-key-guide.md
Last active September 26, 2022 00:49
SSH Key generation with ed25519, including hardware key example of YubiKey.

To generate a new key pair using ed25519, type this command:

ssh-keygen -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C “demo comment here”

You can specify a password or have the key password-less.

——

To copy the new key to server2 as an example type this command:

@SystemJargon
SystemJargon / Windows_Activation.md
Created August 30, 2022 02:40
Windows Activation commands
cd c:\windows\system32

slmgr.vbs /dlv
slmgr.vbs /ipk <product key here>
slmgr.vbs /skms <kms server name>
slmgr.vbs /ato

Replace with your own.

## Source https://v.firebog.net/hosts/lists.php?type=tick
##
https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts
https://v.firebog.net/hosts/static/w3kbl.txt
https://adaway.org/hosts.txt
https://v.firebog.net/hosts/AdguardDNS.txt
https://v.firebog.net/hosts/Admiral.txt
https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt