9 lines
329 B
PowerShell
9 lines
329 B
PowerShell
# Script: test_log_updates.ps1
|
|
# Objetivo: Confirmar la ejecución desde una subcarpeta.
|
|
|
|
$LogPath = "C:\TEMP\safecloud_test_UPDATES_success.log"
|
|
$Timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
|
|
|
|
$Content = "PRUEBA DE SUBDIRECTORIO /updates/ EXITOSA. Ejecutado el $Timestamp"
|
|
|
|
Set-Content -Path $LogPath -Value $Content -Force |