IT Knowledge Base

Technical Repository

HowTo: Powershell – Clear All Windows Event Logs

wevtutil clear-log Application wevtutil clear-log Security wevtutil clear-log Setup wevtutil clear-log System or wevtutil el | foreach { wevtutil cl $_ }

Read More


HowTo: CentOS – Minimal. Configure Network Adapter

Check IP address ip addr Note: ifconfig has been depreciated in Linux versions. Most systems will be using the IP command from now on. ip http://srobb.net/ip.html Additional Commands can be found here. nano /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static ONBOOT=yes PEERDNS=yes IPADDR=15.15.15.15 NETMASK=255.255.255.0 GATEWAY=15.15.15.1 nano /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 Restart the networking service for configurations to take […]

Read More


HowTo: CentOS 7 Minimal – Install Development Tools

Unlike Ubuntu where you can use apt-get install build-essentials, on CentOS you will need to run the following command to install those packages. yum install gcc gcc-c++ kernel-devel

Read More


HowTo: Powershell – Using the Get-Child Cmdlet

Here’s a quick tip on working with Windows PowerShell. These are published every week for as long as we can come up with new tips. If you have a tip you’d like us to share or a question about how to do something, let us know. Fun Things You Can Do With the Get-ChildItem Cmdlet […]

Read More


HowTo: Exchange 2010/2013 – Give user full access to all mailboxes

Give access to all mailboxes Get-Mailbox | Add-MailboxPermission -User gmatteson -AccessRight FullAccess -InheritanceType All -Automapping $false Remove access to all mailboxes Get-Mailbox | Remove-MailboxPermission -User gmatteson -AccessRights FullAccess This cmdLet can be used to give a user full access permissions to all mailboxes in Exchange and to all future mailboxes that will be created. Get-MailboxDatabase […]

Read More


HowTo: Powershell – Restart All Lync 2013 Services

If you need to restart all of the Lync services on a Lync Server, you can use powershell to start and stop them all rather than using the Services.msc to do this one by one. Stop all Lync Services: Stop-CsWindowsService Start all Lync Services: Start-CsWindowsService

Read More


HowTo: SQL Server 2008/2012 – Determining how long a database will be in RECOVERY

If you SQL Server crashed in the middle of a transaction, you can use the following queries to get a rough idea as to how much time is left in the RECOVERY stage before the database is consistent again. DECLARE @DBName VARCHAR(64) = ‘databasename’ DECLARE @ErrorLog AS TABLE([LogDate] CHAR(24), [ProcessInfo] VARCHAR(64), [TEXT] VARCHAR(MAX)) INSERT INTO […]

Read More


HowTo: HP Proliant DL Series servers. Set the RBSU (Rom Based Setup Utility) to Auto to get back to the GUI settings

HowTo: HP Proliant DL Series servers. Set the RBSU (Rom Based Setup Utility) to Auto to get back to the GUI settings

Enable Auto Mode SET CONFIG BIOS INTERFACE MODE 1 Enable Command-Line Mode SET CONFIG BIOS INTERFACE MODE 1

Read More


Fix: VMware vSphere ESXi Slow Startup

ESXi may suffer from a slow start-up due to USB Arbitrator service which manages USB pass-through. This service does not support simultaneous USB connections both from USB devices and from USB service console. One of the options to solve this issue is by waiting the host to boot up and disabling USB arbitrator service auto-start […]

Read More