fascinating rhythm
Сообщения: 6626 Благодарности: 1528
Профиль | Отправить PM | Цитировать
if ($dnsname -notmatch "^([A-Za-z0-9-]+\.){2}[A-Za-z0-9-]+$" -or $dnsname -match "--|\.-|-\.|^[\.-]|[\.-]$") { write-host -fore red "error!" }
------- Powershell 7.x | Powershell 5.1 | ffmpeg (docs)
Отправлено: 08:53, 29-11-2019 | #5