Use PowerShell WhatIf So You Don't Break Stuff

May 25, 2024
jeffbrown.tech Logo

jeffbrown.tech

Don't break stuff! Learn how you can add the WhatIf parameter to your scripts and functions so you know what your code is going to do before it does it. ๐Ÿ‘‡ Get the Code Here! ๐Ÿ‘‡ All Code: https://github.com/JeffBrownTech/jeffbrowntech_youtube This Video: https://github.com/JeffBrownTech/jeffbrowntech_youtube/tree/main/2024-05-20-PowerShellWhatIf ๐Ÿ“– Read More About This ๐Ÿ“– https://jeffbrown.tech/using-powershell-whatif-so-you-dont-break-stuff/ โฐ Chapters โฐ 00:00 Introduction 00:47 WhatIf Introduction 01:29 Function Overview 01:50 Updating CmdletBinding Attribute 02:35 Adding WhatIf Logic 05:21 Customize WhatIf Message 06:48 Summary Social Links ๐Ÿ”— LinkedIn: https://www.linkedin.com/jeffbrowntech


View Video Transcript
#Education
#Programming
#Software