WEBVTT

1
00:00:00.040 --> 00:00:02.759
<v Speaker 1>Ever get this feeling like Windows has these hidden depths

2
00:00:03.399 --> 00:00:06.160
<v Speaker 1>just waiting to be unlocked, Like there's got to be

3
00:00:06.160 --> 00:00:09.279
<v Speaker 1>a way to do things faster, smarter, but it's hidden

4
00:00:09.320 --> 00:00:10.519
<v Speaker 1>behind all this complexity.

5
00:00:10.679 --> 00:00:11.599
<v Speaker 2>Yeah, I know what I mean.

6
00:00:12.039 --> 00:00:13.720
<v Speaker 1>Well, that's where I think PowerShell comes in, right.

7
00:00:13.759 --> 00:00:16.559
<v Speaker 2>Definitely, a lot of people hear PowerShell and yeah, their

8
00:00:16.600 --> 00:00:17.480
<v Speaker 2>eyes glaze over.

9
00:00:17.640 --> 00:00:19.920
<v Speaker 1>But it is kind of intimidating, it is.

10
00:00:20.000 --> 00:00:22.039
<v Speaker 2>But it's like having this secret set of tools to

11
00:00:22.079 --> 00:00:24.640
<v Speaker 2>make Windows dance to your team exactly.

12
00:00:24.800 --> 00:00:28.399
<v Speaker 1>And luckily for us today, we've got some excerpts from

13
00:00:28.760 --> 00:00:32.759
<v Speaker 1>PowerShell step by step to guide us. You know, I've

14
00:00:32.759 --> 00:00:35.600
<v Speaker 1>always been curious about PowerShell, but never took that plunge. Y,

15
00:00:36.119 --> 00:00:38.560
<v Speaker 1>So for those of us who haven't, what's the big deal?

16
00:00:39.240 --> 00:00:42.240
<v Speaker 1>Why is this not just another tech term to intimidate us.

17
00:00:42.960 --> 00:00:45.560
<v Speaker 2>Well, what's so fascinating about PowerShell is that it brings

18
00:00:45.560 --> 00:00:47.560
<v Speaker 2>together the best of so many different worlds. I mean,

19
00:00:47.560 --> 00:00:49.679
<v Speaker 2>it's got the speed, the efficiency of the command line,

20
00:00:49.719 --> 00:00:52.240
<v Speaker 2>but it's also got the flexibility of scripting, and it

21
00:00:52.280 --> 00:00:55.560
<v Speaker 2>even borrows some tricks from you know, the user friendly

22
00:00:55.600 --> 00:00:56.880
<v Speaker 2>graphical tools we're used to.

23
00:00:57.200 --> 00:01:01.200
<v Speaker 1>Okay, now I'm intrigued, but like paint me a picture here.

24
00:01:01.320 --> 00:01:03.799
<v Speaker 1>How does this actually play out in the real world?

25
00:01:03.960 --> 00:01:07.200
<v Speaker 2>Okay, let's say, for example, you need to find every

26
00:01:07.280 --> 00:01:10.640
<v Speaker 2>single document that's been modified in the last hour on

27
00:01:10.680 --> 00:01:15.439
<v Speaker 2>your company's server. Okay, doing that manually through like Windows.

28
00:01:15.000 --> 00:01:16.799
<v Speaker 1>Explorer, yeah, good luck, good.

29
00:01:16.719 --> 00:01:21.079
<v Speaker 2>Luck with that, right. PowerShell can accomplish that in second.

30
00:01:20.840 --> 00:01:23.079
<v Speaker 1>Right, So it's like automating the tedious stuff, but on

31
00:01:23.120 --> 00:01:24.159
<v Speaker 1>a whole other level.

32
00:01:24.239 --> 00:01:24.560
<v Speaker 2>Yeah.

33
00:01:24.599 --> 00:01:28.439
<v Speaker 1>The book mentions these things called cmdlitz being a core

34
00:01:28.560 --> 00:01:31.799
<v Speaker 1>part of this whole PowerShell thing. What makes it different

35
00:01:31.840 --> 00:01:33.400
<v Speaker 1>from just typing a regular command.

36
00:01:33.640 --> 00:01:36.799
<v Speaker 2>It's all about objects. So think of it like this,

37
00:01:37.000 --> 00:01:39.040
<v Speaker 2>and a lot of systems, you're just flinging strings of

38
00:01:39.040 --> 00:01:42.359
<v Speaker 2>text around, right right. PowerShell, on the other hand, lets

