0

代码:

$kullaniciisim = Get-ADUser -Filter {EmployeeNumber -eq '23214214'} | Select-Object SamAccountName
$kullaniciisim

输入:

SamAccountName
-------------- b.ozturk

我 不想$kullaniciisim成为b.ozturkSamAccountName -------------- b.ozturk

我该怎么做?

4

1 回答 1

0

是的,做到了。这是修复:

$cc = $kullaniciisim.SamAccountName $cc

于 2022-03-01T13:29:49.590 回答