Share via

A parameter cannot be found that matches parameter name 'InactiveMailboxOnly'

Anonymous
2023-09-29T11:38:42+00:00

The argument cannot be found after ExchangeOnlineManagement module is updated to 3.3.0

Not able to upload picture but the command looks like this:

PS C:\WINDOWS\system32> get-module ExchangeOnlineManagement

ModuleType Version    Name                                ExportedCommands                                                                                               

---------- -------    ----                                ----------------                                                                                               

Script     3.3.0      ExchangeOnlineManagement            {Add-VivaModuleFeaturePolicy, Get-ConnectionInformation, Get-DefaultTenantBriefingConfig, Get-DefaultTenantM...c

PS C:\WINDOWS\system32> Get-Mailbox -InactiveMailboxOnly

Get-Mailbox : A parameter cannot be found that matches parameter name 'InactiveMailboxOnly'.

At line:1 char:13

+ Get-Mailbox -InactiveMailboxOnly

+             ~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidArgument: (:) [Get-Mailbox], ParameterBindingException

    + FullyQualifiedErrorId : NamedParameterNotFound,Get-Mailbox

Microsoft 365 and Office | Install, redeem, activate | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-09-29T13:38:51+00:00

    Hello Olegs Nenasevs1

    Good day to you and thanks for your post in Microsoft365 business community.

    Based on your post, seems your concern is with PowerShell command and for that we have separate team who are handling PowerShell related queries only and have special expertise in it. So, it is recommended to kindly post your query on Microsoft PowerShell Community, so support team from PowerShell will check your query and assist you further. At this point, your kind cooperation and understanding will be highly appreciated.  

    Thank you so much for your precious time. Stay safe and healthy.

    Sincerely,

    Ankita Vaidya

    Was this answer helpful?

    0 comments No comments