Category Archives: Scripting & programming

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

Powershell: En- and Decrypt string with AES256

Hi,

if you have the requierment to encrypt strings in Powershell the .NET Framework offers some classes for this case. This is a symmetric encryption. Receiver and Sender uses the same Password/Key to en- and decrypt the message.
Continue reading Powershell: En- and Decrypt string with AES256

Advertisment to support michlstechblog.info

Powershell: Function Pointer

Hi,

Powershell provides also the ability to use function pointers such as C or C++.

Define your functions
Continue reading Powershell: Function Pointer

Windows: Cleanup files from WSUS which are no longer needed

Hi,

the content of an WSUS Server crows every month for several GiBytes because WSUS does held all files which has the approval state “install”.
Continue reading Windows: Cleanup files from WSUS which are no longer needed

Powershell: Searching in arrays

Hi,

this is a really often requiered task in powershell. Here are some examples.
Continue reading Powershell: Searching in arrays

Powershell: Encode and decode Base64 strings

Hi,

short post today. How to en- and decode base64 strings.
Continue reading Powershell: Encode and decode Base64 strings