MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

PowerShell Gotchas

Course Summary

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


  • +

    Course Syllabus

    ● Course Overview
        ◦ What do I mean by 'gotcha?'
        ◦ What You Should Assume about this Course
        ◦ What this Course Assumes about You
        ◦ Module Outline
    ● Paths
        ◦ Paths in PowerShell
        ◦ Gotcha #1: ~
        ◦ ~ and PowerShell Providers
        ◦ ~ is Fragile
        ◦ ~ and PowerShell Scripts
        ◦ Gotcha #1: Workarounds
        ◦ Gotcha #1: Change your Thinking
        ◦ Gotcha #2: Current Location vs. Current Directory
        ◦ PowerShell is A Windows Process
        ◦ PowerShell Location and Windows Current Directory
        ◦ Gotcha #2: Workaround
        ◦ Gotcha #2: Change your Thinking
        ◦ Summary
    ● Pipelines
        ◦ Pipelines are Awesome (Except when They're Not)
        ◦ Gotcha #3: Expressing Yourself in an Argument
        ◦ Pipeline Execution Order and Expressions
        ◦ (Expressions as Cmdlet Arguments)
        ◦ Gotcha #3: Change your Thinking
        ◦ Gotcha #4: Return All The Things!
        ◦ Every Statement is A Pipeline
        ◦ Errant Output can Cause Problems
        ◦ Swallowing Pipeline Output
        ◦ Gotcha #4: Chane your Thinking
        ◦ Gotcha #5: Iterating Nothing
        ◦ Undefined Variables are $null, and $null will Pipe
        ◦ Oddity with The foreach statement in PowerShell V3
        ◦ Enforcing Best Practices with PowerShell Strict Mode
        ◦ Gotcha #5: Change your Thinking
        ◦ Summary
    ● Strings
        ◦ Meet The King of Automation
        ◦ Gotcha #6: Foreign Dialects
        ◦ The String Interpretation Stack
        ◦ Backticks and Non-interpolated Strings
        ◦ Escape Characters
        ◦ Gotcha #6: Change your Thinking
        ◦ Gotcha #7: Interpolating Scope
        ◦ PowerShell Global and Local Scope
        ◦ Errant Scoping in Interpolated Strings
        ◦ Giving PowerShell A Clue
        ◦ Gotcha #7: Change your Thinking
        ◦ Summary
    ● Logic
        ◦ Introduction
        ◦ Gotcha #8: -or and/or -and
        ◦ Operator Precedence
        ◦ Operator Precedence - PowerShell vs Almost Everywhere Else
        ◦ Making Logic Logical
        ◦ Gotcha #8: Change your Thinking
        ◦ Gotcha #9: Unequal Equality
        ◦ Why $a equals $b
        ◦ Why $b does not equal $a
        ◦ Null references and Strings
        ◦ Gotcha #9: Change your Thinking
        ◦ Summary

     


Course Fee:
USD 29

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

This course is listed under Open Source and Development & Implementations Community

Related Posts:

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top