39
00:01:42.359 --> 00:01:45.400
<v Speaker 2>you work with these little packages of information called objects.

40
00:01:45.599 --> 00:01:47.959
<v Speaker 1>So it's not just move this file. It's here's a

41
00:01:48.000 --> 00:01:50.560
<v Speaker 1>file object with all its properties. Do what you want with.

42
00:01:50.560 --> 00:01:54.879
<v Speaker 2>It, exactly like a file object knows things right right,

43
00:01:55.000 --> 00:01:57.519
<v Speaker 2>Like it knows its size, it knows its creation date,

44
00:01:57.599 --> 00:02:00.000
<v Speaker 2>it knows who can access it, all sorts of metadata

45
00:02:00.280 --> 00:02:04.319
<v Speaker 2>and cmdalots are designed to interact with these objects in

46
00:02:04.319 --> 00:02:05.840
<v Speaker 2>incredibly powerful ways.

47
00:02:06.000 --> 00:02:08.639
<v Speaker 1>Okay, that's starting to click. A little bit. Now throw

48
00:02:08.719 --> 00:02:12.159
<v Speaker 1>piping into the mix. It sounds vaguely familiar, like something

49
00:02:12.159 --> 00:02:14.719
<v Speaker 1>from the Linux world. Maybe you're on the right track.

50
00:02:14.800 --> 00:02:19.000
<v Speaker 2>So PowerShell takes this concept of piping, you know, taking

51
00:02:19.000 --> 00:02:21.319
<v Speaker 2>the output of one command and feeding it into the next,

52
00:02:21.560 --> 00:02:23.120
<v Speaker 2>and it like supercharges it.

53
00:02:23.280 --> 00:02:26.400
<v Speaker 1>Okay, supercharged. How give me the juicy details.

54
00:02:26.520 --> 00:02:28.919
<v Speaker 2>Well, remember those objects we talked about. With piping, you're

55
00:02:28.960 --> 00:02:32.159
<v Speaker 2>not just sending like plain text down the line. You're

56
00:02:32.199 --> 00:02:35.400
<v Speaker 2>sending these fully formed objects with all their data. This

57
00:02:35.520 --> 00:02:39.439
<v Speaker 2>means you can chain together cm dealots to perform like

58
00:02:39.639 --> 00:02:43.960
<v Speaker 2>incredibly complex operations, all in this really streamlined way.

59
00:02:44.120 --> 00:02:47.039
<v Speaker 1>So it's like assembling your own data processing pipeline, where

60
00:02:47.080 --> 00:02:51.080
<v Speaker 1>each cmdalot is like a specialized tool refining that information along.

61
00:02:50.879 --> 00:02:54.000
<v Speaker 2>The way precisely. And to make this whole process even

62
00:02:54.000 --> 00:02:56.479
<v Speaker 2>more powerful, PowerShell gives you variables.

63
00:02:56.560 --> 00:02:59.000
<v Speaker 1>A variables, my old friend from programming one to one

64
00:02:59.319 --> 00:02:59.879
<v Speaker 1>coming back to me.

65
00:03:00.479 --> 00:03:03.400
<v Speaker 2>They're like containers for your data. So you can store

66
00:03:03.479 --> 00:03:06.439
<v Speaker 2>the results of a cmdal it in a variable, and

67
00:03:06.479 --> 00:03:09.319
<v Speaker 2>then you can use that variable in other commands later on.

68
00:03:09.840 --> 00:03:12.080
<v Speaker 2>It's like having a temporary notepad right there in your

69
00:03:12.080 --> 00:03:13.000
<v Speaker 2>PowerShell session.

70
00:03:13.199 --> 00:03:16.439
<v Speaker 1>The book also mentions, PowerShell scripts, those ps one files.

71
00:03:17.159 --> 00:03:20.080
<v Speaker 1>What's the advantage of saving commands this way instead of

72
00:03:20.199 --> 00:03:22.759
<v Speaker 1>just you know, typing them out each time.

73
00:03:23.080 --> 00:03:28.240
<v Speaker 2>Scripts are where things go from like useful to amazing.

74
00:03:28.520 --> 00:03:28.719
<v Speaker 1>Oka.

75
00:03:29.000 --> 00:03:33.199
<v Speaker 2>Imagine you've got this series of cmdalos and variables all

76
00:03:33.240 --> 00:03:36.680
<v Speaker 2>working together to accomplish a specific task, right right. Instead

77
00:03:36.719 --> 00:03:38.840
<v Speaker 2>of typing that whole thing out every time you need it,

