Skip to content

Instantly share code, notes, and snippets.

View MSIH's full-sized avatar

MSIH LLC MSIH

View GitHub Profile
@potatoqualitee
potatoqualitee / Save-KBFile.ps1
Last active August 12, 2023 16:00
Download Windows patch files / KB (patchid like KBxxxxx) and save them to disk using PowerShell
function Save-KBFile {
<#
.SYNOPSIS
Downloads patches from Microsoft
.DESCRIPTION
Downloads patches from Microsoft
.PARAMETER Name
The KB name or number. For example, KB4057119 or 4057119.
@larrybotha
larrybotha / A.markdown
Last active October 24, 2023 21:26
Merge wiki updates that are on a fork of your repo.

Merge Wiki Changes From A Forked Github Repo

This is inspired (or basically copied) from How To Merge Github Wiki Changes From One Repository To Another, by Roman Ivanov, and serves to ensure that should something happen to the original article, the information remains nice and safe here.

Terminology

OREPO: original repo - the repo created or maintained by the owner

FREPO: the forked repo that presumably has updates to its wiki, not yet on the OREPO

@janikvonrotz
janikvonrotz / Replace-SPRoleAssignment.ps1
Last active March 18, 2020 16:34
PowerShell: Replace SharePoint Role Assignments #PowerShell #SharePoint
$Metadata = @{
Title = "Replace SharePoint Role Assignments"
Filename = "Replace-SPRoleSsignment.ps1"
Description = ""
Tags = "powershell, sharepoint, role, assignment"
Project = ""
Author = "Janik von Rotz"
AuthorContact = "http://janikvonrotz.ch"
CreateDate = "2013-05-17"
LastEditDate = "2013-05-17"