<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://minibytes.com.au/feed.xml" rel="self" type="application/atom+xml" /><link href="https://minibytes.com.au/" rel="alternate" type="text/html" /><updated>2026-08-26T00:04:40+00:00</updated><id>https://minibytes.com.au/feed.xml</id><title type="html">minibytes</title><subtitle>Practical sysadmin reference notes: hardware configs, Windows/Linux commands, and the occasional detour into kitesurfing.</subtitle><entry><title type="html">AnyDesk</title><link href="https://minibytes.com.au/2021/10/anydesk/" rel="alternate" type="text/html" title="AnyDesk" /><published>2021-10-19T00:00:00+00:00</published><updated>2021-10-19T00:00:00+00:00</updated><id>https://minibytes.com.au/2021/10/anydesk</id><content type="html" xml:base="https://minibytes.com.au/2021/10/anydesk/"><![CDATA[<p>Silent install, suitable for pushing out via PsExec.</p>

<p><strong>Install</strong></p>

<div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">AnyDesk.exe</span><span class="w"> </span><span class="nt">--install</span><span class="w"> </span><span class="s2">"%programfiles%\AnyDesk"</span><span class="w"> </span><span class="nt">--start-with-win</span><span class="w"> </span><span class="nt">--silent</span><span class="w"> </span><span class="nt">--create-shortcuts</span><span class="w">
</span></code></pre></div></div>

<p><strong>Get the AnyDesk ID after install</strong></p>

<div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="s2">"%programfiles%\AnyDesk\AnyDesk.exe"</span><span class="w"> </span><span class="nt">--get-id</span><span class="w">
</span></code></pre></div></div>

<p>See also: <a href="/2021/10/domain-management-websites/">Domain Management Websites</a>, <a href="/2021/10/random-commands/">Random Commands</a></p>]]></content><author><name></name></author><category term="Other" /><summary type="html"><![CDATA[Silent install, suitable for pushing out via PsExec.]]></summary></entry><entry><title type="html">Automate Windows Update</title><link href="https://minibytes.com.au/2021/10/automate-windows-update/" rel="alternate" type="text/html" title="Automate Windows Update" /><published>2021-10-19T00:00:00+00:00</published><updated>2021-10-19T00:00:00+00:00</updated><id>https://minibytes.com.au/2021/10/automate-windows-update</id><content type="html" xml:base="https://minibytes.com.au/2021/10/automate-windows-update/"><![CDATA[<p>Run from an elevated PowerShell session.</p>

<div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">Set-ExecutionPolicy</span><span class="w"> </span><span class="nx">RemoteSigned</span><span class="w">
</span><span class="n">Install-Module</span><span class="w"> </span><span class="nt">-Name</span><span class="w"> </span><span class="nx">PSWindowsUpdate</span><span class="w">
</span><span class="n">Add-WUServiceManager</span><span class="w"> </span><span class="nt">-MicrosoftUpdate</span><span class="w">
</span><span class="n">Install-WindowsUpdate</span><span class="w"> </span><span class="nt">-MicrosoftUpdate</span><span class="w"> </span><span class="nt">-AcceptAll</span><span class="w">
</span></code></pre></div></div>

<p>Note: this will not reboot the system when it’s done — schedule a reboot separately if needed.</p>

<p>See also: <a href="/2019/10/installing-chocolatey/">Chocolatey Setup and Use</a>, <a href="/2021/10/check-if-a-windows-update-is-installed/">Check if a Windows Update is Installed</a></p>]]></content><author><name></name></author><category term="Windows" /><category term="powershell" /><summary type="html"><![CDATA[Run from an elevated PowerShell session.]]></summary></entry><entry><title type="html">Check if a Windows Update is Installed</title><link href="https://minibytes.com.au/2021/10/check-if-a-windows-update-is-installed/" rel="alternate" type="text/html" title="Check if a Windows Update is Installed" /><published>2021-10-19T00:00:00+00:00</published><updated>2021-10-19T00:00:00+00:00</updated><id>https://minibytes.com.au/2021/10/check-if-a-windows-update-is-installed</id><content type="html" xml:base="https://minibytes.com.au/2021/10/check-if-a-windows-update-is-installed/"><![CDATA[<p>Quick PowerShell command to check if a Windows update is installed on a computer.</p>

<p><strong>List every hotfix installed</strong></p>

<div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">Get-HotFix</span><span class="w">
</span></code></pre></div></div>

<p><strong>Check for a specific KB</strong></p>

