I recently had a problem with an Exchange Online tenant. There was an external mail contact which was previously synchronised from Active Directory to Exchange Online. So I had deleted the on-premise active directory mail contact but it still existed in Exchange Online. When I tried to delete the contact it gave the following errror message.   […]

PowerShell on Samsung Galaxy and iPhone? PowerShell Web Access is a new Windows Server Feature. It provides a web-based PowerShell Console. After installing, you can access PowerShell from any device, even from your Samsung Galaxy or iPhone. The setup is a three step process: Installing PowerShell Web Access (and its sub-features) Installing the certificate Configuring […]

24/07/2017

drago

PowerShell

As Web Application Proxy is a standard Windows Server role service, you can use many Windows Server PowerShell tools to control Web Application Proxy: Shows Web Application Proxy Windows services status Get-Service’appproxysvc’,’appproxyctrl’,’adfssrv’|fl-property* Shows the configuration of Web Application Proxy Windows service Get-WmiObject-ClassWin32_Service-PropertyStartMode-Filter”Name=’appproxysvc’” Get Best Practices Analyzer (BPA) results for the Remote Access role Invoke-BpaModel Microsoft/Windows/RemoteAccessServer […]

24/07/2017

drago

ADFS, PowerShell

You can check in a very easy Way all of your Exchange Virtual Directories by using my Script I share with you in this Post. It shows you in a simple way all current Vdir’s on your local Server or all Servers of your Exchange Organisation. During the Script you will be asked if you […]

To create Mail Address Policies on Exchange I prefer to use PowerShell. If you go this Way, there are some small Showstopper you have to know about it. For example how to Manage Resources and the internal Domain? Then also witch Format to use for the Mail Policies? I made a short Script to create […]

How to create fast and clean a new Exchange DAG? – Use PowerShell! Since the last Versions of Exchange we don’t need to configure a dedicated Network Adapter. More about that you can find here. I wrote a small simple Script to create a DAG with two Exchange server. To download the Script just go […]

If FSMO role holder DC goes under upgradation process or down, we think about FSMO roles as its important and we know the traditional NTDSUTIL way of transferring and seizing FSMO roles which takes few minutes. To transfer all 5 of the FSMO roles. Move-ADDirectoryServerOperationMasterRole -Identity “Target_DC_name” –OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster,SchemaMaster,DomainNamingMaster transfer all 5 FSMO roles using […]

21/06/2017

drago

PowerShell

Finding out who owns a Domain is easy, there are a lot of Web Tools to find out, all informations… But what about the Shell? You can use my Script to get all informations with one simple command.   You can download it on GitHub:   https://github.com/MSB365/GetWebWhoIs.ps1       Photo by Ricardo Cruz on Unsplash

12/06/2017

drago

PowerShell

I had to install on several servers the OMS Agent to manage the Systems in our Workspace. To go forward with this request I wrote this Script witch is doing the main work for me. After I wrote this PowerShell Lines, I was able to give it to our Operations Department for deployment on all […]

12/06/2017

drago

PowerShell

For creating a Remote Desktop Gateway infrastructure we need different configuration steps. For the Deployment I prefer to use PowerShell. With this Script you will be able to Deploy all needed Roles and Services for an RDG. Note: After you run this Script, you sill will have to make some configurations for your environment. E.g. […]

12/06/2017

drago

Entra ID, PowerShell

Creating SSL Certificate Requests needs a lot of Time, how to create a Request without IIS I wrote here in my Blog already with this Entry (Create Certificate Request without IIS (ADFS3.0)) But even here you need a lot of time, so the Solution is – PowerShell! Reinout Segers wrote a fantastic Script how to […]