From fc6be8a876bfe762d24a7bd938cc1a0810db856b Mon Sep 17 00:00:00 2001 From: cproudlock Date: Wed, 10 Dec 2025 11:02:47 -0500 Subject: [PATCH] Update READMEs to emphasize batch files as entry points Each folder README now has: - Quick Start section with batch file commands - Batch Launchers table listing entry points - PowerShell Scripts section for detailed documentation Co-Authored-By: Claude Opus 4.5 --- asset-collection/README.md | 27 ++++++++++++++++++++++++++- registry-backup/README.md | 23 ++++++++++++++++++++++- remote-execution/README.md | 23 ++++++++++++++++++++++- setup-utilities/README.md | 25 ++++++++++++++++++++++++- shopfloor-pcs-example.txt | 26 ++++++++++++++++++++++++++ 5 files changed, 120 insertions(+), 4 deletions(-) create mode 100644 shopfloor-pcs-example.txt diff --git a/asset-collection/README.md b/asset-collection/README.md index c4e9e81..d5e4b31 100644 --- a/asset-collection/README.md +++ b/asset-collection/README.md @@ -2,7 +2,32 @@ Scripts for collecting PC asset data and sending it to the ShopDB database. -## Scripts +## Quick Start + +**Run as Administrator:** +```batch +Update-PC-CompleteAsset.bat +``` + +For scheduled tasks (no window): +```batch +Update-PC-CompleteAsset-Silent.bat +``` + +--- + +## Batch Launchers (Entry Points) + +| Batch File | Purpose | +|------------|---------| +| `Update-PC-CompleteAsset.bat` | Main launcher - run this for full asset collection | +| `Update-PC-CompleteAsset-Silent.bat` | Silent version for scheduled tasks | +| `Update-PC-Minimal.bat` | Lightweight collection for restricted PCs | +| `Get-InstalledApps.bat` | Application inventory only | + +--- + +## PowerShell Scripts ### Update-PC-CompleteAsset.ps1 **Primary asset collection script** - Comprehensive data collection for all PC types. diff --git a/registry-backup/README.md b/registry-backup/README.md index b54ea67..ff9052c 100644 --- a/registry-backup/README.md +++ b/registry-backup/README.md @@ -2,7 +2,28 @@ Scripts for backing up GE Aircraft Engines registry keys for disaster recovery and auditing. -## Scripts +## Quick Start + +```batch +Backup-GERegistry.bat +``` + +Or with custom backup path: +```batch +Backup-GERegistry.bat "\\server\share\backups" +``` + +--- + +## Batch Launchers (Entry Points) + +| Batch File | Purpose | +|------------|---------| +| `Backup-GERegistry.bat` | Main launcher for registry backup | + +--- + +## PowerShell Scripts ### Backup-GERegistry.ps1 **GE Registry backup utility** - Backs up GE Aircraft Engines registry keys from both 32-bit and 64-bit locations. diff --git a/remote-execution/README.md b/remote-execution/README.md index 5b126f1..edce6f2 100644 --- a/remote-execution/README.md +++ b/remote-execution/README.md @@ -2,7 +2,28 @@ Scripts for remotely executing asset collection on multiple shopfloor PCs via WinRM. -## Scripts +## Quick Start + +```batch +Run-RemoteCollection.bat +``` + +Or run PowerShell directly: +```powershell +.\Invoke-RemoteAssetCollection.ps1 -ComputerListFile ".\shopfloor-pcs.txt" +``` + +--- + +## Batch Launchers (Entry Points) + +| Batch File | Purpose | +|------------|---------| +| `Run-RemoteCollection.bat` | Main launcher for remote collection | + +--- + +## PowerShell Scripts ### Invoke-RemoteAssetCollection.ps1 **Remote collection via WinRM HTTP** - Execute asset collection on multiple PCs using WinRM over HTTP (port 5985). diff --git a/setup-utilities/README.md b/setup-utilities/README.md index 5246021..3020c8d 100644 --- a/setup-utilities/README.md +++ b/setup-utilities/README.md @@ -2,7 +2,30 @@ Scripts for configuring WinRM, scheduling tasks, and testing API connectivity. -## Scripts +## Quick Start + +**Deploy scheduled task:** +```batch +Deploy-AssetCollectionSchedule.bat +``` + +**Install scheduled task locally:** +```batch +Install-Schedule.bat +``` + +--- + +## Batch Launchers (Entry Points) + +| Batch File | Purpose | +|------------|---------| +| `Deploy-AssetCollectionSchedule.bat` | Deploy scheduled task to PCs | +| `Install-Schedule.bat` | Install scheduled task locally | + +--- + +## PowerShell Scripts ### Setup-WinRM.ps1 **WinRM configuration utility** - Configures WinRM on the management server for remote asset collection. diff --git a/shopfloor-pcs-example.txt b/shopfloor-pcs-example.txt new file mode 100644 index 0000000..9ed77c6 --- /dev/null +++ b/shopfloor-pcs-example.txt @@ -0,0 +1,26 @@ +# Shopfloor PC IP Addresses +# One IP address per line +# Lines starting with # are ignored + +# Production Line 1 +10.48.130.100 +10.48.130.101 +10.48.130.102 + +# Production Line 2 +10.48.130.110 +10.48.130.111 +10.48.130.112 + +# Quality Control +10.48.130.120 +10.48.130.121 + +# Maintenance +10.48.130.130 +10.48.130.131 + +# Example hostnames (if DNS resolution works) +# SHOPFLOOR-PC-01 +# SHOPFLOOR-PC-02 +# SHOPFLOOR-PC-03 \ No newline at end of file