Category Archives: Scripting & programming

Somthing about Powershell, VB Script, C#, VB.NET

XML: Selectnode XPath query independend from namespace

Hi,

i got the following xml structure and want to select just the the “Data” node with the attribute “CommandLine” without defining a namespace object first.
Continue reading XML: Selectnode XPath query independend from namespace

Advertisment to support michlstechblog.info

Powershell: Encrypt and decrypt strings with the host key

Hi,

each Windows machine has it’s own host key. This can be used to encrypt data which are only decrypted by this computer.

Continue reading Powershell: Encrypt and decrypt strings with the host key

Powershell: UDP Client and Server

Hi,

these UDP client and server and simply used for testing if a specific UDP port is open

Continue reading Powershell: UDP Client and Server

Powershell: Convert 18-digit LDAP/Win32 Epoch timestamp to DateTime object

Hi,

LDAP use a 18 digit timestamp format. It’s an epoch timestamp.
Continue reading Powershell: Convert 18-digit LDAP/Win32 Epoch timestamp to DateTime object

Windows: Get and decrypt password from rdp files

Hi,

rdp files can store the password for a connection. The password is protected with the users key who saved the file.
Continue reading Windows: Get and decrypt password from rdp files