I just started working for a new company that does a lot of Windows Server automated builds. As you can probably guess, a lot of PowerShell scripting is involved which I have very very basic knowledge of (basically 0 knowledge). Anyways I was given the task of creating this PS script to get my feet wet using PowerShell scripting.
We want the PS script to be able to create a GPO that changes the "Session Time Limits" settings.
I found a very good article as a reference in creating GPOs using PowerShell. However the example they use in the article is on how to change the "Authoritative Time Server." I want to be able to change the "Session Time Limits."
Here's a link to the article (looks better in IE): http://carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/
I think I've followed the article's steps pretty well up until the part where I need to set the registry keys.
Can someone assist me or point me in the right direction in creating a scripts similar to this? I would greatly appreciate any help.