Outils pour utilisateurs

Outils du site


powershell

Ceci est une ancienne révision du document !


Powershell

Obtenir plus d'information d'une commande

On peut test d'ajouter un format-list à la commande exemple avec cette commande

[PS] C:\Users\Admin\Desktop>Get-ReceiveConnector "Outbound Proxy Frontend SRV-EXCH-MAIL - Port 717"

Identity                                                    Bindings                                                    Enabled
--------                                                    --------                                                    -------
SRV-EXCH-MAIL\Outbound Proxy Frontend SRV-EXCH-MAIL - Po... {[::]:717, 0.0.0.0:717}                                     True

Qui va maintenant retourner ceci

[PS] C:\Users\Admin\Desktop>Get-ReceiveConnector "Outbound Proxy Frontend SRV-EXCH-MAIL - Port 717" | format-list


RunspaceId                              : 34877a48-7c73-497b-806e-c36f3a5ae500
AuthMechanism                           : Tls, Integrated, BasicAuth, BasicAuthRequireTLS, ExchangeServer
Banner                                  :
BinaryMimeEnabled                       : True
Bindings                                : {[::]:717, 0.0.0.0:717}
ChunkingEnabled                         : True
DefaultDomain                           :
DeliveryStatusNotificationEnabled       : True
EightBitMimeEnabled                     : True
SmtpUtf8Enabled                         : False
BareLinefeedRejectionEnabled            : False
DomainSecureEnabled                     : True
EnhancedStatusCodesEnabled              : True
LongAddressesEnabled                    : False
OrarEnabled                             : False
SuppressXAnonymousTls                   : False
ProxyEnabled                            : False
AdvertiseClientSettings                 : False
Fqdn                                    : SRV-EXCH-MAIL.domaine.local
ServiceDiscoveryFqdn                    :
TlsCertificateName                      :
Comment                                 :
Enabled                                 : True
ConnectionTimeout                       : 00:10:00
ConnectionInactivityTimeout             : 00:05:00
MessageRateLimit                        : Unlimited
MessageRateSource                       : IPAddress
MaxInboundConnection                    : 5000
MaxInboundConnectionPerSource           : 20
MaxInboundConnectionPercentagePerSource : 2
MaxHeaderSize                           : 128 KB (131,072 bytes)
MaxHopCount                             : 60
MaxLocalHopCount                        : 5
MaxLogonFailures                        : 3
MaxMessageSize                          : 36 MB (37,748,736 bytes)
MaxProtocolErrors                       : 5
MaxRecipientsPerMessage                 : 200
PermissionGroups                        : ExchangeServers
PipeliningEnabled                       : True
ProtocolLoggingLevel                    : Verbose
RemoteIPRanges                          : {::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff, 0.0.0.0-255.255.255.255}
RequireEHLODomain                       : False
RequireTLS                              : False
EnableAuthGSSAPI                        : False
ExtendedProtectionPolicy                : None
LiveCredentialEnabled                   : False
TlsDomainCapabilities                   : {}
Server                                  : SRV-EXCH-MAIL
TransportRole                           : FrontendTransport
SizeEnabled                             : Enabled
TarpitInterval                          : 00:00:05
MaxAcknowledgementDelay                 : 00:00:30
AdminDisplayName                        :
ExchangeVersion                         : 0.1 (8.0.535.0)
Name                                    : Outbound Proxy Frontend SRV-EXCH-MAIL - Port 717
DistinguishedName                       : CN=Outbound Proxy Frontend SRV-EXCH-MAIL - Port 717,CN=SMTP Receive Connectors,CN=Protocols,CN=SRV-EXCH-MAIL,CN=Servers,CN=Exchange
                                          Administrative Group,CN=Administrative Groups,CN=DOMAINE,CN=Microsoft
                                          Exchange,CN=Services,CN=Configuration,DC=DOMAINE,DC=intranet
Identity                                : SRV-EXCH-MAIL\Outbound Proxy Frontend SRV-EXCH-MAIL - Port 717
Guid                                    : 0f679cb4-2f2f-40a2-a9c0-0dddae825c99
ObjectCategory                          : domaine.local/Configuration/Schema/ms-Exch-Smtp-Receive-Connector
ObjectClass                             : {top, msExchSmtpReceiveConnector}
WhenChanged                             : 04/04/2020 13:01:54
WhenCreated                             : 16/02/2017 15:45:54
WhenChangedUTC                          : 04/04/2020 11:01:54
WhenCreatedUTC                          : 16/02/2017 14:45:54
OrganizationId                          :
Id                                      : SRV-EXCH-MAIL\Outbound Proxy Frontend SRV-EXCH-MAIL - Port 717
OriginatingServer                       : SRV-AD.domaine.local
IsValid                                 : True
ObjectState                             : Unchanged

On peut utiliser l'abréviation fl pour aller plus vite

Get-ReceiveConnector "Outbound Proxy Frontend VSR-EXCH-MBOX - Port 717" | fl
powershell.1586343379.txt.gz · Dernière modification : 2020/04/08 10:56 de gbd