How to convert hexadecimal encoded string to hexadecimal integer
<p>So basically what I'm trying to achieve is to get a MAC address from a text file and increment the value by one.</p>

<p>Been bashing my head against the Google/StackOverflow wall for a couple of hours, think there's a concept I'm just not getting.</p>

<p>PowerShell:</p>

<pre><code>$Last_MAC_Address = (Get-Content -LiteralPath "\\UNC\Path\Last MAC Address.txt")

Write-Host ($Last_MAC_Address)
# Output: 00155DE10B73

$Next_MAC_Address = (($Last_MAC_Address | Format-Hex) + 1)
</code></pre>