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