Link to home
Start Free TrialLog in
Avatar of VJ1980
VJ1980

asked on

Powershell script to create folders

Hi All,

Is there any way to create a folder with yesterday's date using powershell. My requirement is that everyday the script should run to create a folder with yesterday's date automatically. Also this folder will have 6 sub folders with different subfolders as given below

D:\scripts\yesterdays date\server1

Any idea
ASKER CERTIFIED SOLUTION
Avatar of Bhupesh Singal
Bhupesh Singal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of VJ1980
VJ1980

ASKER

HI ,

I need the yesterdays date should be fetched automatically by the script & then to create a folder with the name 27-12-2010. Any idea
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial