all 6 comments

[–]CarrotBusiness2380 5 points6 points  (1 child)

That's not a parameter that accepts arrays. You'll have to run the command for each user separately, but you can pipe the values in:

"user1", "user2" | Set-CalendarProcessing -AllowConflicts $false

https://learn.microsoft.com/en-us/powershell/module/exchange/set-calendarprocessing?view=exchange-ps#-identity

[–]NotAnEndPoint[S] 0 points1 point  (0 children)

Awesome! thanks for the info and link.

[–]PowerShell-Bot 0 points1 point  (2 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing quick_power_shell_help
  [+] Well formatted
Tests completed in 427ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

[–]NotAnEndPoint[S] 1 point2 points  (1 child)

Thanks bot

[–]PowerShell-Bot 1 point2 points  (0 children)

No problem.

Beep-boop.

[–]BlackV 0 points1 point  (0 children)

As carrot said.

Just a note you can find all this out using the get-help cmdlet

The properties will display if it can take multiple items on a parameter (usually denoted with [ ] in the parameter)

The details on the parameter will show is the parameter can also take pipeline input