08-04-2019, 07:29
|
|
|
חבר מתאריך: 07.02.04
הודעות: 2,421
|
|
ראיתי ... משום מה ראיתי VisualBasic אז התעלמתי
שימי תודה
עכשיו עובד תקין
[void][Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
$title = 'חיפוש מסי טלפון'
$msg = 'הקש 4 ספרות אחרות'
$text = [Microsoft.VisualBasic.Interaction]::InputBox($msg, $title)
get-aduser -filter "IpPhone -like '*$text*'" | select SamAccountName |Out-GridView
נשאר ליטושים קטנים
|