Closed agusherrera closed 6 years ago
Executing Install-WMF3Hotfix.ps1 script fails with the following error:
A parameter with the name 'Verbose' was defined multiple times for the command. CategoryInfo : MetadataError: (:) [], ParentContainsErrorRecordException FullyQualifiedErrorId : ParameterNameAlreadyExistsForCommand
A parameter with the name 'Verbose' was defined multiple times for the command.
I am no expert, but I guess defining $verbose parameter is redundant because of CmdletBinding() sentence. According to this link, CmdletBinding() in its simplest form already provides -Verbose parameter support.
Thanks for the pickup @tutinator.
Executing Install-WMF3Hotfix.ps1 script fails with the following error:
I am no expert, but I guess defining $verbose parameter is redundant because of CmdletBinding() sentence. According to this link, CmdletBinding() in its simplest form already provides -Verbose parameter support.