Category Archives: Scripting & programming

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

Git: Some examples

Hi,

my git example collection…to be continued
Global Config
Set your username

git config --global user.name "Michael"

Continue reading Git: Some examples

Advertisment to support michlstechblog.info

Powershell: Determine the image type (x64/x86) of an exe file

Hi,

based on this stackoverflow post I’ve written a powershell function to determine the image type of an Windows executable. The Powershells System.IO.FileSystemInfo type does not provide such an info.
Continue reading Powershell: Determine the image type (x64/x86) of an exe file

VMware: Set NTP Server of all ESXi Host conntected to vCenter

Hi,

attached to this post a PowerCli script to change NTP Server on all ESXi Servers connected to vCenter.
Continue reading VMware: Set NTP Server of all ESXi Host conntected to vCenter

Windows: Change Password Utility

Hi,

in Active Directory Domain environment you have to frequently change your password.

The default Windows methods usually does not support clipboard operations. So you have to enter your new password two times and depending on your method your old password too 🙁 .
Continue reading Windows: Change Password Utility

Powershell: md5sum and sha256sum Functions

Hi,

verifing of a file is often done by builting an MD5 or an sha256 hash over it.

Powershell has no “builtin” functions for this purposes.

So I wrote some 🙂
Continue reading Powershell: md5sum and sha256sum Functions