Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

replace XML tag have datestamp with current datestamp using power shell

$
0
0
<ConfigurationConfiguredType="Property"Path="\Package.Variables[User::ConfigFilePath].Properties[Value]"ValueType="String"><ConfiguredValue>\\server\S_Repository\P_name\P_Dependencies_03152013\P_name.dtsconfig</ConfiguredValue></Configuration>
here I want to replace in *.dtsConfig file :
P_Dependencies_03152013(any date was previously here)withP_Dependencies_yyyyMMDD(here currentdate)using power shell

Viewing all articles
Browse latest Browse all 8583

Trending Articles