Use PowerShell WhatIf So You Don't Break Stuff
1K views
May 25, 2024
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