Thales Cipher Trust Manager Backup Script via Powershell and API

# KeySecure API endpoint and POST params$keysecures = @(“%KeysecureIPorDNS%”)#Import Credentials from Credential XML, this is protected by file level application for security Format <Credentials><Credential><Name\User\Password>keysecure</Name\User\Password></Credential></Credentials>$credxml = Select-Xml -Path […]

Domoticz

Create Virtual Sensorhttp://192.168.50.138:8080/json.htm?type=createvirtualsensor&idx=3&sensorname=Watermeter&sensortype=113Change Virtual Sensor Sub Typehttp://192.168.50.138:8080/json.htm?type=setused&idx=7&name=Gasmeter&switchtype=2&used=trueHow to set Value of Devicehttp://192.168.1.31:8080/json.htm?type=command&param=udevice&idx=3&svalue=100Dominitz not working on rebootsudo service domoticz.sh restart

How to clear old Tomstoned files from DFS for Resync

Navigate to the Drive you have your DFS replicated folder on in powershell CD D:\md d:\emptyfolderRobocopy.exe d:\emptyfolder “D:\System Volume Information\dfsr\Private” /purgerd d:\emptyfolderRemove-Item -Path .\DFRS\ -Recurse -Force -VerboseCheck Replication […]