This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requires -RunAsAdministrator | |
| <# | |
| .SYNOPSIS | |
| Recupere les mappages reseau (GPO Preferences / Ambigus) depuis les registres | |
| de machines distantes et produit deux fichiers CSV de sortie. | |
| .DESCRIPTION | |
| FONCTIONNEMENT GENERAL | |
| ---------------------- | |
| 1. Lecture du CSV d'entree contenant les noms de machines. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Obtenir une configuration electronique | |
| Ne = int(input("Que vaut Z?")) | |
| if Ne > 18: | |
| print('ERROR (Z<18)') | |
| else: | |
| N1s = 0 | |
| N2s , N2p = 0 , 0 | |
| N3s , N3p = 0 , 0 | |
| while (Ne>0) and (N1s<2): | |
| N1s = N1s+1 |