Skip to content

Instantly share code, notes, and snippets.

View jbolduan's full-sized avatar
🤓

Jeff Bolduan jbolduan

🤓
View GitHub Profile
<#PSScriptInfo
.VERSION 1.7
.GUID b6ad1d8e-263a-46d6-882b-71592d6e166d
.AUTHOR Azure Automation Team
.COMPANYNAME Microsoft / ITON
@jbolduan
jbolduan / Devices - Win 10 Servicing.sql
Created October 26, 2018 17:46
PowerON PowerBI SCCM 1806 Dashboard Fixes
select
SYS.ResourceID,
OPSYS.Caption0 [Operating System],
sys.Build01 [OS Version],
WSLN.Value Version,
CASE WSS.Branch
WHEN '0' THEN 'Current Branch'
WHEN '1' THEN 'Current Branch for Business'
WHEN '2' THEN 'Long Term Servicing Branch'
@jbolduan
jbolduan / Detect-October2017DeltaPatches.ps1
Last active October 12, 2017 01:16
Detect if the Windows update delta patches released October 2017 are installed using Powershell.
#requires -Modules PSParallel
param(
# Array of computer names to remote check.
[Parameter()]
[ValidateNotNullOrEmpty]
[string[]]$Computers
)
$WinRMResults = New-Object -TypeName System.Collections.ArrayList
@jbolduan
jbolduan / updatecontent.ps1
Created September 1, 2016 21:03
Update Content of SCCM Application
# Update DP's for an Application (requires specific name)
Import-Module "C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1"
$App = ""
Get-CMApplication -Name $App | Get-CMDeploymentType | ForEach-Object -Process { Update-CMDistributionPoint -ApplicationName $App -DeploymentTypeName $_.LocalizedDisplayName -WhatIf }
@jbolduan
jbolduan / Find-TraverseGroups.ps1
Last active June 3, 2016 20:42
Powershell: Find-Traverse Gists
<#
.SYNOPSIS
Takes in a path and returns the groups with traverse rights on each folder.
.DESCRIPTION
The script takes in a path as a string. It then builds a list of paths to the specific path and checks
each of the directories for groups with read rights defined to "this folder only" and then returns an array
of groups with an added property for the folder path they exist on.
.PARAMETER Path
A string representing the path you would like to get traverse groups for.