Channel | Publish Date | Thumbnail & View Count | Actions |
---|---|---|---|
| Publish Date not found | ![]() 0 Views |
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
https://www.youtube.com/watch?v=PXBMdIkH24I
Video on using Get-Date
https://www.youtube.com/watch?v=YQn7zgwlG40
BONUS: This video shows you how to create the task with PowerShell
https://youtu.be/izlIJTmUW0o
If you need more PowerShell help you can always contact me via https://www.BoldZebras.com
Please take the opportunity to connect and share this video with your friends and family if you find it useful.