Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

gci, alle Dateien mit date X, gci date where without time

$
0
0

hallo zusammen,

ich möchte alle Dateien mit Änderung oder Erstelldatum mit Tag X ohne Uhrzeit. Geht das nur mit -lt and -gt? 

$date = get-date "01/12/2020"
gci c:\temp | where {($_.CreationDate -eq $date)}
kann nicht gehen da die Uhrzeiten unterschiedlich sind.


Viewing all articles
Browse latest Browse all 2314


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>