I am looking for some help with a quick easy script. I need to backup the IIS configuration using powershell. Steps.
1. shutdown IIS services
3. store contents from %windir%\System32\inetsrv\backup\ inside a new folder based on date+time IE V:\IISBackup\%datetime%
Having some trouble with the time variables.