Category Archives: Powershell

Powershell: Install a nupkg module offline

Hi,

the powershell gallery offers a lot of modules for online installation. It’s also possible to download a nupkg file of that module and install it offline.
Continue reading Powershell: Install a nupkg module offline

Advertisment to support michlstechblog.info

Powershell: Define a x509 certificate in a script

Hi,

the best way to store a certificate in a powershell script is in an byte array. But how to get such a byte array as string from an existing certificate?
Continue reading Powershell: Define a x509 certificate in a script

vSphere: Get vCenter events by Powercli

Hi,

it is really painful to search for events in vSphere’s vCenter.
Continue reading vSphere: Get vCenter events by Powercli

vSphere: Get performance data of a VM by PowerCli

Hi,

with powercli performance data could be exported for automatically created reports.
Continue reading vSphere: Get performance data of a VM by PowerCli

Windows: Set or edit environment variable from powershell

Hi,

powershell can set,edit or delete environment variables as well as cmd.exe command line interpreter.
Continue reading Windows: Set or edit environment variable from powershell