PowerShell Gotchas

Pluralsight
Course Summary
Learn more about PowerShell by examining some of its most strange behaviors.
-
+
Course Description
PowerShell is the de facto standard for automation and administration on Windows systems. The central design mantra in PowerShell is Think-Type-Get. That is: Think what you want, Type it, and Get the results. Unfortunately this mantra doesn't always work - PowerShell combines concepts from other languages (Perl, Python, and VBScript for example) and borrows ideas from other platforms (like pipelining in Bash). This creates an experience that feels familiar, but fails to behave consistently with our experiences. This creates "gotchas." In this course, we will analyze some specific cases of PowerShell's strange behavior in order to better understand how and why PowerShell works the way it does.
-
+
Course Syllabus
Course Overview- 6m 25s
—What do I mean by 'gotcha?' 2m 20s
—What You Should Assume about this Course 1m 23s
—What this Course Assumes about You 1m 45s
—Module Outline 0m 56sPaths- 24m 30s
—Paths in PowerShell 0m 46s
—Gotcha #1: ~ 2m 30s
—~ and PowerShell Providers 2m 56s
—~ is Fragile 1m 26s
—~ and PowerShell Scripts 1m 16s
—Gotcha #1: Workarounds 1m 53s
—Gotcha #1: Change your Thinking 1m 17s
—Gotcha #2: Current Location vs. Current Directory 3m 34s
—PowerShell is A Windows Process 1m 50s
—PowerShell Location and Windows Current Directory 1m 43s
—Gotcha #2: Workaround 2m 36s
—Gotcha #2: Change your Thinking 0m 57s
—Summary 1m 41sPipelines- 27m 13sStrings- 24m 34sLogic- 17m 23s