Skip to content

Instantly share code, notes, and snippets.

View AhsenBaig's full-sized avatar

Ahsen Baig AhsenBaig

View GitHub Profile
@AhsenBaig
AhsenBaig / Readme.md
Created February 3, 2025 16:55 — forked from LM1LC3N7/Readme.md
Automating application install on a fresh Windows 10/11 using Microsoft Store and winget

FASIC

Fast and Automatic Software Install and Configuration (on Windows)

Need

Install my common apps on Windows as fast as possible and mostly automatically, after a reimaging or reset of my OS. Also change some settings on Windows, like disabling the bing search in the start menu.

How it works?

This PowerShell script uses Microsoft Store and winget to download and install a list of application, configured at the top of the file.

@AhsenBaig
AhsenBaig / psdecode.ps1
Created February 24, 2022 00:21 — forked from idiom/psdecode.ps1
Script to decode a Base64 Encoded and Compressed PowerShell script
#
# Decode a base64 and compressed Powershell script.
#
#
#
#
$input = Read-Host -Prompt 'Base64 Text'
$decoded = $(New-Object IO.StreamReader ($(New-Object IO.Compression.DeflateStream($(New-Object IO.MemoryStream(,$([Convert]::FromBase64String($input)))), [IO.Compression.CompressionMode]::Decompress)), [Text.Encoding]::ASCII)).ReadToEnd();
Write-Host "----- Decoded -----"
@AhsenBaig
AhsenBaig / Build_SQLInstance_wStringCreds_andPortNumber.ps1
Created October 19, 2021 18:12 — forked from SQLvariant/Build_SQLInstance_wStringCreds_andPortNumber.ps1
Use Invoke-ExecuteNotebook to build a SQL-on-Linux instance in a Docker container, by calling Invoke-ExecuteNotebook to execute the Notebook, and passing in the sa_password & digits for the name/port number to the Notebook as a parameter.
Invoke-ExecuteNotebook -InputNotebook .\SQL-on-Docker-with-PowerShell.ipynb -Parameters @{sa_password = 'Test9999'; SQLNumber = 97}