Skip to content

Instantly share code, notes, and snippets.

Zachary Loeber zloeber

Block or report user

Report or block zloeber

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
zloeber / bootstrapwindows10.ps1
Last active Aug 16, 2019
Boxstarter Windows 10 Configuration
View bootstrapwindows10.ps1
The command to run, built from the raw link of this gist
iexplore<RAW GIST LINK>
OR (if you don't like the way the web launcher force re-installs everything)
zloeber / install-direnv.ps1
Created Dec 28, 2018
Install latest direnv from github releases with powershell
View install-direnv.ps1
Downloads and installs most recent direnv cli app to your user profile.
Default location will be $HOME/.local/bin (which is also added to your environment path)
Function Update-SystemPath {
zloeber / GetDuplicateAzureADDynamicGroups.ps1
Created Feb 4, 2018
List Duplicate AzureAD Dynamic Groups Based On Filter
View GetDuplicateAzureADDynamicGroups.ps1
Finds a good portion of possible dupliate dynamic groups in Azure AD. Will not find super complicated member filter duplicates but should find most common filters (like all PCs and the zillions of 'Subsidiary*' groups that InTune upgrades have created on the back end)
Requires the AzureADPreview module to work correctly!
More on dynamic membership in Azure AD:
Remove-Module AzureAD -Force -ErrorAction:SilentlyContinue
zloeber / Remove-InstalledApp.ps1
Created Feb 27, 2018
PowerShell: Uninstall App or Exe via PackageManagement
View Remove-InstalledApp.ps1
Function Remove-InstalledApp ([string]$AppName) {
get-package $AppName -ErrorAction:SilentlyContinue | Foreach {
$app = $_
switch ($app.ProviderName) {
'msi' {
Write-Output "Uninstalling msi for $($app.Name)"
$app | Uninstall-Package
'PowerShellGet' {
Write-Output "Uninstalling PowerShellGet package for $($app.Name)"
zloeber / CreateAzureADDynamicGroups.ps1
Created Feb 4, 2018
Azure AD Dynamic Group Standard Groups
View CreateAzureADDynamicGroups.ps1
Creates or updates existing a handful of AzureAD dynamic groups for use in Azure AD
Requires the AzureADPreview module to work correctly!
More on dynamic membership in Azure AD:
Remove-Module AzureAD -Force -ErrorAction:SilentlyContinue
zloeber / gist:44f8b444fd3fa7003248af67bc7e4c7d
Created Jan 28, 2018
PowerShell Hashicorp App Downloader
View gist:44f8b444fd3fa7003248af67bc7e4c7d
Hashicorp recent app downloader
- Find and download the most recent versions of Hashicorp applications as defined in
$HashicorpPackages. Ignores all plugins and providers.
$HashicorpReleaseManifestURL = ''
# Update this to change the packages you want to download
$HashicorpPackages = @('vagrant','terraform','vault')
View gist:137ea9463514e9d36eedd44dff12c9c3
### Keybase proof
I hereby claim:
* I am zloeber on github.
* I am zloeber ( on keybase.
* I have a public key ASBOs716i1Js9FIAr-c1ozV8HUyal6AIrI1Gr-HKQlwzQAo
To claim this, I am signing this object:
You can’t perform that action at this time.