sync: auto-sync from HOWARD-HOME at 2026-07-17 14:14:41

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-07-17 14:14:41
This commit is contained in:
2026-07-17 14:15:18 -07:00
parent 3a7b6a1cc1
commit 8d2ca14cac
47 changed files with 1025 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
Write-Output "=== Printers on NURSESTATION-PC ==="
Get-Printer | Select-Object Name, PortName, Shared, Type | Format-Table -AutoSize
Write-Output ""
Write-Output "=== Print shares on CS-SERVER ==="
Get-ChildItem "\\CS-SERVER\*" -ErrorAction SilentlyContinue | ForEach-Object { Write-Output " $($_.Name)" }
Write-Output ""
Write-Output "=== Shared printers on CS-SERVER ==="
$printers = Get-WmiObject Win32_Printer -ComputerName CS-SERVER -ErrorAction SilentlyContinue | Where-Object { $_.Shared -eq $true }
$printers | ForEach-Object { Write-Output " $($_.Name) -> $($_.ShareName) [Port: $($_.PortName)] Location: $($_.Location)" }