1 00:00:03,080 --> 00:00:03,530 Okay. 2 00:00:03,530 --> 00:00:08,050 So let's take a spin around Scripps policy and see how we can get started with this. 3 00:00:09,060 --> 00:00:13,770 So I'm going to go ahead and added a GPO I created called Scripts Policy. 4 00:00:14,720 --> 00:00:18,260 And I'm going to go in under computer configuration policies. 5 00:00:18,260 --> 00:00:19,670 Windows, settings, scripts. 6 00:00:20,620 --> 00:00:25,540 And then double click the start up scripts area and you'll see that I have a few options here. 7 00:00:26,470 --> 00:00:27,610 If I show files. 8 00:00:27,730 --> 00:00:32,740 What this does is it actually brings up the default location where you can store scripts and you'll 9 00:00:32,740 --> 00:00:34,630 notice that it's in a sensible path. 10 00:00:35,590 --> 00:00:40,750 Remember, the sizzle is the folder that's replicated in all domain controllers. 11 00:00:41,720 --> 00:00:46,070 It's where most of the policy areas store their settings for group policy. 12 00:00:47,020 --> 00:00:53,050 And you'll see here, this is the grid of the GPO and the fact that it's in the machine folder indicates 13 00:00:53,050 --> 00:00:55,570 it's a computer script and under startup. 14 00:00:56,560 --> 00:01:01,990 So I can actually create or drop a folder in here as I'm referencing it right now because I'm referencing 15 00:01:01,990 --> 00:01:06,730 it according to the Domain DFC share and it's going to give me a read only error. 16 00:01:07,690 --> 00:01:13,750 But it's showing me the option I have to see or select or at least view what scripts are currently available 17 00:01:13,750 --> 00:01:14,560 in this folder. 18 00:01:15,550 --> 00:01:20,380 Now when I go in undergrad, this is where I add a reference to the script that I want to run. 19 00:01:21,320 --> 00:01:26,120 And if I go ahead and browse, you'll notice it takes me to that same location again. 20 00:01:27,030 --> 00:01:32,190 And from here I can actually go right click text document and I can create a script in here. 21 00:01:33,170 --> 00:01:36,740 I can call it log on bat and I can actually edit it. 22 00:01:37,690 --> 00:01:44,890 And I can say put in a net use Z backslash backslash pointing to our to test titled backslash user backslash 23 00:01:44,890 --> 00:01:46,840 public and go ahead and save that. 24 00:01:47,780 --> 00:01:49,700 And selected by clicking open. 25 00:01:49,700 --> 00:01:52,220 And I've now got the script here that I selected. 26 00:01:53,200 --> 00:01:57,460 So the other option you'll notice here is support for script parameters. 27 00:01:58,420 --> 00:02:03,760 If you had a script that took command line parameters, you could provide them in this block here. 28 00:02:04,700 --> 00:02:07,940 And it would get passed to the script as it executed. 29 00:02:08,950 --> 00:02:12,520 It could be an executable that takes command line parameters. 30 00:02:12,520 --> 00:02:14,230 And the same holds true here. 31 00:02:15,230 --> 00:02:21,050 So if I were to click okay here then this log on dot bat reference is added to this GPIO and it will 32 00:02:21,050 --> 00:02:22,670 run at the next boot cycle. 33 00:02:23,660 --> 00:02:26,840 So I'm just going to go ahead and cancel out of this. 34 00:02:27,860 --> 00:02:31,430 First, I want to just show you quickly the PowerShell section. 35 00:02:32,400 --> 00:02:38,940 This was added, as I mentioned, in Windows seven and Server 2008 R2, and it allows you to have PowerShell 36 00:02:38,940 --> 00:02:43,560 scripts just as you can have regular other kinds of scripts or executables. 37 00:02:44,540 --> 00:02:50,120 And you can through this dialogue, you can actually control whether PowerShell scripts run first in 38 00:02:50,120 --> 00:02:54,050 the GPO versus the regular scripts that are from this tab right here. 39 00:02:55,030 --> 00:02:57,850 So you can control that order if you need to. 40 00:02:58,750 --> 00:03:03,850 So that's just kind of a quick introduction to how Scripps works, and I'm going to dive in and give 41 00:03:03,850 --> 00:03:06,010 you a little bit of a scenario here in a bit. 42 00:03:06,160 --> 00:03:10,210 But I wanted to kind of introduce the UI and sort of how to navigate it.