Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

136 total results found

Proxmox - Note de template

Normalisation & Bonnes pratiques Normalisation

Info : Les notes sont au format MARKDOWN. ![Status](https://img.shields.io/badge/Status-Passed-green) ![Author](https://img.shields.io/badge/Author-OCHABRAN-purple) ![CurrentVersion](https://img.shields.io/badge/version-W2k25COR-blue.svg) ## I. Détail - <b>Tit...

Bash - Build : InstallNextcloud.sh

Linux Shell Archives

Status :  Terminé    Auteur :  Olivier  Dernière version :  V 1.0  Dernière modification :  05/03/2023  I. Fonctionnalités Peut être utilisé dans les modes suivants :    CLI  La commande "-help" est présente :  non  II. Captures d'écran n/a III. Script In...

Bash - Build : InstallPHPMyAdmin.sh

Linux Shell Archives

Status :  Terminé  Auteur :  Olivier  Dernière version :  V 1.0  Dernière modification :  03/03/2023  I. Fonctionnalités Peut être utilisé dans les modes suivants :    CLI  La commande "-help" est présente :  non  II. Captures d'écran n/a III. Script Insta...

Bash - Utiliser les couleurs dans les messages

Linux Shell

Les couleurs peuvent s'utiliser grâce à la matrice de couleur suivante : Black 0;30 Dark Gray 1;30 Red 0;31 Light Red 1;31 Green 0;32 Light Green 1;32 Brown/Orange 0;33 Yellow 1;33 Blue 0;34 L...

Catégorie
Dev&Script
Produit
Linux Shell
status
validé

Powershell - codes popup

Powershell

Icons 16 – “stop mark” 32 – “question mark” 48 – “Exclamation mark” 64 – “Information mark” Buttonset 0 OK 1 OK, Cancel 2 stop, retry skip 3 yes, no, cancel 4 yes, no 5 retry, cancel Return values -1 — timeout; 1 — OK button; 3 — Stop button; 4 — Retry button;...

Catégorie
Dev&Script
Produit
Powershell
status
validé

Powershell - Conversion image/texte

Powershell

#Convertir un fichier image en fichier texte. $FilePath = "C:\jumbor.jpg" $SaveTo = "C:\jumbor.txt" [byte[]]$Data = Get-Content $FilePath -Encoding Byte [system.convert]::ToBase64String($Data) | Set-Content $SaveTo #Fin.

Catégorie
Dev&Script
Produit
Powershell
status
validé

Powershell - Créer / Modifier des variables d'environement

Powershell

Pour créer une variable d’environnement temporaire : $env:<variableName> = "<value>" Pour créer une variable d’environnement utilisateur : [System.Environment]::SetEnvironmentVariable('<Name>','<Value>',[System.EnvironmentVariableTarget]::User) Pour créer une ...

Catégorie
Dev&Script
Produit
Powershell
status
validé

Powershell - Fonctions utiles

Powershell

Get-AdminRights function Get-AdminRights(){#Check if script is launched with admin rights, else relaunch it with good rights. <#Function of VOID type. No parameters necessary. you can comment or uncomment the lines marcked with "#!" by removing "#!...

Catégorie
Dev&Script
Produit
Powershell
status
validé

Powershell - Journalisation windows

Powershell

Par convention, nous utiliserons "PSAutomationEngine" comme nom de source. Créer une source d'évènements (requiert les droits admin) : [System.Diagnostics.EventLog]::CreateEventSource("PSAutomationEngine", "Application") La première valeur est le nom de la sou...

Catégorie
Dev&Script
Produit
Powershell
status
validé

Powershell - Stocker un mot de passe

Powershell

Pour récupérer le mot de passe et le stocker dans un fichier : [string]$DestFile="$env:USERPROFILE\Documents\password.secret" read-host "Enter Password" -AsSecureString | ConvertFrom-SecureString | Out-File $DestFile Pour utiliser le mot de passe en clair : [s...

Catégorie
Dev&Script
Produit
Powershell

Powershell - Secure winRM

Powershell

I. Paramétrage du service Vérifier les listener : winrm e winrm/config/listener Vérifier l'état de winRM : winrm get winrm/config II. Paramétrage trusted host Lister les TrustedHosts : Get-Item WSMan:\localhost\Client\TrustedHosts | Select-Object Value | Forma...

Catégorie
Dev&Script
Produit
Powershell

Powershell - Template

Powershell

<############################################################################ # Title : # # Version : # # Author : ...

Catégorie
Dev&Script
Produit
Powershell

Powershell - ressources microsoft

Powershell

Verbes approuvés : Approved Verbs for PowerShell Commands - PowerShell | Microsoft Learn

Catégorie
Dev&Script
Produit
Powershell
status
en cours

A

Lexique

ADGLP : Account Global Domain Local Permission ( Pemissions de domaines locales, groupes globaux).

B

Lexique

BYOD : Bring Your Own Device (le fait de venir avec son matériel)

C

Lexique

CAL : Client Access License (licence d’accès client) CLI : Command Line Interface (Interface en ligne de commande) Commit : Enregistrement d’une nouvelle version. CPU : Central Processing Unit (processeur) CSR : Certificate Signing Request (Requête de signatur...

D

Lexique

DDoS : Distributed Denial Of Service (Déni de service distribué) DRP : Disaster Recovery Plan ( plan de récupération après désastre)

E

Lexique

EOF : End Of Life (Fin de vie)