Skip to content

Instantly share code, notes, and snippets.

@atallo
atallo / rdcmanprofilepasswd.ps1
Last active May 13, 2024 09:03 — forked from josy1024/rdcmanprofilepasswd.ps1
Decrypting Remote Desktop Connection Manager Passwords from settings file with PowerShell (passwords with certificate)
# author: josef lahmer
# thanks to https://smsagent.blog/2017/01/26/decrypting-remote-desktop-connection-manager-passwords-with-powershell/
# Path to RDCMan.exe
#$RDCMan = "C:\Program Files (x86)\Microsoft\Remote Desktop Connection Manager\RDCMan.exe"
# Path to RDG file
$RDGFile = "C:\TEMP\file.rdg"
#$RDGFile = "$env:LOCALAPPDATA\Microsoft\Remote Desktop Connection Manager\RDCMan.settings"
@atallo
atallo / gist:b382f309b3cea02eda1b70a4b140a742
Created October 24, 2022 13:35
ikea TRADFRI LED pairing mode
alias: IKEA
description: ""
trigger: []
condition: []
action:
- type: turn_on
device_id: ba7896471868bbb6d65a99df8d13e616
entity_id: switch.ts011f_lampara_switch
domain: switch
- delay:

En Windows:

  1. Formatear un USB como NTFS (mejor que sea pequeño, 2GB o así)
  2. Ejecutar lo siguiente como pre-requisito
dism.exe /online /enable-feature /all /featurename:SMB1Protocol

En Linux (necesita conexión a internet):

  1. Abrir terminal
  2. Pinchar USB