Out-Gridview: Getting the Data You Want when Using the PowerShell Scanner

preview_player
Показать описание
We offer a Git repository of scripts that can be imported into Inventory:

Can't get enough PDQ? Commence stalking in 3... 2... 1...
- Twitter - General info: @admarsenal
- All things PDQ Deploy: @pdqdeploy
- All things PDQ Inventory: @pdqinventory
- Package Library updates: @packagelibrary
Instagram: @pdqlife
Рекомендации по теме
Комментарии
Автор

Well, this topic is clearly extremous Hoping you might have an answer to the problem I'm having. I have a folder on a remote windows computer containing security camera video footage (mp4 files). I want to only search the *.mp4 files for those that are created (time-wise) between 2300 and 0600 irregardless of date.

The Powershell script code:
$root = "F:\ispy\video\SWVL"
(Get-ChildItem -Path $root) | Where-Object -gt 23 -or -lt 06} | ls | Out-GridView -PassThru


works perfectly to pass the filtered list of files to a pwershell gridview - but what I'd like to do is pass the list of files to WIndows Explorer so I can open them or what ever directly. Can't seem to figure this out.

Thinking you might be able to help....

Thanks much in advance.

Gregg
Sierra Vista, AZ

greggapowell
welcome to shbcf.ru