Skip to main content

All Questions

0 votes
0 answers
27 views

How do I filter Exchange Dynamic Distribution Groups for multiple potential criteria?

Here's the problem. One of the fields we are using to build our dynamic distribution list has the potential to have multiple values. It's an extension attribute that can have either a single value, ...
ajjar's user avatar
  • 3
0 votes
1 answer
57 views

Exchange PowerShell GUI - how to get mailbox size?

Trying to write some PowerShell script - need to get value of mailbox size and write it to a variable (to show as a text field on a form). It looks like this: $MailboxSize=Get-MailboxStatistics info | ...
Evgeny's user avatar
  • 1
1 vote
1 answer
56 views

Outlook/Exchange email messages export with exclusion of specific emails addresses/domains

I need to export all messages from exchange mailbox but the tricky thing is to exclude from it some email domains (around 30). So the output of the operation is export of almost all messages excluding ...
JJJit's user avatar
  • 11
0 votes
1 answer
84 views

User impersonation on Exchange Online using Powershell?

I'm trying to write a powershell script to enumerate through the emails in a user's exchange online mailbox and display basic identifying information (subject, receive date, etc) this is to allow me ...
Jon Hodgson's user avatar
1 vote
0 answers
76 views

PowerShell Exchange Commands Not Working in Docker on Linux for Exchange On-Premises 2007

I am currently developing a REST API that needs to interact with an on-premises Microsoft Exchange server (Exchange 2007, not Office 365) through PowerShell commands. In my development environment (...
Juan Luis Martos's user avatar
0 votes
0 answers
72 views

Powershell Exchange-Online - Set-Mailbox HiddenFromAddressListsEnabled with cert based auth

The cmdlet Set-Mailbox does not accept the parameter HiddenFromAddressListsEnabled if the cmdlet "Connect-ExchangeOnline" is cert based. With my admin credentials the parameter is shown. ...
TheCurl's user avatar
  • 106
0 votes
0 answers
52 views

Is there a PowerShell way to retrieve the stats in the Outlook Connection Status window?

Is there a PowerShell way to retrieve the stats in the Outlook Connection Status window? We want to monitor Red/Fail and Avg Resp in particular. Thanks in advance. I have Googled around and all that ...
TheGameNeverEnds's user avatar
0 votes
1 answer
133 views

Why is there a discrepancy between storage usage in Exchange Admin Center and 'Get-MailboxFolderStatistics'?

I'm currently working on Exchange license storage usage analysis and encountered a discrepancy between the storage usage size shown in the Exchange Admin Center (EAC) for each user and the size ...
CodeSeeker's user avatar
0 votes
0 answers
313 views

Get-MgUserCalendarView : Access is denied -

Im trying to create a Daily update for all staff on their calendar entries which then will get sent to all management members. Connect-MgGraph -Scopes "Calendars.Read", "Calendars....
ITW Git's user avatar
  • 23
0 votes
1 answer
40 views

How to get values from enumeration created from ExchangeManagement Shell

How to get the AccessRights List for the identity in C Sharp. where I tried to cast the obj.Properties["AccessRights"].Value to PSObject,PSObject[],object etc..\ But everything resulted in ...
Manoj A's user avatar
  • 432
1 vote
0 answers
978 views

Unable to Use Get-MessageTrace Command in Exchange Online

I’m having trouble with PowerShell and Microsoft Exchange. I’m trying to interact with Exchange Online via PowerShell to retrieve all emails received within a specified date range and display them on ...
Daniele's user avatar
  • 13
0 votes
1 answer
271 views

What is difference between commands Disable-MailUser and Disable-Mailbox in MS Exchange

I can't find any results explaining the difference between these two commands. My main question is: which command is better to use in modern exchange systems, such as MS Exchange 2019 on-premise? ...
Aleksandr Kharkovskiy's user avatar
2 votes
1 answer
2k views

Get-MgGroupMember by display name instead of userID

I am currently in the process of replacing an old script that used Exchange Online Powershell. The old script was very simple and only performed 2 tasks. Downloaded user photos that had custom ...
Qwenton's user avatar
  • 23
0 votes
0 answers
22 views

Exchange or Graph Script for DDL multiple tenants Powershell

Hi all I have a specific problem trying to solve, have tried writing my own script but not getting results I want. I work for a company that owns 4 other companies. They all operate as microsoft ...
eryan-work's user avatar
-1 votes
1 answer
41 views

Connect-ExchangeOnline with German 0365 cloud always times out

I want to configure some rooms in Outlook in Microsoft 365 and therefore need to use the Powershell. I'm using Powershell 7.4.2 on macOS. At first im running Import-Module ExchangeOnlineManagement ...
Alexander Hörl's user avatar

15 30 50 per page
1
2 3 4 5
78