Forum Discussion

ThomasLehmann's avatar
ThomasLehmann
Copper Contributor
Feb 05, 2024

Import-Module for advanced functions doesn't work as expected

Using [CmdletBinding(SupportShouldProcess)] on functions using them inside the main script does work as expected: When passing -WhatIf or -Confirm:$true to the script then those parameters are passed...