Skip to content

Instantly share code, notes, and snippets.

View Smalls1652's full-sized avatar
๐Ÿ˜Ž

Timothy Small Smalls1652

๐Ÿ˜Ž
View GitHub Profile
@Smalls1652
Smalls1652 / Invoke-AvdAgentInstall.ps1
Last active April 8, 2025 06:18
Install Azure Virtual Desktop agents onto an Azure VM.
[CmdletBinding(SupportsShouldProcess)]
param(
[Parameter(Position = 0, Mandatory)]
[string]$RegistrationToken
)
<#
Notes about this script:
**This script is meant to be passed to a Windows 10/Server VM in Azure with the 'Invoke-AzVMRunCommand' cmdlet.**
@Smalls1652
Smalls1652 / Invoke-SysinternalsInstall.ps1
Last active December 16, 2021 03:40
Installer/updater for the Sysinternals Suite.
<#PSScriptInfo
.VERSION 2021.12.0
.GUID 4717f1e9-c5ac-4343-bc80-49aee14a3904
.AUTHOR Tim Small
.COMPANYNAME Smalls.Online
<#PSScriptInfo
.VERSION 2021.12.0
.GUID 9332350c-f337-4184-a850-a5c9367aac55
.AUTHOR Tim Small
.COMPANYNAME Smalls.Online
@Smalls1652
Smalls1652 / Get-DayOfWeekOccurancesFromMonth.ps1
Last active March 29, 2022 18:28
Get-DayOfWeekOccurancesFromMonth
<#PSScriptInfo
.VERSION 2022.03.00
.GUID a91fcfe0-c9af-4d29-8a41-54de1e08f698
.AUTHOR Tim Small
.COMPANYNAME Smalls.Online

Keybase proof

I hereby claim:

  • I am smalls1652 on github.
  • I am smallsonline (https://keybase.io/smallsonline) on keybase.
  • I have a public key ASDaiz3fiosga4WleUuLlbWEy1wzHXPhky-qdOu58qGI1Qo

To claim this, I am signing this object:

@Smalls1652
Smalls1652 / Detect_MSMSDT-Key.ps1
Created May 31, 2022 19:54
Intune Proactive Remediation - CVE-2022-30190
function Get-MSMSDTKey {
[CmdletBinding()]
param()
# Add registry hive 'HKEY_CLASSES_ROOT' as a PSDrive named 'HKCR'.
$null = New-PSDrive -Name "HKCR" -PSProvider "Registry" -Root "HKEY_CLASSES_ROOT"
# Test if the 'ms-msdt' key exists in 'HKCR'.
$testPathResult = Test-Path -Path "HKCR:\ms-msdt"
<#PSScriptInfo
.VERSION
2023.01.00
.GUID
af323a90-27a4-4e19-ad07-8cdb3a574364
.AUTHOR
Tim Small
.COMPANYNAME
Smalls.Online
.COPYRIGHT
@Smalls1652
Smalls1652 / Low.ini
Last active September 12, 2023 22:33
My Starfield Steam Deck graphics presets
[Display]
bVolumetricLightingEnable=0
bDepthOfFieldEnable=0
[Decals]
uMaxDecals=20
uMaxSkinDecals=5
uMaxSkinDecalsPerActor=5
iMaxDecalsPerFrame=3
iMaxSkinDecalsPerFrame=1