Synced files: - Quote wizard frontend (all components, hooks, types, config) - API updates (config, models, routers, schemas, services) - Client work (bg-builders, gurushow) - Scripts (BGB Lesley termination, CIPP, Datto, migration) - Temp files (Bardach contacts, VWP investigation, misc) - Credentials and session logs - Email service, PHP API, session logs Machine: ACG-M-L5090 Timestamp: 2026-03-10 19:11:00 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
1.1 KiB
PowerShell
28 lines
1.1 KiB
PowerShell
$secPassword = ConvertTo-SecureString 'Paper123!@#' -AsPlainText -Force
|
|
$cred = New-Object System.Management.Automation.PSCredential('INTRANET\sysadmin', $secPassword)
|
|
|
|
Write-Output "Testing Negotiate auth..."
|
|
try {
|
|
$result = Invoke-Command -ComputerName 192.168.0.27 -Credential $cred -Authentication Negotiate -ScriptBlock { hostname } -ErrorAction Stop
|
|
Write-Output "[OK] Negotiate: $result"
|
|
} catch {
|
|
Write-Output "[FAIL] Negotiate: $_"
|
|
}
|
|
|
|
Write-Output "`nTesting Default auth..."
|
|
try {
|
|
$result = Invoke-Command -ComputerName 192.168.0.27 -Credential $cred -ScriptBlock { hostname } -ErrorAction Stop
|
|
Write-Output "[OK] Default: $result"
|
|
} catch {
|
|
Write-Output "[FAIL] Default: $_"
|
|
}
|
|
|
|
Write-Output "`nTesting with SessionOption..."
|
|
try {
|
|
$so = New-PSSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck
|
|
$result = Invoke-Command -ComputerName 192.168.0.27 -Credential $cred -Authentication Negotiate -SessionOption $so -ScriptBlock { hostname } -ErrorAction Stop
|
|
Write-Output "[OK] SessionOption: $result"
|
|
} catch {
|
|
Write-Output "[FAIL] SessionOption: $_"
|
|
}
|