Use PowerShell WhatIf So You Don't Break Stuff

1K views May 25, 2024
publisher-humix 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

#Education
Ā  # Programming
Ā  # Software