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

160 total results found

Dev & Scripting

Regroupe les ressources associées au DEV et au scripting.

Catégorie
Dev&Script

Ansible

Contient les documentations liées à ansible.

Catégorie
Dev&Script
Produit
Ansible

Linux Shell

Contient les Scripts Shell et Bash pour linux.

Catégorie
Dev&Script
Produit
Linux Shell

Archives

Linux Shell

Contient les scripts d'activité de build.

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é

Docker

Contiens les dockerfiles, fichiers compose, startup scripts & configurations pour les containers.

Catégorie
Dev&Script
Produit
Docker

Powershell

Contient les ressources Powershell pour windows.

Catégorie
Dev&Script
Produit
Powershell

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