<div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">Get-HotFix</span><span class="w"> </span><span class="nt">-Id</span><span class="w"> </span><span class="nx">KBXXXXXX</span><span class="w">
</span></code></pre></div></div>

<p>Reference: <a href="https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-hotfix">Get-HotFix (PowerShell docs)</a></p>

<p>See also: <a href="/2021/10/automate-windows-update/">Automate Windows Update</a></p>]]></content><author><name></name></author><category term="Windows" /><category term="powershell" /><summary type="html"><![CDATA[Quick PowerShell command to check if a Windows update is installed on a computer.]]></summary></entry><entry><title type="html">Random Commands</title><link href="https://minibytes.com.au/2021/10/random-commands/" rel="alternate" type="text/html" title="Random Commands" /><published>2021-10-19T00:00:00+00:00</published><updated>2021-10-19T00:00:00+00:00</updated><id>https://minibytes.com.au/2021/10/random-commands</id><content type="html" xml:base="https://minibytes.com.au/2021/10/random-commands/"><![CDATA[<p>A grab-bag of one-liners that come up often enough to keep handy.</p>

<p><strong>Force an immediate reboot</strong></p>

<div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">shutdown</span><span class="w"> </span><span class="nx">/f</span><span class="w"> </span><span class="nx">/r</span><span class="w"> </span><span class="nx">/t</span><span class="w"> </span><span class="nx">0</span><span class="w">
</span></code></pre></div></div>

<p><strong>PsExec — remote command execution</strong></p>

<div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">psexec</span><span class="w"> </span><span class="nx">\\computername</span><span class="w"> </span><span class="nx">cmd</span><span class="w">
</span><span class="n">psexec</span><span class="w"> </span><span class="nx">\\computername</span><span class="w"> </span><span class="nt">-u</span><span class="w"> </span><span class="nx">domain\user</span><span class="w"> </span><span class="nt">-p</span><span class="w"> </span><span class="nx">password</span><span class="w"> </span><span class="nx">cmd</span><span class="w">
</span><span class="n">psexec</span><span class="w"> </span><span class="nx">\\computername</span><span class="w"> </span><span class="nx">powershell</span><span class="w"> </span><span class="nx">enable-psremoting</span><span class="w"> </span><span class="nt">-force</span><span class="w">
</span></code></pre></div></div>

<p>See also: <a href="/2021/10/anydesk/">AnyDesk</a> for remote access without PsExec.</p>]]></content><author><name></name></author><category term="Windows" /><summary type="html"><![CDATA[A grab-bag of one-liners that come up often enough to keep handy.]]></summary></entry><entry><title type="html">Domain Management Websites</title><link href="https://minibytes.com.au/2021/10/domain-management-websites/" rel="alternate" type="text/html" title="Domain Management Websites" /><published>2021-10-17T00:00:00+00:00</published><updated>2021-10-17T00:00:00+00:00</updated><id>https://minibytes.com.au/2021/10/domain-management-websites</id><content type="html" xml:base="https://minibytes.com.au/2021/10/domain-management-websites/"><![CDATA[<p>Useful tools for domain and DNS diagnostics.</p>

<ul>
  <li><a href="https://mxtoolbox.com/">MXToolbox</a></li>
  <li><a href="https://intodns.com/">intoDNS</a></li>
  <li><a href="https://ipinfo.io/">ipinfo</a></li>
  <li><a href="https://dnschecker.org/">DNS Checker</a></li>
  <li><a href="https://toolbox.zoho.com/">Zoho Mail Tools</a></li>
</ul>

<p><strong>Google</strong></p>

<ul>
  <li><a href="https://toolbox.googleapps.com/apps/dig/">DNS Dig</a></li>
  <li><a href="https://toolbox.googleapps.com/apps/checkmx/">Check MX</a></li>
  <li><a href="https://developers.google.com/speed/public-dns">Google Public DNS</a></li>
</ul>

<p>See also: <a href="/2019/10/screenly-ose/">Screenly OSE</a>, <a href="/2021/10/anydesk/">AnyDesk</a></p>]]></content><author><name></name></author><category term="Other" /><summary type="html"><![CDATA[Useful tools for domain and DNS diagnostics.]]></summary></entry><entry><title type="html">NSLookup Command</title><link href="https://minibytes.com.au/2021/10/nslookup-command/" rel="alternate" type="text/html" title="NSLookup Command" /><published>2021-10-17T00:00:00+00:00</published><updated>2021-10-17T00:00:00+00:00</updated><id>https://minibytes.com.au/2021/10/nslookup-command</id><content type="html" xml:base="https://minibytes.com.au/2021/10/nslookup-command/"><![CDATA[<p>Displays information you can use to diagnose Domain Name System (DNS) infrastructure.</p>

