Outils pour utilisateurs

Outils du site


powershell

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
powershell [2020/04/08 11:01] gbdpowershell [2020/10/28 10:11] (Version actuelle) gbd
Ligne 1: Ligne 1:
 ====== Powershell ====== ====== Powershell ======
  
-===== Obtenir plus d'information d'une commande =====+  * [[ActiveDirectory|Active Directory]]
  
-On peut test d'ajouter un format-list à la commande exemple avec cette commande+  * [[AzurActiveDirectory|Azur Active Directory]]
  
-<code> +  * [[Exchange|Exchange]]
-[PSC:\Users\Admin\Desktop>Get-ReceiveConnector "Outbound Proxy Frontend SRV-EXCH-MAIL - Port 717"+
  
-Identity                                                    Bindings                                                    Enabled +  * [[PSHWindows|Commandes Windows]]
---------                                                    --------                                                    ------- +
-SRV-EXCH-MAIL\Outbound Proxy Frontend SRV-EXCH-MAIL - Po... {[::]:717, 0.0.0.0:717}                                     True +
-</code>+
  
-Qui va maintenant retourner ceci+  * [[Aidememoire|Aide Mémoire]]
  
-<code> 
-[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 
- 
-                                         ---- BLA BLA BLA---- 
- 
-Id                                      : SRV-EXCH-MAIL\Outbound Proxy Frontend SRV-EXCH-MAIL - Port 717 
-OriginatingServer                       : SRV-AD.domaine.local 
-IsValid                                 : True 
-ObjectState                             : Unchanged 
-</code> 
- 
-On peut utiliser l'abréviation fl pour aller plus vite 
- 
-<code> 
-Get-ReceiveConnector "Outbound Proxy Frontend VSR-EXCH-MBOX - Port 717" | fl 
-</code> 
- 
-===== Resultat tronqué ===== 
- 
-Dans le cas de resultat tronqué on peut ajouter le paramètre Format-Table -AutoSize 
- 
-<code> 
-Trouver un exemple 
-</code> 
powershell.1586343708.txt.gz · Dernière modification : 2020/04/08 11:01 de gbd