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

Configuration in PS script

$
0
0

I have to write a script for deleting files in folder based on this configuration .

<item>

<where>

c:\kapil\Test

</where>

<days to keep>

180

</days to keep>

</item>

<item>

<where>

c:\kapil\Test1

</where>

<days to keep>

180

</days to keep>

</item>

I have to configure this in a script not out side of script like xml file etc .

Could you please share best approach because this script use in production   


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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