internal/functions/get-loginfromemail.ps1
function Get-LoginFromEmail([string]$Email) { return $email.Substring(0,$Email.LastIndexOf('@')).Trim(); } |
function Get-LoginFromEmail([string]$Email) { return $email.Substring(0,$Email.LastIndexOf('@')).Trim(); } |