Office 365

Save Sent Items in Shared Mailbox

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 …

Office 365

Create a Dynamic Distribution Group of All Users in Office 365

Launch Powershell as an Administrator and connect to Office 365 Run

That’s it – Dynamic Distribution Group created. To check the membership of the group…… run

 

Office 365

Azure AD Connect passwords not syncing.

After an update to Azure AD Connect we found that  status of DirSync was syncing the directory but not the passwords. The password sync had become disabled. To re-enable we need to re-configure Azure AD Connect. Start Azure AD connect and press configure Select configure Enter credentials In the optional …

Office 365

Azure AD Connect – Scheduled syncing not working anymore

Azure AD Connect suddenly stopped working. Trying to force a sync using powershell also failed a threw up an error:

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 …

Deployment

MDT – Working towards Zero Touch Installation

The aim of this is to create a deployment that once started will finish without any further intervention. Step 1 – Create the Perfect task Sequence Before we start the process, we assume that you have tested your deployment process and you are able to deploy operating system as required. …

Scripting

Powershell: Log Manager

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 …

Scripting

Tunnel a PowerShell script to a remote machine and invoke via WMI

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 …

Scripting

Invoke a remote command without WinRM, psexec or similar – Access administrative shares even if they have been removed

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 …

Deployment

Fix MDT 8443 Missing Capture Screen

It is a known bug n MDT 8443 that the capture screen is missing. To correct the bug you need to edit the ZTIUtility.vbs file. Edit the ZTIUtility.vbs File   Look in the scripts folder of your deployment share for the ZTIUtility.vbs file. Deploymentshare \scripts\ZTIUtility.vbs. Make a copy of this …

Deployment

Installing .NET Framework 3.5 with MDT

You could use a DISM command line to install .net Framework 3.5 using something like: DISM.exe /online /enable-feature /featurename:NetFX3 /All/Source:”%deployroot%\Operating Systems\Windows 8.1 x64 Enterprise\Sources\SXS” /LimitAccess But since you have already imported the OS into MDT you may as well use the media that MDT already has and specify the source …