Which Version Does Import-Module Import? Sept. 27, 2021, 12:20 p.m.

When you use Import-Module, run a command that triggers module auto-loading (PowerShell 3.0+), or run a script or module with a #Requires -Module directive, Windows PowerShell does not import the newest version of the module. Instead, it imports the newest version of the module that it finds in the first directory in which it finds the module. The order in which it looks for the module is determined by the value of the PSModulePath environment variable ($env:PSModulePath).

powershell

Managing Access Control with Desired State Configuration Sept. 15, 2021, 11:13 a.m.

Over the summer, the PowerShell Access Control module got some DSC resources to help manage security descriptors for for some of the supported object types. The module includes three resources: cAccessControlEntry, cSecurityDescriptorSddl, and cSecurityDescriptor.

windows powershell security dsc

Athena Basics: Running Queries | The Athena Guide May 28, 2021, 2:42 p.m.

Athena is not an isolated service, and running a query involves at least three AWS services: Athena, Glue Data Catalog, and S3.

aws athena

restic April 22, 2021, 8:01 a.m.

Restic is a modern backup program that can back up your files from Linux, BSD, Mac and Windows to many different storage types, including self-hosted and online services, only transferring the parts that actually changed in the files you back up.

tools backup free

How To Use Rsync to Sync Local and Remote Directories Feb. 11, 2021, 10:26 p.m.

Rsync, which stands for “remote sync”, is a remote and local file synchronization tool. It uses an algorithm that minimizes the amount of data copied by only moving the portions of files that have changed.

linux tutorial rsync

Windows Installer reconfigured all applications - Avoid querying Win32_product Jan. 12, 2021, 9:50 a.m.

Win32_product class is not query optimized. Queries such as select * from Win32_Product where (name like 'Sniffer%') require WMI to use the MSI provider to enumerate all of the installed products and then parse the full list sequentially to handle the where clause. This process also initiates a consistency check of packages installed, verifying and repairing the install. With an account with only user privileges, as the user account may not have access to quite a few locations, may cause delay in application launch and an event 11708 stating an installation failure.

Win32reg_AddRemovePrograms is a much lighter and effective way to do this, which avoids the calls to do a resiliency check, especially in a locked down environment. So when using Win32reg_AddRemovePrograms we won't be calling on msiprov.dll and won't be initiating a resiliency check.

windows

Reserved Words in DynamoDB Dec. 10, 2020, 9:14 a.m.

The following keywords are reserved for use by DynamoDB. Do not use any of these words as attribute names in expressions. This list is not case-sensitive.

aws dynamodb

Domain Controller Selection Nov. 27, 2020, 3:49 p.m.

The process of a Windows client selecting an Active Directory domain controller isn't too complex but is often not fully understood.  Let's look at the way a member server chooses a DC and how this affects applications.

active directory

Deploying a Ubiquiti UniFi Home Network including Multiple WiFi Access Points July 30, 2020, 11:36 p.m.

Your network design is the greatest factor for poor wireless roaming. To get the best results, you will need to tune your wireless home network. This includes accounting for neighboring networks, interference, the density of your APs, the number of your wireless clients and their idiosyncrasies in terms of wireless standards support. Don’t expect to deploy a multi-AP network in your home, leave everything at the default settings, and have it work flawlessly. The location, power settings, and additional configuration parameters of your AP’s are critical.

wifi networking UniFi

Free Typing Speed Test July 20, 2020, 7:58 a.m.

Free WPM typing test.

free

Getting Started with macOS Programming in Swift June 23, 2020, 1:57 p.m.

In this post we are going to see the basics of a macOS app through the creation of a simple, but at the same time useful for many developers app: A font viewer that will let us choose font families and it will be displaying the PostScript names of the available fonts.

programming tutorial mac swift

ZSH Aliases June 23, 2020, 1:55 p.m.

Hacker News thread with handy shell aliases & tips.

tips shell

GTD Gmail: Inbox Zero and Optimized Email Workflow June 23, 2020, 1:52 p.m.

We are going to use a productivity hack called Touch-It-Once. This means that once you open a conversation you decide right away what to do with it. Don’t postpone and come back to it. You touch it once and move on to the next thing.

productivity mail

How to disable the weather column to resolve instance slowness? June 23, 2020, 1:49 p.m.

When an instance grows to be very large, and its folder structure has many levels, the generation of this weather column can cost a lot of system resources slowing down other processes. If an instance is impacted by the performance of the Weather Column, a solution is to remove the folder health metrics of all existing folders. The only caveat of such a change is that the weather column will always report Folders as Healthy.

sysadmin jenkins

(A few) Ops Lessons We All Learn The Hard Way Jan. 28, 2020, 8:47 a.m.

Nope, not another Falsehoods post, but not entirely unlike one. Only here we have a few lessons in operations that we all (eventually) (have to) learn; often the hard way. Why things are the way they are, or what the lessons mean is left to the reader to interpret, agree, or disagree with. It's more fun that way. Enjoy!

funny devops it

Bash $* and $@ Jan. 13, 2020, 2:18 p.m.

In Bash, there are two closely related “special parameters” for accessing how the current script was invoked: $* and $@. For both variables, the behavior is affected by whether or not the variable is enclosed in double quotes. The following table summarizes all cases:

Form    Meaning
$*    $1 $2 $3...
$@    $1 $2 $3...
"$*"  "$1 $2 $3..."
"$@"  "$1" "$2" "$3"...
bash

Creating a Composite DSC Configuration with Parameters Jan. 6, 2020, 12:37 p.m.

When a Composite Configuration is created as an ordinary module, it seems like it behaves like an ordinary Cmdlet. This means, to pass parameters to the composite configuration I had to do:

Node localhost 
{ 
    BaseConfig Common -MyParameter "My Parameter Value" {} 
}
powershell dsc

Bash-my-AWS Jan. 3, 2020, 7:36 p.m.

Bash-my-AWS is a simple but extremely powerful set of CLI commands for managing resources on Amazon Web Services.

bash aws

Ablaut reduplication: Why 'tock tick' doesn't sound right? Dec. 28, 2019, 9:13 p.m.

As the word signifies, ‘reduplication’ in linguistics is when you repeat a word, sometimes with a modified vowel (e.g., ding dang dong) or sometimes with an altered consonant (e.g., nitty-gritty). As such, if there are two words, then the first word contains I, and the next word contains either A or O (e.g., ‘mish mash’, ‘hip hop’, ‘chit chat’ etc.).

However, if there are three words in question, then the first word contains I, the next contains A and the last word contains O (e.g., bish bash bosh). It doesn’t have anything definite about it, but it somehow just sounds right.

reading interesting

English order of Adjectives Dec. 28, 2019, 9:12 p.m.

Adjectives, writes the author, professional stickler Mark Forsyth, “absolutely have to be in this order: opinion-size-age-shape-colour-origin-material-purpose Noun. So you can have a lovely little old rectangular green French silver whittling knife. But if you mess with that order in the slightest you’ll sound like a maniac.”

reading interesting