<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>System Administration on Andrew Walsh</title><link>https://www.awalsh128.com/tags/system-administration/</link><description>Recent content in System Administration on Andrew Walsh</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Andrew Walsh</copyright><lastBuildDate>Wed, 04 Nov 2026 00:00:00 -0700</lastBuildDate><atom:link href="https://www.awalsh128.com/tags/system-administration/feed.xml" rel="self" type="application/rss+xml"/><item><title>A Safer curl | bash</title><link>https://www.awalsh128.com/safer-curl-bash/</link><pubDate>Wed, 04 Nov 2026 00:00:00 -0800</pubDate><guid>https://www.awalsh128.com/safer-curl-bash/</guid><description>Download a script, check its SHA-256, and only then run it, using tools you already have.</description></item><item><title>Get Windows Service name from executable in PowerShell.</title><link>https://www.awalsh128.com/get-windows-service-name-from/</link><pubDate>Mon, 20 Apr 2015 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/get-windows-service-name-from/</guid><description>&lt;p&gt;I was recently putting some PowerShell scripts together for deployment and maintenance of software to our&#10;machine instances. One of the requirements was to be able to discover the service name from a Windows Service&#10;executable that uses&#10;&lt;a href="https://msdn.microsoft.com/en-us/library/system.serviceprocess.serviceinstaller%28v=vs.110%29.aspx" target="_blank" rel="noreferrer"&gt;ServiceInstaller&lt;/a&gt;.&#10;I needed to be able to extract this value in a generic way in order to query the service and stop it if&#10;running. Here is what I was able to put together.&lt;/p&gt;</description></item><item><title>Automate IIS enable on Windows 7.</title><link>https://www.awalsh128.com/automate-iis-enable-on-windows-7/</link><pubDate>Mon, 30 Jul 2012 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/automate-iis-enable-on-windows-7/</guid><description>&lt;h3 class="relative group"&gt;Background&#10; &lt;div id="background" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#background" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;There are plenty of sites that will tell you how to enable IIS through the Control Panel. Although, if you are&#10;tasked with enabling IIS automatically (eg. for an installer), it can be a nightmare. This is only really&#10;needed though in special cases where the installer has more control over the hardware specifications.&#10;Determining an upgrade or uninstall scenario with IIS can be very tough since you are not installing your own&#10;software but rather enabling a feature of Windows. With that in mind, we can propose a solution for automated&#10;enabling of IIS.&lt;/p&gt;</description></item><item><title>Delete long file path names.</title><link>https://www.awalsh128.com/delete-long-file-path-names/</link><pubDate>Tue, 19 Jul 2011 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/delete-long-file-path-names/</guid><description>&lt;p&gt;I made the stupid mistake of importing an Eclipse project into my workspace when&#10;the &lt;a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=279781" target="_blank" rel="noreferrer"&gt;import location was from the workspace itself&lt;/a&gt;. I&#10;went to delete the recursive folder when I encountered an error that the file path name was too long to&#10;delete.&lt;br&gt;&#10;&lt;br&gt;&#10;The &lt;a href="http://stackoverflow.com/questions/236533/how-do-you-automate-copying-file-with-path-too-deep-issues-in-windows" target="_blank" rel="noreferrer"&gt;best manual solution&lt;/a&gt;&#10;that I found was to go as deep as possible in the recursive folder and then map it to a virtual drive.&lt;br&gt;&#10;[&lt;br&gt;&#10;]{.Apple-style-span style=&amp;ldquo;font-family: &amp;lsquo;Courier New&amp;rsquo;, Courier, monospace;&amp;rdquo;}&lt;br&gt;&#10;[subst x: c:\recursiveFolder\]{.Apple-style-span style=&amp;ldquo;font-family: &amp;lsquo;Courier New&amp;rsquo;, Courier,&#10;monospace;&amp;rdquo;}[recursiveFolder\]{.Apple-style-span style=&amp;ldquo;font-family: &amp;lsquo;Courier New&amp;rsquo;, Courier,&#10;monospace;&amp;rdquo;}[recursiveFolder\...]{.Apple-style-span style=&amp;ldquo;font-family: &amp;lsquo;Courier New&amp;rsquo;, Courier,&#10;monospace;&amp;rdquo;}&lt;br&gt;&#10;[&lt;br&gt;&#10;]{.Apple-style-span style=&amp;ldquo;font-family: inherit;&amp;rdquo;}&lt;br&gt;&#10;[This can be quite an arduous process; I found myself creating up to 9 virtual drives. It eventually worked&#10;though and I was able to delete the recursive folder.]{.Apple-style-span style=&amp;ldquo;font-family: inherit;&amp;rdquo;}&lt;br&gt;&#10;[&lt;br&gt;&#10;]{.Apple-style-span style=&amp;ldquo;font-family: inherit;&amp;rdquo;}&lt;br&gt;&#10;[I also&#10;&lt;a href="http://processors.wiki.ti.com/index.php/Recursive_Directory_Bug_in_Eclipse_Project_Import" target="_blank" rel="noreferrer"&gt;found a site&lt;/a&gt; with&#10;a Perl script that deletes long file paths but haven't tested it myself.]{.Apple-style-span&#10;style=&amp;ldquo;font-family: inherit;&amp;rdquo;}&lt;/p&gt;</description></item><item><title>Using Ubuntu 10.04 with SVN+HTTP.</title><link>https://www.awalsh128.com/using-ubuntu-1004-with-svnhttp/</link><pubDate>Wed, 13 Jul 2011 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/using-ubuntu-1004-with-svnhttp/</guid><description>&lt;p&gt;I setup a server recently using Ubuntu 10.04. LAMP was easy to configure, as was Subversion. Although making&#10;Subversion and Apache2 play nice together with DAV SVN was a nightmare. I followed the&#10;&lt;a href="https://help.ubuntu.com/10.04/serverguide/C/subversion.html" target="_blank" rel="noreferrer"&gt;guide provided&lt;/a&gt; but the website location just&#10;kept reprompting for my login.&lt;br&gt;&#10;&lt;br&gt;&#10;After hours of running in circles, I was able to find the solution. The &lt;em&gt;Require valid-user&lt;/em&gt; directive in&#10;/etc/apache2/mods-available/dav_svn.conf &lt;a href="http://www.linuxquestions.org/questions/showthread.php?p=4413943#post4413943" target="_blank" rel="noreferrer"&gt;required the Limit directive&lt;/a&gt;&#10;to be around it.&lt;br&gt;&#10;\&lt;/p&gt;</description></item></channel></rss>