Added Tags to All Docs

This commit is contained in:
2026-01-28 20:41:51 -07:00
parent fb2eed3cce
commit fb67ebe7f5
195 changed files with 1335 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
---
tags:
- PowerShell
- Scripting
---
**Purpose**:
Sometimes you just need a basic script that outputs a pretty directory and file tree. This script offers files and folders to ignore, and outputs a fancy directory tree.

View File

@@ -1,3 +1,10 @@
---
tags:
- DNS
- PowerShell
- Scripting
---
## Purpose
When it comes to best-practices with Windows-based DNS servers, you never want to have `127.0.0.1` or the IP of the server itself as the primary DNS server, you want to have a *different* DNS server as primary, and `127.0.0.1` as the secondary or tertiary DNS server instead.

View File

@@ -1,3 +1,10 @@
---
tags:
- PowerShell
- File Management
- Scripting
---
**Purpose**:
Locate specific files, and copy them with a renamed datestamp appended to a specific directory.

View File

@@ -1,3 +1,10 @@
---
tags:
- Windows
- PowerShell
- Scripting
---
## Purpose
Sometimes when you try to run Windows Updates, you may run into issues where updates just fail to install for seemingly nebulous reasons. You can run the following commands (in order) to try to resolve the issue.

View File

@@ -1,3 +1,10 @@
---
tags:
- Group Policy
- PowerShell
- Scripting
---
``` powershell
$computers = Get-ADComputer -Filter * -SearchBase "OU=Computers,DC=bunny-lab,DC=io"
$computers | ForEach-Object -Process {Invoke-GPUpdate -Computer $_.name -RandomDelayInMinutes 0 -Force}

View File

@@ -1,3 +1,9 @@
---
tags:
- PowerShell
- Scripting
---
## Purpose
This script is designed to iterate over every computer device within an Active Directory Domain. It then reaches out to those devices over the network and iterates upon every local user profile on those devices, and using CIM, determines which profiles have not been logged into in X number of days. If executed in a non-dry-run nature, it will then delete those profiles (*this does not delete local or domain users, it just cleans up their local profile data on the workstation*).

View File

@@ -1,3 +1,10 @@
---
tags:
- Rclone
- PowerShell
- Scripting
---
Rclone is a command-line program to manage files on cloud storage. It is a feature-rich alternative to cloud vendors' web storage interfaces. Over 70 cloud storage products support rclone including S3 object stores, business & consumer file storage services, as well as standard transfer protocols.
!!! warning "Be Mindful of Sync Type"

View File

@@ -1,3 +1,9 @@
---
tags:
- PowerShell
- Scripting
---
**Purpose**:
Sometimes you need to restart a service across every computer in an Active Directory Domain. This powershell script will restart a specific service by name domain-wide. Each device will be processed in a serialized nature, one-by-one.

View File

@@ -1,3 +1,11 @@
---
tags:
- Windows 11
- Windows
- PowerShell
- Scripting
---
**Purpose**:
You may need to upgrade a device to Windows 11 using an ISO stored on a UNC Network Share, the script below handles that.