All Questions
Tagged with powershell exchange-server
1,162
questions
2
votes
1
answer
87
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 ...
0
votes
0
answers
17
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 ...
-1
votes
1
answer
24
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
...
0
votes
0
answers
33
views
Displaying MessageID via Powershell
Please, tell me if there is an opportunity to run searching and displaying an MessageID of every single email, which I will get via my code.
I was trying to figure out it, but I have only blank column ...
0
votes
0
answers
94
views
The term 'Get-MailboxJunkEmailConfiguration' is not recognized as the name of a > cmdlet
I'm using Exchange 2019 (on-premise), I want to run this cmdlet to view the junklist of a user:
Get-MailboxJunkEmailConfiguration -Identity "user mailbox"
but here is the output:
Get-...
0
votes
1
answer
65
views
Exchange Online Powershell Get SMPT Address of Identity
I'm rather new to Powershell, but I am trying to get the Primary SMTP Address of all Shared Mailboxes in the domain in order to extract the privileges that users (and all users in groups) have on said ...
0
votes
0
answers
108
views
Share Outlook calendars with all members of specific security group
I know this has been asked already, but I am trying to use a security group and share calendars with each member of that group (each user can view each other member's calendar). I have found several ...
0
votes
0
answers
41
views
Microsoft outlook Caught exception in remote runspace creation, The WinRM service cannot process the request Redirect location reported
We are getting below error while creating Mailbox on Microsoft Exchange server using c# utility :
*Caught exception in remote runspace creation System.Management.Automation.Remoting....
0
votes
1
answer
277
views
Set-MailboxAutoReplyConfiguration not recognized even after installing as admin
I am trying to use the Set-MailboxAutoReplyConfiguration cmdlet to configure an Exchange mailbox auto reply in a script. I used the command Install-Module -Name ExchangeOnlineManagement in an ...
0
votes
1
answer
552
views
How to get the mailbox statistics data for more than 70,000 shared mailboxes in bulk
I'm using cloud environment.
I initially tried to get the total mailbox count to execute the script of retreiving mailbox statistics in batches using below code... But it gives me a server side error.
...
0
votes
1
answer
75
views
Get .msg Copy by Criteria 'PR_INTERNET_MESSAGE_ID'
This post serves as an open collaboration forum
Pretext:
Outlook (v2038) and Exchange (5.5) have a couple of built-in ways to search messages for a User's and Admin's view using specific criteria such ...
-1
votes
1
answer
70
views
PowerShell to wait for each command to end before starting the next?
say I have 50 lines of ps code I want to run, a few examples below, I dont want to open 50 windows and run them separately, is there a way to just go to the next line once the first one is done?
.\Get-...
0
votes
0
answers
34
views
Duplicate results Add-MailboxPermissions using CSV and Splat (PowerShell)
After connecting to Exchange V3 EXO PowerShell successfully running a script that creates mailboxes from a CSV file, this works without issue, however after this section is complete,
run Add-...
1
vote
0
answers
110
views
How to execute "Run Rule Now" in Outlook Online using Exchange Online Powershell?
I've looked over all of the Exchange Online Powershell commands related to mailboxes and rule processing, but I can't seem to locate a command or parameter that allows Powershell to execute the "...
0
votes
1
answer
625
views
Exchange 2019 Management Shell: Server Identity Object Couldn't be found in DC
When I want to run a Command Such as:
Set-OutlookProvider -Identity "MyExchangeServer" -CertPrincipalName...
in Exchange Management Shell, It gives this error:
The operation couldn't be ...