Hello,
I am brand new to PowerShell and need some help. I was able to execute the following script to export a list of all roles and features on my Windows Server 2008 R2 server:
Import-Module ServerManager
Get-WindowsFeature
First, how would I export the output of this script to a text file?
Second, how would I run this script from Windows Task Scheduler? Is there something similar to .bat files?
Thanks,