Author: PhilEddies

VMware – Failed to lock the file

Problem: I recently had an issue powering on a VMware guest after a HA problem with one of my host, when I attempted to power on the guest I received the message “Failed to lock the file” in vCentre. Within the vmware.log file for the guest it gave the name of the file that was locked. Solution: On one of my hosts I enabled and logged on as root using SSH Running the command vmfsfilelockinfo -p with the full path of the locked file from the vmware.log file showed which host was locking the...

Read More

Cisco: Warning: SFP gbic-security check fail and gbic-invalid

Problem: I recently had to use some none Cisco 10Gbs copper SFP’s in a 3850 stack. On inserting the SFP’s the interfaces went into err-disabled status and looking in the log I was getting the message “Warning: SFP gbic-security check fail” and “gbic-invalid”. Solution: Using the below commands I was able to get the device to not put the the interface into err-disabled when a non Cisco SFP was used. service unsupported-transceiver no errdisable detect cause gbic-invalid 12 service unsupported-transceiverno errdisable detect cause gbic-invalid   I then had run a shut and a no shut on the interface, after...

Read More

Unity 101 : Playing a sound when a UI button is pressed

Intro In this beginner tutorial we will quickly cover how to add a sound effect and a button to our project. We will then trigger the sound effect to play when the button is pressed without typing any code. I am going to assume you have Unity installed and know how to create a project, if not there is plenty of great materiel out there to get you up and running. Prep Adding a button Within the “Hierarchy” panel right-click and select UI => Button Adding a sound file Either drag a sound file from your file explorer into...

Read More

Office 365 – PowerShell to list mailboxes that have an Out of Office Auto Reply enabled

The below is a little example of how to list all mailbox in Office 365 that have an Out of Office or an auto reply set. Connecting to Office 365 PowerShell $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session 123 $UserCredential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirectionImport-PSSession $Session Option 1 : List just the identities that have an Out of Office / Auto Reply Set PowerShell Get-Mailbox | Get-MailboxAutoReplyConfiguration | Where-Object { $_.AutoReplyState -eq "scheduled" } | fl identity 1 Get-Mailbox | Get-MailboxAutoReplyConfiguration...

Read More



Pin It on Pinterest