elconomeno
8 jan 2014
ldapfilter with timestamps in powershell
$DateString = (Get-Date).AddMinutes(-30).ToString("u") -Replace "-|:|\s"
$DateString = $DateString -Replace "Z", ".0Z"
write-host "(&(sAMAccountType=805306368)(whenCreated>=$DateString))"
Nieuwere posts
Oudere posts
Homepage
Abonneren op:
Posts (Atom)