79453019

Date: 2025-02-19 23:34:23
Score: 3
Natty:
Report link
It works fine, but doesn't work when I try to put the source file on the server.

Powershell -NoL -NoP -C "&{$ts=New-TimeSpan -M 10;"^
"GCI "\\192.168.20.211\\Temp" -Fi '\*.txt'|?{"^
"$_.LastWriteTime -gt ((Get-Date)-$ts)}|"^
%%{CpI $_.FullName 'C:\\Temp2'}}"

I am a error Get-ChildItem : Impossible to find a positional parameter accepting the argument

Do you have any idea how to point to my server ?

Sorry for traduction.
Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: René Tremblay