miroir de
https://github.com/PAPAMICA/Wiki-Tech.io.git
synchronisé 2025-03-06 12:30:58 +01:00
docs: update Scripting/Powershell
Cette révision appartient à :
Parent
aa8bf7086d
révision
df896b6d02
1 fichiers modifiés avec 3 ajouts et 2 suppressions
|
@ -2,7 +2,7 @@
|
|||
title: Powershell
|
||||
description:
|
||||
published: true
|
||||
date: 2021-05-09T10:42:49.936Z
|
||||
date: 2021-05-09T10:47:09.199Z
|
||||
tags:
|
||||
editor: ckeditor
|
||||
dateCreated: 2021-05-08T14:42:07.092Z
|
||||
|
@ -24,10 +24,11 @@ dateCreated: 2021-05-08T14:42:07.092Z
|
|||
<pre><code class="language-plaintext">$variable = une valeur</code></pre>
|
||||
<p> </p>
|
||||
<h2>le pipeline</h2>
|
||||
<p>Le pipeline, symbolisée par le caractère “<strong>|</strong>” ([<strong>AltGr</strong>] + [<strong>6</strong>]) permet de d'exécuter plusieurs commandes à la suite.</p>
|
||||
<p>Le pipeline, symbolisée par le caractère “<strong>|</strong>” ([<strong>AltGr</strong>] + [<strong>6</strong>]) permet d'exécuter plusieurs commandes à la suite.</p>
|
||||
<p>exemple : </p>
|
||||
<pre><code class="language-plaintext">get-process | Sort-Object CPU</code></pre>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<h2>Création d'un menu sous Powershell</h2>
|
||||
<p>Voici un exemple de menu qu'il est possible de faire avec la méthode suivante :</p>
|
||||
<figure class="image image_resized" style="width:56.82%;"><img src="/capture.png"></figure>
|
||||
|
|
Chargement…
Ajouter une table
Référencer dans un nouveau ticket