79533848

Date: 2025-03-25 13:41:38
Score: 0.5
Natty:
Report link
$env:COMPUTERNAME -match '\d+(\D+)\d+'

will perform a regex on the hostname.

\d+(\D+)\d+

looks for non digit characters encapsulated by one or more digits.

$Matches

will give you a hashtable containing your matches

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bending Rodriguez