Skip to content

Instantly share code, notes, and snippets.

@frndlyy
frndlyy / Git_VSCode
Created March 2, 2020 23:26 — forked from joeweller/Git_VSCode
Initiate ssh-agent and open VSCode
START "" "start-ssh-agent" ^&^& EXIT
code | exit
@frndlyy
frndlyy / reclaimWindows10.ps1
Created October 29, 2019 19:02 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
@frndlyy
frndlyy / ADDomain_Verify_OperationsMasters.ps1
Last active January 5, 2024 15:49
PowerShell Scripts and Snippets/One Liners
#Have you ever wanted to verify which server in your Domain holds the FSMO roles?
#Wait no further and use this script to verify the FSMO , Schema and Domain Naming masters in your environment
Get-ADDomain | Select-Object InfrastructureMaster, RIDMaster, PDCEmulator
Get-ADForest | Select-Object DomainNamingMaster, SchemaMaster
Get-ADDomainController -Filter * |