PowerShell+ 2019 - Doctor, Don't Defenestrate: What to Do with Legacy Scripts by Michael Lombardi

Channel:
Subscribers:
42,500
Published on ● Video Link: https://www.youtube.com/watch?v=rJmxJzhFv64



Duration: 41:35
20 views
0


Legacy script is in every organization and belongs to every team. We've all got production critical services that rely on one or more solutions we put in place long ago. We wrote those solutions, unsurprisingly, to solve problems - and they did, or they wouldn't still be in use.
That means legacy code is valuable - and valuable investments shouldn't just be tossed out the window without a second thought.
This talk will cover how you can get your legacy code under control by evaluating, documenting, and adding tests to it - and how doing so will enable you to begin to update and replace your legacy scripts safely and more quickly than before.
You'll learn about:
- Inline Documentation
- Reference Documentation
- Characterization Tests
- Unit Tests
- Concept Documentation
- Source Control Practices
We'll use an example legacy script to dissect at each stage of the process, showing how you can go about getting your legacy code under control - and how you can use these same practices on your new code to save yourself the future work.

PowerShell Summit videos are recorded on a "best effort" basis. We use a room mic to capture as much room audio as possible, with an emphasis on capturing the speaker. Our recordings are made in a way that minimizes overhead for our speakers and interruptions to our live audience. These recordings are meant to preserve the presentations' information for posterity, and are not intended to be a substitute for attending the Summit in person. These recordings are not intended as professional video training products. We hope you find these videos useful - the equipment used to record these was purchased using generous donations from members of the PowerShell community.




Other Videos By Confreaks


2022-09-05RustConf 2022 - Weird Expressions and Where to Find Them by Michael Gattozzi
2022-09-05RustConf 2022 - Your Open Source Repo Needs A Project Manager by Alice Cecile
2022-09-05RustConf 2022 - Writing a GraphQL compiler in Rust, a case study by Iryna Shestak
2022-09-05RustConf 2022 - How we ship Rust in OpenSUSE by William Brown
2022-09-05RustConf 2022 - Bootstrapping: The once and future compiler by Joshua Nelson
2022-09-05RustConf 2022 - All aboard the Rust (electric freight) train! by Julie Wang
2022-09-05RustConf 2022 - The Sheer Terror of PAM by Xe Laso
2022-09-05RustConf 2022 - What If We Pretended Unsafe Code Was Nice, And Then It Was? by Aria Beingessner
2022-09-05RustConf 2022 - Async Rust: Past, Present, and Future by Nick Cameron
2022-09-05RustConf 2022 - Opening Keynote by Josh Triplett and Tyler Mandry
2022-09-01PowerShell+ 2019 - Doctor, Don't Defenestrate: What to Do with Legacy Scripts by Michael Lombardi
2022-09-01PowerShell+ 2019 - Firewall Evasion and Remote Access with OpenSSH by Anthony Nocentino
2022-09-01PowerShell+ 2019 - Securing PowerShell: Hands-On Lab by Ashley McGlone
2022-09-01PowerShell+ 2019 - Microsoft Azure Policy Guest Configuration by Michael Greene
2022-09-01PowerShell+ 2019 - Writing Compiled PowerShell Cmdlets by Thomas Rayner
2022-09-01PowerShell+ 2019 - Parselmouth - bending the PowerShell language by Mathias Jessen
2022-09-01PowerShell+ 2019 - PowerShell Remoting Internals by Paul Higinbotham
2022-09-01PowerShell+ 2019 - PSScriptAnalyzer (PSSA) VS-code integration & ... by Christoph Bergmeister
2022-09-01PowerShell+ 2019 - Unexplained phenomena: powerful tricks you likely didn't know... by Kirk Munro
2022-09-01PowerShell+ 2019 - Bullet-proofing Patterns & Practices by Joel "Jaykul" Bennett
2022-09-01PowerShell+ 2019 - Machine Learning Algorithms with H2o and PowerShell by Tome Tanasovski