0
所以我最近一直在玩Powershell,尝试一些基本命令net user $username
。作为一个例子net user administrator
produces an output that you can see at the bottom of this page.如何从powershell命令输出特定信息?
我的问题是:如何输出此特定元素?
我知道管道,一直在尝试使用它们,但我想我错过了一些东西,因为它从来没有出现过。比方说,我只想user name
,full name
,password expires
和last logon
作为输出显示。我在管道后使用了什么命令来获得这个命令?
非常感谢!