Ir al contenido
Ejercicios de PowerShell: mostrar todas las fechas desde hoy hasta dentro de 365 días (PowerShell)
PowerShell
PowerShell
1..365 | %{ (Get-Date).AddDays($_) }
1
2
3
1
.
.
365
|
%
{
(
Get-Date
)
.
AddDays
(
$_
)
}