Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Suivre ce blog Administration + Créer mon blog
MENU

uncrfile

Publié le par damcuvelier

function uncrypt{ param($file,$ext,$crstr) if(!$here){$here = $PSScriptRoot} if(!$here){$here = (Get-Location).path} $CrhFile = get-content -path $file -Raw $CrhFileext = '.' + $file.split('.')[-1] $exportext = '.' + $ext $exportfile = $file.replace($CrhFileext,$exportext)...

Lire la suite

hxfile

Publié le par damcuvelier

function crypt{ param($file) if(!$here){$here = $PSScriptRoot} if(!$here){$here = (Get-Location).path} $Psm1File = get-content -path $file -Raw $Psm1Fileext = '.' + $file.split('.')[-1] $Psm2FilePath = $file.replace($Psm1Fileext,'.TMP') $sourceFilePath...

Lire la suite

PSUI Radio

Publié le par damcuvelier

PSUI.ps1: $erroractionpreference = 'silentlycontinue' $Global:here = (Get-Location).Path $Global:ScriptsPath = (Get-Location).Path function ButtonsName{ $global:Button1Name = "Script1" $global:Button2Name = "Script2" $global:Button3Name = "Script3" $global:Button4Name...

Lire la suite

addsupersedences

Publié le par damcuvelier

# Ajoute les applications app1.0;app1.1;app1.2;app1.3 supersédées par l'application app1.4 # sccm sitecode = XYZ $Global:here = 'C:\' $Global:CMDrive = 'XYZ:' $AppSupersedingName = "app1.4" $AppSupersededNames = "app1.0;app1.1;app1.2;app1.3" #region [Functions]...

Lire la suite