Skip to content

This project is a script to create a date list in the standard PowerShell format (Monday, 01 April 2024 08:00:00), add a day n times on a new line, and write that list of dates to a file.

License

Notifications You must be signed in to change notification settings

ShonHarsh/PS-Create-DateList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create-DateList

This project is a script to create a date list in the standard PowerShell format (Monday, 01 April 2024 08:00:00), add a day n times on a new line, and write that list of dates to a file.

Getting Started

After making a pull request or downloading the project, change the parameters in the script to suit your case and run the script in PowerShell.

Sample Script

PS C:\WINDOWS\system32> cd "C:\Code\PowerShell\Projects\Create-DateList"
PS C:\Code\PowerShell\Projects\Create-DateList> .\Create-DateList.ps1

Lazy Math

365 * 01 = 365

365 * 02 = 730

365 * 03 = 1095

365 * 04 = 1460

365 * 05 = 1825

365 * 06 = 2190

365 * 07 = 2555

365 * 08 = 2920

365 * 09 = 3285

365 * 10 = 3650

ARCHITECTURE REQUIREMENTS

  1. Access Windows PowerShell: Open the Start menu, type Windows PowerShell, select Windows PowerShell, then select Open
  2. The execution policy may need to be changed. Read Set-ExecutionPolicy for details.

GIT NOTES

Clone the project to develop or change it.

git clone https://github.com/ShonHarsh/Create-DateList

LINKS

About

This project is a script to create a date list in the standard PowerShell format (Monday, 01 April 2024 08:00:00), add a day n times on a new line, and write that list of dates to a file.

Topics

Resources

License

Stars

Watchers

Forks