Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
powershell命令使用的Exchange 2007邮箱属性(属性)列表?_Powershell_Exchange Server - Fatal编程技术网

powershell命令使用的Exchange 2007邮箱属性(属性)列表?

powershell命令使用的Exchange 2007邮箱属性(属性)列表?,powershell,exchange-server,Powershell,Exchange Server,我需要列出exchange 2007邮箱属性(使用powershell),可以使用powershell命令(启用邮箱)设置这些属性。你知道我怎么做吗 我知道这里有参数列表:,这里是否有未列出的自定义参数?尝试使用: get-mailbox 评论后编辑: set-mailbox mailboxname | Get-member | ? { $_.membertype -eq "Property"} # give all properties usable with se-mailbox com

我需要列出exchange 2007邮箱属性(使用powershell),可以使用powershell命令(启用邮箱)设置这些属性。你知道我怎么做吗

我知道这里有参数列表:,这里是否有未列出的自定义参数?

尝试使用:

get-mailbox

评论后编辑:

set-mailbox mailboxname | Get-member | ? { $_.membertype -eq "Property"} # give all properties usable with se-mailbox commandlet


Get-Mailbox | Get-member | ? { $_.membertype -eq "Property"} #This give a list of all properties available from the Get-mailbox cmdlet 

尝试如果我没有在此命令中指定标识,它将返回所有邮箱的列表(这是大量信息)。指定身份对我来说是不可接受的。我只需要对一个mailboxGet邮箱| get member |使用此命令时获得的属性名?{$\.membertype-eq“Property”}#这提供了Get-mailbox cmdlet中可用的属性列表非常感谢,这正是我需要的