Skip to content

Instantly share code, notes, and snippets.

View Smalls1652's full-sized avatar
😎

Timothy Small Smalls1652

😎
View GitHub Profile
@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
<#PSScriptInfo
.VERSION
2023.01.00
.GUID
af323a90-27a4-4e19-ad07-8cdb3a574364
.AUTHOR
Tim Small
.COMPANYNAME
Smalls.Online
.COPYRIGHT
@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"

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 / 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
<#PSScriptInfo
.VERSION 2021.12.0
.GUID 9332350c-f337-4184-a850-a5c9367aac55
.AUTHOR Tim Small
.COMPANYNAME Smalls.Online
@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
@Smalls1652
Smalls1652 / Invoke-AvdAgentInstall.ps1
Last active August 2, 2023 00:10
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 / README.md
Last active October 19, 2021 23:55
Azure Storage - PST Upload Script

Upload PST File to Azure Storage Account

Changelog

2021.08.02 <-- Current version

Posted on 2021-10-19 at 07:51 PM EDT

  • Added a skip option if a blob for a file already exists.
  • Fixed the reticulation of spines. This should no longer be an issue.
@Smalls1652
Smalls1652 / Detect_UsbSelectiveSuspendSettings.ps1
Created August 10, 2021 17:28
Intune Proactive Remediation scripts for disabling 'USB selective suspend' on a device's current active power scheme.
[CmdletBinding()]
param()
<#
Function name: New-LogFile
Description:
Creates a new log file for script execution.