Managed WordPress Migration User

Author's posts

List All DNS Records with Powershell

UPDATED 6/16/2016 Thanks for the comments! Here’s a nice quick script to list all DNS records in each zone on the DNS server(includes sub-zones): From the DNS Server $Zones = @(Get-DnsServerZone) ForEach ($Zone in $Zones) { Write-Host “`n$($Zone.ZoneName)” -ForegroundColor “Green” $Zone | Get-DnsServerResourceRecord } From a Remote DNS Server $DNSServer = “servernameOrIp” $Zones = @(Get-DnsServerZone …

Continue reading

vi Cheatsheet

OVERVIEW Almost every Linux distribution includes the vi text editor, and it’s usually the only text editor included in minimal installations.  If you’ve never used vi, it can seem really confusing at first and can even be frustrating since you’ll need to use it to configure network settings prior to downloading another text editor such as …

Continue reading

How to Configure Network Settings in CentOS 7

1 – FIND YOUR NETWORK ADAPTER Once logged in, you’ll want to enable and configure your network adapter.  First, you’ll need to get the name of your network adapter(s) by running the following command: nmcli d Below you’ll see my results of running this command.  My results show I have an Ethernet adaptor called ens160 and …

Continue reading

How to Install CentOS 7 Minimal

1 – INSTALL OPERATING SYSTEM Select Install CentOS 7 and press Enter Press Enter to begin the installation Select your Language and click Continue Complete any items marked with the Exclamation icon.  Only the Installation Destination should be marked and will be automatic partitioning by default.  Click Installation Destination By default automatic partitioning is selected.  Review the automatic …

Continue reading

Search for Emails in a 365 User’s Mailbox

EDIT: Search-Mailbox has been deprecated as of April 2020 in 365.  Please see my updated post that about using Compliance Search instead! Overview Often times, my posts are influenced by the questions of others in IT forums.  The other day, an IT pro asked “How can I retrieve emails a 365 user sent to a certain …

Continue reading

Determine If A Date Is Between Two Dates

If you need to know if a date is between two dates, you can easily figure this out by treating the date as a number and doing comparisons.  This can be useful for instances where you need a script to do a different task on different months, days, years, etc.  Let’s start with our first …

Continue reading

Mail Merge with Attachment

There is not native way to add an attachment when doing an mail merge in Microsoft Office (Outlook/Word/Excel).  However, there are 3rd party apps that allow you to add attachments when doing a mail merge, but these programs usually cost $.  If you’re like me and don’t want to spend money on an application you’ll …

Continue reading

Removing Trend Micro Client/Server Security Agent from Dell Laptops

Trend Micro Client/Server Security Agent 3.5.1163

Trend Micro Client/Server Security Agent 3.5.1163 Removal from Dell Laptops OVERVIEW Some Dell laptops came bundled with “Trend Micro Client/Server Security Agent” which most people will want to uninstall.  I recently had to restore a Dell Latitude E6430 to the Factory Defaults.  When removing the bundled bloatware, uninstalling “Trend Micro Client/Server Security Agent” froze up and I had …

Continue reading

Windows Update Fail

Windows Update Fail

Windows Update “Installing update 22 of 5″… Way to go Windows 8.1!

Restart Computers by OU

#RestartComputersbyOU.ps1 Import-Module ActiveDirectory $ou = “CN=Computers,DC=domain,DC=local” $computers = Get-ADComputer -Filter * -SearchBase $ou ForEach ( $c in $computers ) { Restart-Computer -ComputerName $c.name -Force }