78
00:03:38.960 --> 00:03:41.400
<v Speaker 2>you save it as a script. It's like having this

79
00:03:41.520 --> 00:03:45.080
<v Speaker 2>custom tool right ready to go whenever you need it. Okay,

80
00:03:45.199 --> 00:03:46.960
<v Speaker 2>And if you want to kick things up another notch,

81
00:03:47.039 --> 00:03:47.479
<v Speaker 2>you got.

82
00:03:47.360 --> 00:03:50.000
<v Speaker 1>Functions, functions, Okay, I'm ready to level up. What do

83
00:03:50.080 --> 00:03:51.240
<v Speaker 1>those bring to the table.

84
00:03:51.560 --> 00:03:53.879
<v Speaker 2>You can think of functions like building blocks right within

85
00:03:53.879 --> 00:03:56.360
<v Speaker 2>your scripts. So let's say you've got this chunk of

86
00:03:56.439 --> 00:03:59.120
<v Speaker 2>code that you use over and over again in different scripts.

87
00:03:59.520 --> 00:04:02.319
<v Speaker 2>Instead of copying and pasting it every time, what can

88
00:04:02.360 --> 00:04:05.280
<v Speaker 2>you do You make a function? It's this way to

89
00:04:05.319 --> 00:04:09.599
<v Speaker 2>make your code more modular, more organized, easier to maintain.

90
00:04:10.800 --> 00:04:13.639
<v Speaker 1>So it's like having this whole library of PowerShell building

91
00:04:13.639 --> 00:04:17.680
<v Speaker 1>block that you can like mix and match for different tasks. Yeah, exactly,

92
00:04:17.720 --> 00:04:18.399
<v Speaker 1>that's amazing.

93
00:04:18.639 --> 00:04:19.360
<v Speaker 2>That's the beauty of it.

94
00:04:19.439 --> 00:04:20.920
<v Speaker 1>But you know, the book also kind of hinted that

95
00:04:21.040 --> 00:04:23.879
<v Speaker 1>PowerShell has its quarks, right, don't tell me it's all

96
00:04:23.959 --> 00:04:25.000
<v Speaker 1>smooth sailing from here.

97
00:04:25.600 --> 00:04:27.959
<v Speaker 2>Well, you know how it is. Even the most powerful

98
00:04:28.160 --> 00:04:30.279
<v Speaker 2>tools they have their little quirks, right.

99
00:04:30.519 --> 00:04:30.959
<v Speaker 1>Yeah.

100
00:04:31.079 --> 00:04:35.319
<v Speaker 2>One thing that trips up even like seasoned users is

101
00:04:35.360 --> 00:04:40.160
<v Speaker 2>the syntax. It can be a bit, a bit wet, idiosyncratic.

102
00:04:39.399 --> 00:04:42.680
<v Speaker 1>Idiosyncratic, you're being diplomatic, spit it out. What kind of

103
00:04:42.759 --> 00:04:43.720
<v Speaker 1>quarks are we talking about?

104
00:04:43.800 --> 00:04:46.800
<v Speaker 2>Okay? So, for example, if you want to compare if

105
00:04:46.839 --> 00:04:50.240
<v Speaker 2>two things are equal, right, you use eq instead of

106
00:04:50.319 --> 00:04:52.319
<v Speaker 2>like the more common double equal sign that you see

107
00:04:52.319 --> 00:04:54.399
<v Speaker 2>in a lot of other languages. Oh. Interesting, and it's

108
00:04:54.399 --> 00:04:57.279
<v Speaker 2>a small thing, yeah, but it can really throw you

109
00:04:57.319 --> 00:04:58.759
<v Speaker 2>off if you're not used to it. Yeah.

110
00:04:58.839 --> 00:05:01.920
<v Speaker 1>The joys of learning in new life uage, right, exactly,

111
00:05:01.959 --> 00:05:03.439
<v Speaker 1>even if it's just for talking to your computer.

112
00:05:03.680 --> 00:05:05.959
<v Speaker 2>Yeah, it's like traveling to a foreign country, right where

113
00:05:05.959 --> 00:05:09.040
<v Speaker 2>everything seems familiar, right, but the rules are just a

114
00:05:09.079 --> 00:05:10.040
<v Speaker 2>little bit off.

115
00:05:10.480 --> 00:05:10.879
<v Speaker 1>I like that.

116
00:05:11.160 --> 00:05:11.639
<v Speaker 2>Yeah.

117
00:05:11.720 --> 00:05:15.160
<v Speaker 1>Okay, So enough theory, right, let's get practical. What kind

