Author: jbmurphy
-
Azure: Failed to save configuration changes to local network gateway
Seems you can’t remove a subnet from a local network with the Azure portal. Error: “Failed to save configuration changes to local network gateway” To get around this, I had to delete and recreate the local network via PowerShell. Obviously leave out the subnet you don’t want!
-
PowerShell to download and install most recent Azure PowerShell cmdlets
This script will pull down the most recent Azure PowerShell cmdlets from github. This script assumes that Microsoft has not renamed the installer file, and the most recent is at the top. hope that helps someone.
-
Grep to Remove Spaces and Comments (#)
Sometimes I just want to look at the content of a config file and not all the descriptions.
-
PowerShell script to recreate Azure Network Security Groups (NSGs)
I developed a habit when I was working with ACLs on a Cisco ASA firewall. I would keep a master list for each ACL, and when I needed to make a change, I would remove the entire ACL from the device and then recreate it each time I made a modification. For example I would run the following, and…
-
Enabling Wire Shark for non root users on Raspbian Jessie
no need to create groups just:
-
Raspberry Pi, Raspbian Jessie (based on Debian Jessie) disable AutoLogin GUI & Console
I did NOT want my Raspbian Jessie install to automatically boot into the GUI, and I did Not want it to autologin. I know I can run raspi-config to change it, but I like to script things! I finally tracked down the code for the new raspi-config that supports systemd. It can be found here . Here are…
-
Thawte: The state name can not be abbreviated. Gets me every time.
Note to self: When generating a CSR for Thawte: The State Name in the CSR cannot be abbreviated Gets me every time.
-
BASH script to change the Security Keys and SALTs in a wp-config.php file
I wanted to automatically change the Security Keys/SALTS when provisioning a new WordPress site. WordPress.com has a service that spits back random values. (https://api.wordpress.org/secret-key/1.1/salt/). The script below CURLs the values and then modifies a wp-config.php file with the new random values. Don’t remember where I got the pieces of this, but here it is, I…
-
Windows 10 PinToTaskbar does not work
More Windows 10 fun. Trying to get a nice customized image for deployment. In the past I have used the verb “taskbarpin” and a RunOnce script to put icons on the users Task Bar. For example: Well, with the current build/set of patches, it no longer works. That was a waste of a day! Here…
-
Windows 10 ignores Internet Explorer when using Import-Startlayout
More Windows 10 inconsistencies. Clearly, I have Internet Explorer in my start screen layout xml (Line 10): And when I log in for the first time, I.E. isn’t in the start menu. Others are having this issue too!
