Setup Cant Continue PowerShell Has Open Files
Jan06

Setup Cant Continue PowerShell Has Open Files

KB ID 0001633 Problem While attempting to uninstall Microsoft Exchange server; Setup can’t continue with the uninstall because the powershell (PID) has open files. Close the process, and then restart setup. Solution Seems to be a common error, and is usually caused because someone has the Exchange Web Management page open, (probably in another user session); In some cases you may need to reboot, but in my case I was simply being...

Read More
The Term ‘Uninstall-WindowsFeature’ is not Recognized
Dec16

The Term ‘Uninstall-WindowsFeature’ is not Recognized

KB ID 0001628 Problem I was removing Windows Defender from a lot of servers that had just been deployed, (while doing and AV rollout). So I had a remote session open to all the servers and issued the command on each one, and moved onto the next one. when I went back, about three or four of them had failed with the following error; PS C:\Users\Administrator> Uninstall-WindowsFeature -Name Windows-Defender Uninstall-WindowsFeature :...

Read More
PowerShell: Find Computers Last Logon Date
Oct23

PowerShell: Find Computers Last Logon Date

KB ID 0001612 Problem I had to find the last time a particular server had logged on for a client the other week, so we knew for sure it was dead! Solution The two commands you may need are; Locate Servers Last Login Time Get-ADComputer -Filter {OperatingSystem -Like ‘*SERVER’} -Properties lastlogondate,operatingsystem | Select name,laslogondate,operatingsystem Locate Clients Last Login Time Get-ADComputer -Filter...

Read More
Hybrid Exchange: ‘Mailbox Delegation’ Missing?
Oct11

Hybrid Exchange: ‘Mailbox Delegation’ Missing?

KB ID 0001607 Problem This was asked on EE this morning, if you are on a Hybrid Exchange environment then you cannot allocate Mailbox Delegation to an Office365 mailbox; However you can add ‘Mailbox Delegation’ to a ‘local mailbox’. This is completely normal behaviour, to allocate mailbox delegation permissions to your Office 365 mailboxes, you need to use PowerShell. Managing Mailbox Delegation Permissions in...

Read More
PowerCLI: Connect-VIServer Certificate Errors
Oct07

PowerCLI: Connect-VIServer Certificate Errors

KB ID 0001603 Problem When attempting to connect to a vCenter or ESXi host, you see the following error;   Connect-VIServer : {Date} {Time} Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction option to Prompt if you’d like to connect once or to add a permanent exception for this server. Additional Information: Could not establish trust relationship...

Read More
Forcing Azure AD Connect Sync
Aug29

Forcing Azure AD Connect Sync

KB ID 0001590 Problem If you are using Azure AD Connect, (AAD Connect) to sync your on-premise Active Directory with Azure AD (i.e. for Office 365), then there may be times when you need to manually ‘force a replication’ because by default it’s going to take 30 minutes between each normal ‘delta replication’ Solution If you are directly on the server that’s running Azure AD connect, then use the...

Read More