Viewing 15 posts - 76 through 90 (of 686 total)
I came up with this, but not sure how to get 1 hour time frames from the data. I want to see how many times in an hour for a...
March 6, 2024 at 2:40 pm
Looks like if I add this in my query logic I'm getting the datetime desired
DATEADD(s,t_stamp/1000,'1969-12-31 20:00:00')
2024-02-01 01:00:00.000
2024-02-01 01:00:01.000
Struggle with doing the count of records per TagID within the hour that...
March 5, 2024 at 2:39 pm
Yes -- Is it Unix epoch milliseconds? Convert-DATETIME
March 4, 2024 at 7:28 pm
A report that shows timespan of the analysis and then total for the TagID then Unique and Nonunique(differnt value)
There where 800 captures and 750 all had same value and, in...
March 4, 2024 at 3:20 pm
$source="c:\fileloading" #location of starting directory
$destination="c:\filecopy"; #location where files will be copied to
$files=@("*dys_ihhist*")
Get-ChildItem -recurse ($source) -include ($files) | Copy-Item -Destination ($destination + ($file.BaseName + "_" + (Get-Date -Format...
July 27, 2023 at 5:15 pm
Thats maybe the issue I don't want a new directory just copy files from Source that conatain "$files=@("*dys_ihhist*")"
in there file name to DEST
Before:
dys_ihhist.txt --> found on Source
Copy to Dest
dys_ihhist_072023.txt
July 27, 2023 at 4:08 pm
Thanks Jeff.. correct on incorporating the solution. I don't want a NEW folder created just a MMYYYY inserted into filename as it's copied to Dest folder.
Thanks again.
July 27, 2023 at 3:24 pm
Any help getting this to work?
THanks.
July 27, 2023 at 11:21 am
I'm just trying to copy file with new MMYYYY into the folder filecopy
July 25, 2023 at 3:03 pm
$source="c:\fileloading" #location of starting directory
$destination="c:\filecopy"; #location where files will be copied to
$files=@("*dys_ihhist*")
New-Item -ItemType Directory -Force -Path ($destination); Get-ChildItem -recurse ($source) -include ($files) | Copy-Item -Destination ($destination +...
July 25, 2023 at 3:00 pm
Viewing 15 posts - 76 through 90 (of 686 total)