The default behavior for shared mailboxes is that the sent mail will go to the sent items folder of the senders mailbox. This means other users with shared access cannot see what has been sent from this mailbox. We can change this so the sent items are saved to the …
Launch Powershell as an Administrator and connect to Office 365 Run
New-DynamicDistributionGroup -IncludedRecipients MailboxUsers -Name “AllUsers"
That’s it – Dynamic Distribution Group created. To check the membership of the group…… run
$AllUsers = Get-DynamicDistributionGroup "AllUsers"
Get-Recipient -RecipientPreviewFilter $AllUsers.RecipientFilter | FT DisplayName, Alias, PrimarySMTPAddress
Azure AD Connect suddenly stopped working. Trying to force a sync using powershell also failed a threw up an error:
Start-ADSyncSyncCycle : System.InvalidOperationException: Scheduler is already
suspended via global parameters.
overridePolicy, Boolean interactiveMode)
at SchedulerUtils.StartSyncCycle(SchedulerUtils* , Char* policyType, Int32
interactiveMode, Char** errorString)
At line:1 char:1
+ Start-ADSyncSyncCycle -PolicyType Delta
+ CategoryInfo : WriteError: (Microsoft.Ident...ADSyncSyncCycle:S
tartADSyncSyncCycle) [Start-ADSyncSyncCycle], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException: Scheduler is a
lready suspended via global parameters.
tring overridePolicy, Boolean interactiveMode)
at SchedulerUtils.StartSyncCycle(SchedulerUtils* , Char* policyType, In
t32 interactiveMode, Char** errorString),Microsoft.IdentityManagement.Powe
SchedulerSuspended. Set by Connect during an upgrade to temporarily block the scheduler from running. SchedulerSuspended is an editable switch with Set-ADSyncScheduler. Run Set-ADSyncScheduler -SchedulerSuspended $false. Then you you should …
Stumbled across this post and thought interesting as we used to have similar problems with logs. We started using the app VisualCron to manage our logs but for whatever reason this could be a healthy costless alternative. Overview Depending on your needs you can configure this script to do the …
In blog post „Invoke a remote command without WinRM, psexec or similar – Access administrative shares even if they have been removed“ I demonstrated how to use WMI to execute a command on a remote computer. The task was pretty simplistic as I only had to create a share. However …
Recently I ran into a situation, where I had to check a few log files on some remote computers and also needed to execute some commands to fix an issue. However, due to reasons I’m not going to enlarge on, all administrative shares had been removed. So by this, no …
With XML being used so much nowadays, XPath is a useful tool to query xml documents, it can also be useful in other ways. For example looking at how the ZTIConfigure.xml file in helps MDT merge information from Customsettings.ini into an answer file. XPath is used to query the answer …
PowerShell is Microsoft’s scripting language based around the .NET Framework. It’s mainly used for administering and configuring local and remote systems and you can also use it for the same task of viewing, adding or removing optional Windows features. It’s possible to use the DISM tool directly in Powershell but …
Creating Users –To create a user, use the New-IAMUser cmdlet. New-IAMUser – UserName ‘TestUser’ Get Users – Get details of a user by using Get-IAMUser cmdlet. If you do not pass the -UserName parameter, it will retrieve the details of the user currently logged in. Get-IAMUser Update Users – If …
You have distribution groups setup in Active Directory that are synced with Office 365. In the O365 console, you cannot enable allow external senders as it is synced from AD. So you have to set this in AD. There are a few ways to do this: Active Directory In Active …