🪰
Pinned Loading
-
-
Concise PowerShell AD Group Shadow s...
Concise PowerShell AD Group Shadow script from http://ravingroo.com/458/active-directory-shadow-group-automatically-add-ou-users-membership/ 1$OU="OU=TheOUName,DC=yourdomain,DC=com"
2$ShadowGroup="CN=ShadowGroupName,OU=TheOUName,DC=yourdomain,DC=com"
34Import-Module ActiveDirectory
5(Get-ADGroup -Identity $ShadowGroup -properties members).Members | Get-ADUser | Where-Object {$_.distinguishedName –NotMatch $OU} | ForEach-Object {Remove-ADPrincipalGroupMembership –Identity $_ –MemberOf $ShadowGroup –Confirm:$false}
-
PowerShell Active Directory Password...
PowerShell Active Directory Password Expiration Email Notification 1#################################################################################################################
2#
3# Password-Expiration-Notifications v20220823
4# Highly Modified fork. https://gist.github.com/meoso/3488ef8e9c77d2beccfd921f991faa64
5#
-
Shotcut launcher bash script
Shotcut launcher bash script 1#!/bin/bash
23#assumes new downloads of shotcut is always in ~/Downloads
4currpath=$(pwd)
5 -
PowerCLI enable CBT on VM's where CB...
PowerCLI enable CBT on VM's where CBT is disabled 1$vcenter="vcenter.domain.tld"
23Import-Module -Global VMware.VimAutomation.Core
4Disconnect-VIServer * -Confirm:$false -Force | Out-Null #Disconnect all previously connected vcenter servers
5 -
ffmpeg re-encoding scripts to reduce...
ffmpeg re-encoding scripts to reduce filesize and remain "visually" lossless 1I've accumulated too many quadcopter (drone) footage files (.mp4, .MOV, etc).
23I researched how to `ffmpeg` re-encode with "_practical_" losslessness (i.e. not lessless, but human eye acceptable).
45These are my resultant scripts. The filenames say "reduce" but should actually be "re-encode".
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.