Skip to content

Commit 1d9ad94

Browse files
committed
small fix in mandatory parameter function
1 parent 9346bf9 commit 1d9ad94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/utils/Test-MandatoryParameter.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Function Test-MandatoryParameter{
4141
try{
4242
#Find empty analysis parameter
4343
if(($null -eq $O365Object.initParams.Collect -or $O365Object.initParams.Collect.Count -eq 0) -and $null -eq $O365Object.IncludeEntraID){
44-
throw ("[EmptyParameterError] Please select a valid option with the -Analysis flag or use the -IncludeEntraId. For more information, please see https://silverhack.github.io/monkey365/ or use Get-Help Invoke-Monkey365 -Detailed")
44+
throw ("[EmptyParameterError] Please select a valid option with the -Collect flag or use the -IncludeEntraId. For more information, please see https://silverhack.github.io/monkey365/ or use Get-Help Invoke-Monkey365 -Detailed")
4545
}
4646
#Find duplicates in analysis parameter
4747
$duplicateValue = $O365Object.initParams.Collect | Group-Object | Where-Object -Property Count -gt 1

0 commit comments

Comments
 (0)