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 <noreply@anthropic.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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.
|
||||
|
||||
26
shopfloor-pcs-example.txt
Normal file
26
shopfloor-pcs-example.txt
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user