Category: Microsoft

Script I have updated and can send alerts when servers hit below a certain space threshold. Please feel free to copy and edit the variables as needed. Use task scheduler to run daily. [cc lang=”Powershell”] ################################## # )\___/( # # {(@)v(@)} # # {|~~~|} # # {/^^^\} # # `m-m` # ################################## # WiseOwl Scripts […]

Read more

From time to time, I found that when trying to get to windows updates in the GUI via Settings for Server 2016 can hang and be unresponsive. Microsoft have also updated their commands for Server 2016 & Windows 10. Which I have listed below: Example Command: usoclient startscan – Will trigger a scan for available […]

Read more

List all Local Accounts on a Server Copy the following Below into text pad and save as a .ps1, run script accordingly. Update network path if required. Echo “Input computer name: ” $Computer = Read-Host $Credential = Get-Credential Get-WmiObject -Class Win32_UserAccount -Filter  “LocalAccount=’True’” | Select PSComputername, Name, Status, Disabled, AccountType, Lockout, PasswordRequired, PasswordChangeable, SID | […]

Read more
Step-By-Step Guide on how to rename your active directory domain name – Windows Server 2016

I have always been curious to see how hard it was to rename an active directory domain name, but never really had a reason to do it. Generally you move to clean domain, as it has issues with Exchange Servers 2007+. Finally a time has occurred when I can do this in my environment as […]

Read more
Using Telnet to test email relays

These commands below are an example of testing an email relay, good if you are testing relay lock down or allowance. Using Command Prompt, Telnet mail.Wiseowlit.com 25 or o mail.WiseOwlit.com 25 HELO domain.com.au MAIL FROM: Warwick@WiseOwlit.com – Wait for it confirm and say sender ok – Must be external of the Exchange Server or you with have […]

Read more
Inserting and registering product key for Microsoft Exchange 2013/2016 using PowerShell

In the past, I have had issues where Exchange 2013/2016 will not take the license key in the Exchange Control Panel. Luckily it’s easy to do it with Exchange powershell, do the following: Run Exchange Powershell as Administrator, Run the following command, replace ServerName with your server and your insert your key. Set-ExchangeServer ServerName -ProductKey Key […]

Read more

Hi All, A short guide here on how to move Resource mailboxes with ease using PowerShell, this also can be done with any mailbox user. Pretty much follow the commands like so, ensure you know the Alias of the Mailbox you are moving, your Server FQDN and your Target Domain in Office 365. $LiveCredential = […]

Read more

That time of the year, Certificates expiring, exchanges could be breaking and many more. How to Renew or Generate a new CSR for a WildCard Certificate using Exchange 2010 / Exchange 2013. They both have different steps but it’s the same outcome, Step-by-step guide Mircosoft are actually pretty decent in making this a easy IT […]

Read more