118
00:05:15.199 --> 00:05:19.240
<v Speaker 1>of real world tasks does the book actually walk us through?

119
00:05:19.560 --> 00:05:22.600
<v Speaker 2>It covers a wide range of situations that you might

120
00:05:22.680 --> 00:05:25.959
<v Speaker 2>actually find yourself dealing with in a Windows environment. You'll

121
00:05:26.040 --> 00:05:29.079
<v Speaker 2>learn how to manage files and folders, of course, okay,

122
00:05:29.120 --> 00:05:31.519
<v Speaker 2>but it goes beyond that. It gets into how to

123
00:05:31.600 --> 00:05:33.240
<v Speaker 2>manipulate running processes.

124
00:05:33.360 --> 00:05:35.759
<v Speaker 1>Okay, now we're talking. That's the kind of stuff that

125
00:05:35.800 --> 00:05:39.120
<v Speaker 1>makes me think, yes, I can finally automate that annoying

126
00:05:39.160 --> 00:05:40.399
<v Speaker 1>thing that I have to do every week.

127
00:05:40.480 --> 00:05:43.120
<v Speaker 2>Here you go, yeah, yeah, And it goes even further.

128
00:05:43.800 --> 00:05:47.839
<v Speaker 2>You can even manage remote servers with PowerShell. Imagine this

129
00:05:48.519 --> 00:05:52.279
<v Speaker 2>updating software on hundreds of machines with a single script.

130
00:05:52.519 --> 00:05:56.319
<v Speaker 1>WHOA. Okay, now that's power. But with great power comes

131
00:05:56.399 --> 00:06:00.319
<v Speaker 1>great responsibility. Right, What about the security implications of this?

132
00:06:00.439 --> 00:06:02.720
<v Speaker 1>I mean it sounds like PowerShell could be a pretty

133
00:06:02.759 --> 00:06:06.680
<v Speaker 1>tempting tool for someone with you know, less than honorable intentions.

134
00:06:06.680 --> 00:06:09.480
<v Speaker 2>Oh absolutely, And the book doesn't shy away from that.

135
00:06:09.519 --> 00:06:12.720
<v Speaker 2>It talks about what are called execution policies, okay, which

136
00:06:12.759 --> 00:06:16.560
<v Speaker 2>basically control what kind of scripts can be run on

137
00:06:16.639 --> 00:06:17.160
<v Speaker 2>a system.

138
00:06:17.240 --> 00:06:20.160
<v Speaker 1>So it's like a safety net exactly to prevent accidentally

139
00:06:20.240 --> 00:06:21.720
<v Speaker 1>running a script that could you know.

140
00:06:22.079 --> 00:06:26.199
<v Speaker 2>Recaffick Precisely. Admins can set policies to require things like

141
00:06:26.360 --> 00:06:30.519
<v Speaker 2>digital signatures on scripts for example, it's this really crucial

142
00:06:30.639 --> 00:06:33.879
<v Speaker 2>layer of security, especially when you're talking about, you know,

143
00:06:33.959 --> 00:06:34.920
<v Speaker 2>a business environment.

144
00:06:35.160 --> 00:06:36.839
<v Speaker 1>That makes sense. I mean, you wouldn't give someone the

145
00:06:36.879 --> 00:06:39.160
<v Speaker 1>keys to your server room without you know, making sure

146
00:06:39.199 --> 00:06:41.600
<v Speaker 1>they knew what they were doing. So after you know,

147
00:06:41.639 --> 00:06:44.720
<v Speaker 1>diving into all of this, is PowerShell something that you

148
00:06:44.759 --> 00:06:47.800
<v Speaker 1>think everyone needs to master? Or is it more of

149
00:06:47.959 --> 00:06:51.399
<v Speaker 1>like a niche tool for it pros? So it's not

150
00:06:51.480 --> 00:06:54.959
<v Speaker 1>about like turning everyone into a scripting guru, but just

151
00:06:55.000 --> 00:06:57.560
<v Speaker 1>having that baseline knowledge can make a difference.

152
00:06:57.839 --> 00:07:01.160
<v Speaker 2>Oh absolutely, Even if you just understand the basics of PowerShell,

153
00:07:01.480 --> 00:07:04.480
<v Speaker 2>it can empower you to do things you never thought possible.

154
00:07:04.480 --> 00:07:06.319
<v Speaker 2>With Windows, It's like, all of a sudden, you can

155
00:07:06.360 --> 00:07:08.680
<v Speaker 2>speak to your computer in its native language.

