$password = ConvertTo-SecureString 'Paper123!@#' -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential('INTRANET\sysadmin', $password)

New-PSDrive -Name AD2 -PSProvider FileSystem -Root "\\192.168.0.6\C$" -Credential $cred | Out-Null

Copy-Item -Path "D:\ClaudeTools\install-from-temp.ps1" -Destination "AD2:\Temp\install-from-temp.ps1" -Force

Write-Host "[OK] Script copied to C:\Temp\install-from-temp.ps1"

Remove-PSDrive -Name AD2
