Category Archives: Scripting & programming

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

Powershell: Some basics accessing the BCDstore by WIM

Hi,

here are some starters for accessing the bcd store from powershell by using WMI.

Continue reading Powershell: Some basics accessing the BCDstore by WIM

Windows: Using Windows text to speech feature with powershell

Hi,

Windows has a builtin feature to convert text to speech and play it over the speakers. This can be used in powershell by using the System.Speech namespace.
Continue reading Windows: Using Windows text to speech feature with powershell

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

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