edit: how do I display the two arrow characters on the comma and period keys in this forum? it’s getting edited out as ‘code’
i’m trying to edit content in a scheduled task. the task xml contains this line
i’m trying to replace the “2018-06-29T” part, but the ‘2018-06-29’ part could be anything, so I need a wildcard.
$content = (Get-Content $task)
$newcontent= $content -Replace “*T”,$new
$newcontent is still $content, so I don’t think it’s finding the text to replace, possibly because of the arrow characters in the text, possibly because of the wildcard. help?