"Error 1314 : A required privilege is not held by the client" when modifying files ACL on NetApp filer with ntfssecurity module or vmover
Error 1314 : A required privilege is not held by the client. Cannot open file (ntfssecurity) OR A required privilege is not held by the client (vmover) If you have this error when you try to modify files ACL located on a NetApp filer with the ntfssecurity...
Mapper une URL avec partage réseau - erreur 0x80070043
Résoudre l'erreur 0x80070043 lors du mappage d'une URL avec un partage réseau : - Windows server 2008 / 2012 : installer la feature Desktop Experience - Windows server 2016 + : installer la feature WebDAV-Redirector
[PowerShell] Commandes et scripts divers
Opérateurs de comparaison : -and And Et ! Not Non -not Not Non -or Or Ou -eq Equal to Egal à -lt Less than Plus petit que -gt Greater than Plus grand que -ge Greater than or Equal to Plus grand ou égal -le Less than or equal to Plus petit ou égal -ne...
[PowerShell] Script to add printers from a CSV file filled with printer name, shared printer name, IP or name printer, driver
# *********************************************************************************************** # Script Name......: Add_Printer.ps1 # Function.........: Add printers from a CSV file filled with printer name, shared printer name, IP or name printer,...
[Control-M] Deploy agent v8 and patch with PowerShell silently
This PowerShell script (compatible PowerShell v2) install Control-M agent version 8.0.00 and patch it to 8.0.00.200 silently. It also open Windows firewall ports in 7825 / out 7826 Regarding the patch (PAKAI) source, you need to extract the .exe (with...
Configuration UAC avec le registre
Chemin registre : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
[PostgreSQL] Scripted / unattended install on Windows
Here is a script that allow you to install PostgreSQL (9.4 64 bits in my case) on a Windows server. 3 variables needs to be seted (in green) : Install path, Data path and postgres admin password You need to launch the script inside the folder containing...
[Hyper-V] Mettre un ISO en premier dans l'ordre de boot d'une VM
Monter l'ISO sur votre VM Se connecter en RDP sur l’Hyper-V hébergeant la VM et lancer PowerShell ou lancer PowerShell en tant qu'administrateur sur le serveur VMM si les modules Hyper-V sont installés. Pour visualiser les modules Hyper-V installés ou...
[Windows] Commandes utiles cmd / DFS / regedit / Active Directory
Ligne de commande pour Windows XP, 7, 10, 2003, 2008, 2012, 2016, ... : PsTools : https://technet.microsoft.com/fr-fr/sysinternals/pstools.aspx psexec Executer une commande à distance avec psexec. Se placer dans le dossier contenant psexec psexec \\serveur01...
[IIS] Sauvegarder et restaurer un site avec Web Deploy
Installer WebDeploy sur le serveur : https://www.iis.net/downloads/microsoft/web-deploy Ligne de commande pour sauvegarder dans C:\Temp le site par défaut situé dans C:\inetpub\wwwroot avec création d'un fichier de log XML log_sauv.xml "C:\Program Files\IIS\Microsoft...