Categories
How-To Personal Software Technical

Power Off & On VMware Guest with a Scheduled Task

  Using Windows task scheduler you can schedule power off and on events for guest systems running in VMware vCenter or a standalone ESXi host. My steps: Create a basic task – give it a name and description (optional) Choose when you want this task to stat Select the start date and time Choose “Start a […]

Categories
How-To

Tech Short: PowerShell to list users in AD security group

You want to get a list of users who exist as members of a AD (Active Directory) security group. Here are some quick steps on accomplishing this task. Lets begin: Open PowerShell or PowerShell ISE Type Import-Module ActiveDirectory Followed by Get-ADGroupMember -identity “Group Name” | select name | Out-GridView Import-Module ActiveDirectory Get-ADGroupMember -identity “Name of Group” | select name […]

Categories
How-To Technical

Tech Short: Stop and Start Lync Services On A Server

How can I take on this task, let me count the ways… After installing a new certificate on our Lync server I needed to restart the services to complete the change.  I was able to do this with two powershell commands. Stop Services Get-CsWindowsService | Where-Object {$_.Status -eq “Running”} | Stop-CsWindowsService Start Services Get-CsWindowsService | […]

Categories
Technical

Office 365: Initiate a full password sync using DirSync

Having a need to rapidly sync passwords to Office 365 using Directly Sync (DirSync) I come across the following method that seems to work with minimal effort.  By default the DirSync only kicks off ever 3-5 min’s. To initiate a full password sync you can do the following: Open PowerShell, and then type: Import-Module DirSync   […]

Categories
Software Technical

Office365: Using PowerShell to get Office365 license info

Working to apply bulk apply licenses I stumbled upon some useful commands to list the licenses assigned to my Office 365 Account. The following command will list account Sku ID’s along with the active and consumed units. Best of all list them in a nice grid view Get-MsolAccountSku |Out-GridView We can also pull the subset […]

Categories
How-To Technical

Office 365: Convert Mailbox to Shared Mailbox after Cutover Migration

When performing a cut-over migration the Exchange attribute indicating that the mailbox was a shared mailbox is lost. To correct this I have done the following steps: List out all of the shared mailboxes form my on-premises Exchange and export them into a CSV file. Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails SharedMailbox | Select UserPrincipalName | Export-Csv […]