Category Archives: Scripting & programming

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

Windows: Working with the powershell command history

Hi,

like the UNIX bash shell, the Windows powershell also has a history which commands were executed.

Continue reading Windows: Working with the powershell command history

Advertisment to support michlstechblog.info

Powershell: Working with a SQLite Database

Hi,

SQLite Databases are widly used, even Windows uses for the organisation of its Appx Packages a SQLite database. This database is located in the file C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.srd.

Continue reading Powershell: Working with a SQLite Database

Powershell: Change the title of the powershell window from a script

Hi,

sometimes it would be nice to see the status of a script in the title of the powershell window.
Continue reading Powershell: Change the title of the powershell window from a script

VMware: Installing PowerCli from zip

Hi,

if you have an system which is not connected to the internet you cannot install PowerCli online .

Continue reading VMware: Installing PowerCli from zip

Powershell: Export/Convert a X509 Certificate to pem format

Hi,

powershell respectively the .NET framework does not offer a method to export a X509 certificate in PEM format. The pem format is a Base64 encoded view from the raw data with a header and a footer.

An example to export the machine certificate (with Thumbprint: 1C0381278083E3CB026E46A7FF09FC4B79543D) of an computer
Continue reading Powershell: Export/Convert a X509 Certificate to pem format