156
00:07:08.839 --> 00:07:11.879
<v Speaker 1>I love that analogy. But look, where does somebody even begin?

157
00:07:12.600 --> 00:07:15.879
<v Speaker 1>Is this book like the ultimate PowerShell Bible? Or is

158
00:07:15.920 --> 00:07:17.560
<v Speaker 1>it just the tip of the iceberg?

159
00:07:17.639 --> 00:07:21.240
<v Speaker 2>Well, Parashell's Step by Step is a fantastic starting point,

160
00:07:21.319 --> 00:07:24.000
<v Speaker 2>no doubt about it. But the real beauty of Parashell

161
00:07:24.120 --> 00:07:28.040
<v Speaker 2>is this. It's got this incredibly vibrant online community.

162
00:07:28.199 --> 00:07:29.800
<v Speaker 1>Oh yeah, tell me more about that.

163
00:07:29.920 --> 00:07:35.199
<v Speaker 2>Oh man, there are countless blogs, forums, there are websites,

164
00:07:35.279 --> 00:07:39.000
<v Speaker 2>dedicated to this stuff, where people are sharing scripts, they're

165
00:07:39.040 --> 00:07:43.279
<v Speaker 2>troubleshooting problems, they're basically geeking out over PowerShell. It's a

166
00:07:43.399 --> 00:07:45.959
<v Speaker 2>gold mine of knowledge out there that's amazing.

167
00:07:46.000 --> 00:07:48.160
<v Speaker 1>So even if this book doesn't have the answer, there's

168
00:07:48.199 --> 00:07:50.720
<v Speaker 1>probably someone out there who's faced that same challenge.

169
00:07:50.399 --> 00:07:52.759
<v Speaker 2>And figured it out exactly. And that's what makes PowerShell

170
00:07:52.839 --> 00:07:56.360
<v Speaker 2>so exciting. It's constantly evolving. There are new versions, new

171
00:07:56.360 --> 00:07:58.959
<v Speaker 2>sumdill its, new ways of doing things popping up all

172
00:07:59.000 --> 00:07:59.360
<v Speaker 2>the time.

173
00:07:59.439 --> 00:08:02.240
<v Speaker 1>So it's just about learning a set of commands. It's

174
00:08:02.240 --> 00:08:06.360
<v Speaker 1>about joining like a community of passionate learners and problem solvers.

175
00:08:06.360 --> 00:08:10.480
<v Speaker 2>Precisely, it's about unlocking the hidden potential of Windows right

176
00:08:10.759 --> 00:08:13.600
<v Speaker 2>and finding elegant solutions to everyday challenges.

177
00:08:13.800 --> 00:08:16.519
<v Speaker 1>Well, you've definitely sold me on Powershelf. Yeah, it's not

178
00:08:16.600 --> 00:08:20.079
<v Speaker 1>just about saving time or automating tasks. It's about like

179
00:08:20.240 --> 00:08:23.439
<v Speaker 1>expanding your capabilities and really seeing Windows in a whole

180
00:08:23.439 --> 00:08:24.519
<v Speaker 1>new light exactly.

181
00:08:24.639 --> 00:08:27.480
<v Speaker 2>It's about taking control of your technology and making it

182
00:08:27.519 --> 00:08:29.160
<v Speaker 2>work for you and not the other way around.

183
00:08:29.319 --> 00:08:31.639
<v Speaker 1>This deep dive has been a real eye opener for me.

184
00:08:31.720 --> 00:08:34.559
<v Speaker 1>I'm like feeling inspired to dust off the old command

185
00:08:34.600 --> 00:08:37.080
<v Speaker 1>line and see what kind of PowerShell magic I can

186
00:08:37.120 --> 00:08:37.679
<v Speaker 1>conjure up.

187
00:08:37.799 --> 00:08:40.440
<v Speaker 2>And remember the best way to learn is by doing

188
00:08:40.799 --> 00:08:45.080
<v Speaker 2>start small, experiment, don't be afraid to break things in

189
00:08:45.120 --> 00:08:48.559
<v Speaker 2>a virtual environment, of course, and just embrace the journey.

190
00:08:48.799 --> 00:08:52.399
<v Speaker 1>That's fantastic advice to anyone listening who's ready to embark

191
00:08:52.440 --> 00:08:55.000
<v Speaker 1>on their own PowerShell adventure. Be sure to check out

192
00:08:55.039 --> 00:08:56.799
<v Speaker 1>the show notes for links to the book and other

193
00:08:56.840 --> 00:09:00.519
<v Speaker 1>resources we've talked about. Until next time, Happy script Think
