In this video you will learn how to save your PowerShell cmdlets as a PS1 file and then run that PS1 file as a scheduled task. Pretty cool stuff. Short and to the point keeping you moving forward on your PowerShell skills journey.
Here is the code from the script if you need it:
Get-Date | Out-File E:\Demo\log4video.txt -Append
Get-PSDrive -PSProvider FileSystem | Out-File E:\Demo\log4video.txt -Append
Video on creating useful CSV files
• PowerShell Arrays Intr...
Video on using Get-Date
• Work with Date & Time ...
BONUS: This video shows you how to create the task with PowerShell
• PowerShell create a sc...
If you need more PowerShell help you can always contact me via www.BoldZebras.com
3 июл 2024