<p>Reference: <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup">nslookup syntax (Microsoft docs)</a></p>

<div class="language-powershell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">nslookup</span><span class="w"> </span><span class="nt">-type</span><span class="o">=</span><span class="n">soa</span><span class="w"> </span><span class="nx">minibytes.com.au</span><span class="w"> </span><span class="nx">9.9.9.9</span><span class="w">
</span><span class="n">nslookup</span><span class="w"> </span><span class="nt">-type</span><span class="o">=</span><span class="n">ns</span><span class="w"> </span><span class="nx">minibytes.com.au</span><span class="w"> </span><span class="nx">9.9.9.9</span><span class="w">
</span><span class="n">nslookup</span><span class="w"> </span><span class="nt">-type</span><span class="o">=</span><span class="n">mx</span><span class="w"> </span><span class="nx">minibytes.com.au</span><span class="w"> </span><span class="nx">9.9.9.9</span><span class="w">
</span><span class="n">nslookup</span><span class="w"> </span><span class="nt">-type</span><span class="o">=</span><span class="n">txt</span><span class="w"> </span><span class="nx">minibytes.com.au</span><span class="w"> </span><span class="nx">9.9.9.9</span><span class="w">
</span><span class="n">nslookup</span><span class="w"> </span><span class="nt">-type</span><span class="o">=</span><span class="n">a</span><span class="w"> </span><span class="nx">minibytes.com.au</span><span class="w"> </span><span class="nx">9.9.9.9</span><span class="w">
</span><span class="n">nslookup</span><span class="w"> </span><span class="nt">-type</span><span class="o">=</span><span class="n">any</span><span class="w"> </span><span class="nx">minibytes.com.au</span><span class="w"> </span><span class="nx">9.9.9.9</span><span class="w">
</span></code></pre></div></div>

<p>(Using Quad9’s <code class="language-plaintext highlighter-rouge">9.9.9.9</code> resolver here — swap in whichever DNS server you want to query against.)</p>]]></content><author><name></name></author><category term="Other" /><summary type="html"><![CDATA[Displays information you can use to diagnose Domain Name System (DNS) infrastructure.]]></summary></entry><entry><title type="html">Eset Antivirus</title><link href="https://minibytes.com.au/2021/10/eset-antivirus/" rel="alternate" type="text/html" title="Eset Antivirus" /><published>2021-10-16T00:00:00+00:00</published><updated>2021-10-16T00:00:00+00:00</updated><id>https://minibytes.com.au/2021/10/eset-antivirus</id><content type="html" xml:base="https://minibytes.com.au/2021/10/eset-antivirus/"><![CDATA[<ul>
  <li><a href="https://eba.eset.com/">ESET Business Account login</a></li>
  <li><a href="https://www.eset.com/us/business/download/">ESET product downloads</a></li>
  <li><a href="https://www.eset.com/au/business/download/eset-protect/#standalone">ESET PROTECT server download</a></li>
</ul>

<p>See also: <a href="/2019/10/installing-chocolatey/">Chocolatey Setup and Use</a></p>]]></content><author><name></name></author><category term="AntiMalware" /><summary type="html"><![CDATA[ESET Business Account login ESET product downloads ESET PROTECT server download]]></summary></entry><entry><title type="html">Unifi Controller Upgrade Procedure (Red Hat)</title><link href="https://minibytes.com.au/2021/10/unifi-controller-upgrade-procedure-red-hat/" rel="alternate" type="text/html" title="Unifi Controller Upgrade Procedure (Red Hat)" /><published>2021-10-16T00:00:00+00:00</published><updated>2021-10-16T00:00:00+00:00</updated><id>https://minibytes.com.au/2021/10/unifi-controller-upgrade-procedure-red-hat</id><content type="html" xml:base="https://minibytes.com.au/2021/10/unifi-controller-upgrade-procedure-red-hat/"><![CDATA[<p>Should work on any Red Hat based distro.</p>

<p><strong>1. Stop the UniFi service</strong></p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>systemctl stop unifi.service
systemctl status unifi.service
</code></pre></div></div>

<p><strong>2. Back up the current configuration</strong></p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">tar</span> <span class="nt">-zcvf</span> /root/backup.tar.gz /opt/UniFi/data/
</code></pre></div></div>

<p><strong>3. Download the new UniFi package</strong></p>

