Everything-PowerShell
  • Home
  • Contact
  • About
  • Exchange 2019 PowerShell
  • Exchange 2016 PowerShell
  • Exchange 2013 PowerShell
  • Exchange 2010 PowerShell
  • PowerShell V7
  • PowerShell
  • Other Articles
Select Page
Windows PowerShell:- Change the Execution Policy

Windows PowerShell:- Change the Execution Policy

by edward | Mar 11, 2019 | Windows Server 2016 PowerShell, Window Server 2012 R2 PowerShell, Windows Server 2012 PowerShell, Windows Server 2019 PowerShell

As an Admin you can restrict access to PowerShell and what can run. With a simple command you can view the execution policy set on a server: Get-ExecutionPolicy As shown above, it is set to unrestricted on this server. To change it to restricted as an example you can...
Exchange 2010 and above:- Bulk update move requests with PowerShell

Exchange 2010 and above:- Bulk update move requests with PowerShell

by edward | Mar 7, 2019 | Exchange 2019 PowerShell, Exchange 2010 PowerShell, Exchange 2013 PowerShell, Exchange 2016 PowerShell

With mailbox moves, you do get the few that fail and instead of updating each one with the -BadItemLimit switch you can do this one liner command to update them all before resuming them, here is the command: Get-MoveRequest | Set-MoveRequest -BadItemLimit 500...
Exchange 2010 and above:- Bulk update move requests with PowerShell

Exchange 2010 – Export mail from a Hub Transport Queue

by edward | Feb 4, 2019 | Exchange 2010 PowerShell

As an Exchange admin, you will always come across mail stuck in a queue, there are so many reasons why this could happen but if you do need to export mail from a queue and not just simply delete it then you can do so running the following PowerShell command from the...
Exchange 2016 – Set the tarpit levels with PowerShell

Exchange 2016 – Set the tarpit levels with PowerShell

by edward | Jan 22, 2019 | Exchange 2016 PowerShell

Exchange comes with default tarpit levels which work for some organizations but not others, you can change these if you see a delay in delivery, to change it is very easy and you need to do this with PowerShell. Launch the Exchange Management Shell (EMS) and run the...
Windows PowerShell:- Change the Execution Policy

Windows Server 2012/2012 R2/2016 – Remove Malware embedded in WMI with PowerShell

by edward | Jan 19, 2019 | Windows Server 2016 PowerShell

With Malware getting smarter each time and out running the Anti-Virus and embedding itself in the Operating System that it thinks its Legit, there is a way to remove it when it writes an encrypted entry or multiple entries to the WMI database. To remove it you will...
Exchange 2019 – Connect a deleted mailbox or recover it

Exchange 2019 – Connect a deleted mailbox or recover it

by edward | Jan 16, 2019 | Exchange 2019 PowerShell

In this example, we are going to connect/recover a mailbox that we deleted in the previous blog post. As an example, we created a new test user as shown below to connect to a mailbox. To do this you can use PowerShell to create the user or use Active Directory Users...
Exchange 2019 – Connect a deleted mailbox or recover it

Exchange 2019 – Delete a mailbox using PowerShell

by edward | Jan 14, 2019 | Exchange 2019 PowerShell

In Exchange 2019, like other versions like 2016 or 2013, you can delete a mailbox using a single command. To firstly find the list of mailboxes you can run the following command: Get-Mailbox In this example we are going to remove the mailbox called...
Exchange 2019 – Connect a deleted mailbox or recover it

Exchange 2019 – Check the Services with PowerShell

by edward | Jan 13, 2019 | Exchange 2019 PowerShell

In Exchange, I pretty much do everything with PowerShell. A quick tip if you want to make sure everything is running, service wise, you can do so in Powershell: Get-Service *MSExchange* Just by running a simple command you have a complete overview of what is not...
Exchange 2019 – Connect a deleted mailbox or recover it

Exchange 2019 – Enable Circular logging on a Database

by edward | Jan 5, 2019 | Exchange 2019 PowerShell

In Exchange, whether it is 2013 or higher, you may look at enabling Circular logging on your databases. While this will constantly flush the logs, you cannot run Circular logging and have backups running as they will be inconsistent all the time. To firstly check if...
Exchange 2019 – Connect a deleted mailbox or recover it

Exchange 2019 – Remove Ambiguous Address from Transport Queue with PowerShell

by edward | Jan 4, 2019 | Exchange 2019 PowerShell

In Exchange, you might come across mail stuck in your queue that only show <> and nothing else. This is most likely your journal mail but for some reason it is stuck and does not want to clear from the Transport Queue, you can run the following command to remove...
« Older Entries
Next Entries »
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy
Copyright © 2024 EVERYTHING-POWERSHELL