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
f78fed2158
révision
c59ba2879b
1 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -2,7 +2,7 @@
|
||||||
title: Powershell
|
title: Powershell
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2021-05-09T18:35:44.301Z
|
date: 2021-05-09T18:36:40.406Z
|
||||||
tags:
|
tags:
|
||||||
editor: ckeditor
|
editor: ckeditor
|
||||||
dateCreated: 2021-05-08T14:42:07.092Z
|
dateCreated: 2021-05-08T14:42:07.092Z
|
||||||
|
@ -111,7 +111,7 @@ while ($continue){
|
||||||
switch ($choix){
|
switch ($choix){
|
||||||
1{commande de mon action 1}
|
1{commande de mon action 1}
|
||||||
2{commande de mon action 2}
|
2{commande de mon action 2}
|
||||||
‘x’ {$continue= $false}
|
‘x’ {$continue = $false}
|
||||||
default {Write-Host "Choix invalide"-ForegroundColor Red}
|
default {Write-Host "Choix invalide"-ForegroundColor Red}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Chargement…
Ajouter une table
Référencer dans un nouveau ticket