Complete project organization: move all DOS files to projects/dataforth-dos, create client folders, update Claude config
This commit is contained in:
13
temp-check-ad2-timestamps.ps1
Normal file
13
temp-check-ad2-timestamps.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
$password = ConvertTo-SecureString 'Paper123!@#' -AsPlainText -Force
|
||||
$cred = New-Object System.Management.Automation.PSCredential('INTRANET\sysadmin', $password)
|
||||
|
||||
Invoke-Command -ComputerName 192.168.0.6 -Credential $cred -ScriptBlock {
|
||||
$files = @('CHECKUPD.BAT', 'CTONW.BAT', 'DEPLOY.BAT', 'UPDATE.BAT')
|
||||
foreach ($file in $files) {
|
||||
$path = "C:\Shares\test\COMMON\ProdSW\$file"
|
||||
if (Test-Path $path) {
|
||||
$item = Get-Item $path
|
||||
Write-Host "$file - $($item.LastWriteTime.ToString('yyyy-MM-dd HH:mm:ss'))"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user