Advertisements
Everything-PowerShell

Everything-PowerShell

I was playing around with PowerShell 6 and 7 RC which a colleague showed me was available. Firstly to get the new version, you need to run the following command below: (Note it includes the -Preview switch) iex “& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Preview” It does take a few minutes to bring up the […]

Advertisements
Read more

Recently we had a request to update a whole stack of servers registry keys. With PowerShell this is easy to do. In the first step you need to set the location of where you want to work. In this case it was HKLM:\SOFTWARE\Location – Location being where you want to update the key. The command […]

Read more

In any operating system, you may want to uninstall or remove a device like a network card for example that may be causing issues. Launching Device Manager does not show the device and as an example you cannot rename you network card because it says the device already exists. You can run the command below […]

Read more

With PowerShell you can pretty much do anything. In this article we disabled Netbios using a registry key, however you can do the same using WMI and PowerShell as well as removing the tick box for Lmhosts on a Network Card. To do this, you can run the following set of commands: $NICS = Get-WmiObject […]

Read more

Here is a quick tip on firstly how to check which domain controller the FSMO roles are situated on and secondly, moving the FSMO roles with one command. To determine which server/s are holding the the FSMO roles, you can run the command below: netdom query fsmo This will output the following: Schema Master Domain […]

Read more

Quick tip for the day. Ever wanted to remove an alias from a Distribution Group and wondered how to do this with the Exchange Management Shell (EMS). It is pretty simple, you run the following command below: Set-distributiongroup GroupEmailAddress –EmailAddresses @{remove=’AliasAddress’} Replace the “GroupEmailAddress” with the Primary SMTP address and then the AliasAddress is the […]

Read more

As you would have noticed in not only Exchange 2019 but 2016 that when you type a certain command you will receive a nice yellow warning to use the new cmdlet instead. For example, I ran the following command: Get-TransportServer And as you can see below, the warning: when you run the new cmdlet that […]

Read more

Quick Tip: If you want to create a room mailbox, you can do so with a simple command: New-Mailbox -Name MyRoom -DisplayName “My Room” -Room To Validate your setup, you can run the following command: Get-Mailbox myroom | fl Name,RecipientTypeDetails There you have it, simple enough. Hope it helps.

Read more

In the world we live in today, information is vital and having your email open for everyone to view is also not such a good thing. In Exchange you have the option to set a timeout value so that if you are in-active for a certain period then the OWA page will log you out. […]

Read more

I have a strange problem in my lab where my main account is part of the org admin group however I cannot run half the commands, I thought I would reset everything with the commands below but have not seen any change. Still cannot do much. However in my Exchange 2016 lab, it worked just […]

Read more