Category Archives: Scripting & programming

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

Powershell: Transfer Modules to an offline PC

Hi,

in these days powershell modules are often installed from a (NuGet) Repository and not by a Setup program.

In companies may exists computers which does not have an active internet connection.

But how to install the modules on these devices?
Continue reading Powershell: Transfer Modules to an offline PC

VMware: Installing PowerCli

Hi,

VMware does not longer provide Setups for installing PowerCli.

If you want to use the latest version of the PowerCli you have to install the modules from a NuGet Repository. This requires at least Version 5 of the powershell.
Continue reading VMware: Installing PowerCli

Creating and applying a patch with diff and patch

Hi,

this post describes to save and apply changes to an source file.
Continue reading Creating and applying a patch with diff and patch

Powershell: Wrong exit code

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

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