Hi,
you start a powershell script from cmd and want to return an exit not equal to 0 but %ERRORLEVEL% is set to 0.
Continue reading Powershell: Wrong exit code
Somthing about Powershell, VB Script, C#, VB.NET
Hi,
you start a powershell script from cmd and want to return an exit not equal to 0 but %ERRORLEVEL% is set to 0.
Continue reading Powershell: Wrong exit code
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
Hi,
Powershell provides also the ability to use function pointers such as C or C++.
Define your functions
Continue reading Powershell: Function Pointer
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
Hi,
this is a really often requiered task in powershell. Here are some examples.
Continue reading Powershell: Searching in arrays