Powershell tips

Get-ChildItem Using this you can get the file list from a directory. Gets the items and child items in one or more specified locations. Get-ChildItem “<path>” -Recurse -Filter <*.*> | where {$_.LastWriteTime -le(Get-Date).AddDays(-<amount of days>) } that command can delete older files from a directory. can be useful when making backups Or get a list… Lees verder Powershell tips