Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

check is numeric 5 stellig

$
0
0

moin,

wie kann ich im Powershell überprüfen ob ein Wert nur 5 stellig numeric ist.

if($user.SamAccountName -match "\d{5}"){

bringt leider auch Mobile06040 ?


Chris


Viewing all articles
Browse latest Browse all 2314


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>