本文介绍了Get-MsolUser -UserPrincipalName [email protected] |选择 *的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Get-MsolUser -UserPrincipalName [email protected] |选择*
Get-MsolUser -UserPrincipalName [email protected] | Select *
这提供了很多属性,但没有提供SamAccountName.为什么?有没有办法在这里从AD复制SamAccountName?否则,我需要基于UPN在AD中进行另一个查询以提取SamAccountName.有25,000个用户需要2天 使用UPN拉samAccountName
This gives lots of attributes and properties but not SamAccountName. Why? is there a way to replicate the SamAccountName here from AD? otherwise I need to do another query in AD based on UPN to pull SamAccountName. There are 25 thousand users takes 2 days to pull samAccountName using UPN
推荐答案
TL; DR版本,您无法通过O365 PowerShell来获得此版本.
TL;DR version, you cannot get this via O365 PowerShell.
这篇关于Get-MsolUser -UserPrincipalName [email protected] |选择 *的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!