Powershell Script to get a latest file with a Specific dynamic name
Hi,
i am new to this topic i saw how to download the most recent file powershell script but i have an additional requirement.
in addition to most recent criteria, i want to download a specific file name (eg: file_1234_shape.txt) with dynamic part which keeps on changing, the *1234* part in the example changes everyday but the rest remains same.
please provide a powershell script to download latest file with Specific Dynamic name.
i am currently using the powershellscript to download most recent file.
i am new to this topic i saw how to download the most recent file powershell script but i have an additional requirement.
in addition to most recent criteria, i want to download a specific file name (eg: file_1234_shape.txt) with dynamic part which keeps on changing, the *1234* part in the example changes everyday but the rest remains same.
please provide a powershell script to download latest file with Specific Dynamic name.
i am currently using the powershellscript to download most recent file.