Date and Logs
Vikas Sukhija · Apress eBooks · 2021
To create scripts, it is essential to understand how to use the date and time cmdlet to timestamp different types of operations, such as creating a time-stamped log file. I will share a cheat function that you can utilize inside your scripts to create a time-stamped log as well as time-stamped entries inside the script.