ITomation

DCPromo using Install From Media (IFM)

2019-02-07
Posted by ITomation

Initial replication can take a while when promoting a domain controller to an existing domain. This is especially true for domains containing a large number of Active Directory objects. In large-size enterprises we have seen the DCPromo process take upwards of two hours to complete even on fast network links. Not to mention remote/satellite/field sites […]

Ubuntu Certbot Update

2019-01-31
Posted by ITomation

With the upcoming deprecation of TLS-SNI-01, Let’s Encrypt certificate renewals may start breaking for some clients. For more information regarding the TLS-SNI-01 ACME protocol deprecation see Bulletproof TLS Newsletter #37.   As per Let’s Encrypt’s recent notification, “It will stop working temporarily on February 13th, 2019, and permanently on March 13th, 2019”. TLS-SNI-01 validation is […]

Disable IPv6 in Ubuntu

2018-10-04
Posted by ITomation

IPv6 may not always be required and some administrators may elect to disable it on their servers. Here is how to disable IPv6 in Ubuntu Linux. To learn more about IPv6 please visit Wikipedia.   1. Open the “/etc/sysctl.conf” file for editing. To open the file for editing using nano type the following:   sudo nano /etc/sysctl.conf […]

Get-QADUser | Reference

2018-09-27
Posted by ITomation

Get-QADUser   Retrieve all users in a domain or container that match the specified conditions.   Syntax Examples Description Parameters   SYNTAX Get-QADUser [[-Identity] <IdentityParameter>] [-AccountExpiresAfter <DateTime>] [-AccountExpiresBefore <DateTime>][-AccountNeverExpires] [-Activity <string>][-Anr <string>][-AttributeScopeQuery <string>] [-City <string[]>][-Company <string[]>] [-Connection <ArsConnection>] [-ConnectionAccount <string>][-ConnectionPassword <SecureString>] [-Control <hashtable>][-CreatedAfter <DateTime>][-CreatedBefore <DateTime>] [-CreatedOn <DateTime>][-Credential<PSCredential>][-Department <string[]>] [-Description <string[]>][-Disabled] [-DisplayName <string[]>] [-DontConvertValuesToFriendlyRepresentation][-DontUseDefaultIncludedProperties] [-Email <string[]>] […]

Store Credentials in PowerShell

2018-09-27
Posted by ITomation

Store Credentials in PowerShell   From time to time, we have to perform actions in a PowerShell script for which the user account executing the script does not have sufficient privileges. We usually get around this by performing those specific actions using a different user’s credentials in our script. For example, we have an on-premises […]

Easily Change GRUB Boot Order in Kali Linux

2017-09-01
Posted by ITomation

When Windows is installed on top of Kali Linux, the Linux GRUB has Kali configured as the default boot operating system. This can get quite bothersome for those of us who boot into Windows more than 50% of the time and consider Windows their “main” operating system in a dual boot configuration. After all, no one […]

Issue Subordinate CA Certificate from Offline Root CA

2017-06-19
Posted by ITomation

The other day, a client was deploying a new solution and needed a subordinate (SubCA) certificate for their networking device. The device basically needed to issue its own trusted certificates to clients within the internal network. They already had an internal 2-tier Microsoft CA infrastructure in place. One offline root CA and 2 enterprise subordinate […]

Call PowerShell Scripts from VBScript

2017-06-03
Posted by ITomation

In another post, we demonstrated how to call PowerShell commands from VBScript. That method makes sense for simple one-line PowerShell commands. But what if we want to call long blocks of PowerShell code from within VBScript? Like an entire PowerShell script. Worry not…it’s just as simple, if not simpler!   Instead of calling the PowerShell code […]

Transfer FSMO Roles

2017-03-09
Posted by ITomation

In this post, we describe how we easily transfer FSMO roles using the graphical user interface. All 5 Active Directory FSMO roles are covered. For more information on FSMO roles see https://support.microsoft.com/en-ca/help/197132/active-directory-fsmo-roles-in-windows.

Get My Public IP Address Using PowerShell

Getting your public IP address programmatically can be very useful. Especially if you need to know when your internet service provider (ISP) has changed your dynamic IP address. Here is how to get your public IP address using PowerShell: (Invoke-WebRequest https://itomation.ca/mypublicip).content. Read on for more background and details…  

Previous Posts