- complete-asset/: Full collection requiring administrator privileges - minimal-asset/: Lightweight collection with no admin required - Moved Get-InstalledApps to setup-utilities - Updated main README with new folder structure Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
75 lines
1.7 KiB
Markdown
75 lines
1.7 KiB
Markdown
# Complete Asset Collection
|
|
|
|
Comprehensive PC asset data collection scripts. **Requires Administrator privileges.**
|
|
|
|
## Quick Start
|
|
|
|
**Run as Administrator:**
|
|
```batch
|
|
Update-PC-CompleteAsset.bat
|
|
```
|
|
|
|
For scheduled tasks (no window):
|
|
```batch
|
|
Update-PC-CompleteAsset-Silent.bat
|
|
```
|
|
|
|
---
|
|
|
|
## Files
|
|
|
|
| File | Description |
|
|
|------|-------------|
|
|
| `Update-PC-CompleteAsset.bat` | Main launcher (interactive) |
|
|
| `Update-PC-CompleteAsset-Silent.bat` | Silent launcher for scheduled tasks |
|
|
| `Update-PC-CompleteAsset.ps1` | Main PowerShell script |
|
|
| `Get-ShopfloorConfig.ps1` | Shopfloor configuration functions (required) |
|
|
|
|
---
|
|
|
|
## Requirements
|
|
|
|
- **Administrator privileges required**
|
|
- PowerShell 5.1 or later
|
|
- Network access to ShopDB API
|
|
|
|
---
|
|
|
|
## What It Collects
|
|
|
|
- System information (hostname, serial number, manufacturer, model)
|
|
- Operating system details
|
|
- Network interface configurations (all adapters)
|
|
- For shopfloor PCs:
|
|
- DNC/machine configurations from GE registry
|
|
- Machine network detection (192.168.x.x)
|
|
- Serial port configurations
|
|
- DualPath settings
|
|
- Dell warranty information (optional, via proxy)
|
|
|
|
---
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Default | Description |
|
|
|-----------|---------|-------------|
|
|
| `-ProxyURL` | `http://10.48.130.158/vendor-api-proxy.php` | Warranty API proxy |
|
|
| `-DashboardURL` | `https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp` | ShopDB API endpoint |
|
|
| `-SkipWarranty` | `$true` | Skip warranty lookups |
|
|
| `-TestConnections` | `$false` | Test API connectivity only |
|
|
|
|
---
|
|
|
|
## Usage Examples
|
|
|
|
```powershell
|
|
# Standard execution
|
|
.\Update-PC-CompleteAsset.ps1
|
|
|
|
# Test connectivity only
|
|
.\Update-PC-CompleteAsset.ps1 -TestConnections
|
|
|
|
# With warranty lookup enabled
|
|
.\Update-PC-CompleteAsset.ps1 -SkipWarranty:$false
|
|
```
|