Categories
How-To Software Technical

VMware vSphere PowerCLI – Power Off & On Guests

Looking for a method to restart a non-persistent environment in ESXi or vCenter, I was able to use PowerCLI to issue the commands needed. Originally I was looking to automate the recovery of a snapshot when it dawned on me that a non-persistent disk would facilitate the same thing.  However I would need to power off the server […]

Categories
How-To Technical

Exchange 2013 – Delete all contents from mailbox

Using the following Exchange Management Shell command you can cleanup emails from a mailbox such as one used to catch spam emails: Search-Mailbox -Identity “<mailbox_name>” -DeleteContent -Force You can also check the number of items in the mailbox by issues the following command: ​Get-MailboxFolderStatistics <mailbox_name> | Select Identity, ItemsInFolder  

Categories
Software Technical

Office 365: Errors during cutover migration

This is an error I’ve received when running a cut-over migration batch in Office 365. Error: ProvisioningFailedException: The parameters passed to the cmdlet represent a managed account, which doesn‎’t match the namespace state, which is federated. I’ve reached out to support, to help me troubleshoot this.  So far there hasn’t been much I’ve been able to find online […]

Categories
How-To Technical

Tech Short: List all shared mailboxes, Exchange 2013

Quick an simple power shell line to list all shared mailboxes in your Exchange 2013 environment. Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails SharedMailbox   What’s a Shared Mailbox A shared mailbox is a mailbox that multiple users can use to read and send email messages. Shared mailboxes can also be used to provide a common calendar, allowing […]

Categories
How-To Software Technical

Change Hostname On Windows Server 2012 R2 Server Core

Windows Server 2012 R2 Server Core is installed and now its time to change the hostname from the install default. To change the hostname I will issue the following command: netdom renamecomputer [oldhostname] /newname [newhostname]   You will get the following message once completed: Certain services, such as the Certificate Authority, rely on a fixed machine name. […]

Categories
How-To Software Technical

Disable Windows Firewall On Windows Server 2012 R2 Server Core

After my install of Windows Server 2012 R2 Server Core, I wanted to manage the system via RSAT and Remote Desktop. However the firewall was preventing me from completing such tasks. That said, this is how we can disable the firewall From the command prompt type the following command: netsh advfirewall set allprofiles state off […]