Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Change date + time in file

$
0
0

Hi, 

I am very new in powershell, I hope someone will help me:

I have a file in C:\tmp\appFiles.appcache

Which contains:

CACHE MANIFEST
# Version: 2019-01-04T00:48:08.3070330+01:00

# Use from network if available
NETWORK:
*

--------------------------------------

I need to make a script to change date  + time to actual time

For example:

CACHE MANIFEST
# Version: 2019-01-19T13:55:08.3070330+01:00

# Use from network if available
NETWORK:
*-----------------------------------

Thank you for any help


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>