<p>Check the current version at <a href="https://www.ui.com/download/unifi/">ui.com/download/unifi</a> first.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>wget https://dl.ubnt.com/unifi/5.10.24/UniFi.unix
wget https://dl.ui.com/unifi/6.4.54/UniFi.unix.zip
</code></pre></div></div>

<p><strong>4. Unzip and fix ownership</strong></p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>unzip <span class="nt">-qo</span> /root/UniFi.unix <span class="nt">-d</span> /opt
<span class="nb">chown</span> <span class="nt">-R</span> ubnt:ubnt /opt/UniFi
</code></pre></div></div>

<p><strong>5. Restore the configuration backup</strong></p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">tar</span> <span class="nt">-xzvf</span> backup.tar.gz <span class="nt">-C</span> /
</code></pre></div></div>

<p><strong>6. Start the UniFi service</strong></p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>systemctl start unifi.service
systemctl status unifi.service
</code></pre></div></div>

<p><strong>7. Tidy up</strong></p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">mv </span>backup.tar.gz controller-backup-5-10-24.tar.gz
<span class="nb">mv </span>UniFi.unix.zip UniFi.unix-5-10-24.zip
<span class="nb">rm </span>UniFi.unix
</code></pre></div></div>]]></content><author><name></name></author><category term="Ubiquiti" /><summary type="html"><![CDATA[Should work on any Red Hat based distro.]]></summary></entry><entry><title type="html">Cockpit</title><link href="https://minibytes.com.au/2019/10/cockpit/" rel="alternate" type="text/html" title="Cockpit" /><published>2019-10-17T00:00:00+00:00</published><updated>2019-10-17T00:00:00+00:00</updated><id>https://minibytes.com.au/2019/10/cockpit</id><content type="html" xml:base="https://minibytes.com.au/2019/10/cockpit/"><![CDATA[<p>Install and configure Cockpit on CentOS 7.</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>yum <span class="nb">install </span>epel-release <span class="nt">-y</span>
yum update <span class="nt">-y</span>
yum <span class="nb">install </span>cockpit <span class="nt">-y</span>
systemctl <span class="nb">enable</span> <span class="nt">--now</span> cockpit.socket
</code></pre></div></div>

<p><strong>Open the firewall</strong></p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>firewall-cmd <span class="nt">--add-service</span><span class="o">=</span>cockpit
firewall-cmd <span class="nt">--add-service</span><span class="o">=</span>cockpit <span class="nt">--permanent</span>
</code></pre></div></div>

<p>Access at <code class="language-plaintext highlighter-rouge">http://[ip-address]:9090</code>.</p>

<p><strong>Useful optional packages</strong></p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">cockpit-docker</code> — container management</li>
  <li><code class="language-plaintext highlighter-rouge">cockpit-kubernetes</code> — cluster visualization</li>
  <li><code class="language-plaintext highlighter-rouge">cockpit-machines</code> — KVM virtual machine administration</li>
  <li><code class="language-plaintext highlighter-rouge">cockpit-sosreport</code> — diagnostic reporting</li>
  <li><code class="language-plaintext highlighter-rouge">cockpit-selinux</code> — SELinux troubleshooting</li>
  <li><code class="language-plaintext highlighter-rouge">cockpit-kdump</code> — crash dump configuration</li>
  <li><code class="language-plaintext highlighter-rouge">cockpit-subscriptions</code> — subscription management</li>
  <li><code class="language-plaintext highlighter-rouge">cockpit-machines-ovirt</code> — oVirt VM management</li>
  <li><code class="language-plaintext highlighter-rouge">cockpit-pcp</code> — performance metrics</li>
</ul>

<p>See also: <a href="/2019/10/smokeping-install/">Smokeping Install</a></p>]]></content><author><name></name></author><category term="Centos" /><summary type="html"><![CDATA[Install and configure Cockpit on CentOS 7.]]></summary></entry><entry><title type="html">Mikrotik Downloads</title><link href="https://minibytes.com.au/2019/10/mikrotik-downloads/" rel="alternate" type="text/html" title="Mikrotik Downloads" /><published>2019-10-17T00:00:00+00:00</published><updated>2019-10-17T00:00:00+00:00</updated><id>https://minibytes.com.au/2019/10/mikrotik-downloads</id><content type="html" xml:base="https://minibytes.com.au/2019/10/mikrotik-downloads/"><![CDATA[<ul>
  <li><a href="https://mikrotik.com/download">Mikrotik downloads</a></li>
</ul>

<p>See also: Backup Configuration (add your link here)</p>]]></content><author><name></name></author><category term="Mikrotik" /><summary type="html"><![CDATA[Mikrotik downloads]]></summary></entry></feed>