I have a script to clean CCM cache through configuration manager based on last referenced date. It works great on Windows Server 2008 but I'm getting errors when I use it on Server 2003. I spoke with a friend who thinks rewriting it using the following will work:
[system.timezoneinfo]::ConvertTime(....)
I'm having trouble seeing how to convert it to use the code above. See screen shots below for my current script and the errors I get when I use it on Windows Server 2003. Any help would be much appreciated, thanks!!!