I'm a scripting and PowerShell newbie. I have a daily requirement to create a
directory with yesterday's date. I wrote a function to calculate yesterday's
date and put it in the variable, $yesterday. I can't figure out how to
extract the date as a string and insert it in the new-item cmdlet to create
the directory. Does anyone have any suggestions?