Category Archives: Scripting & programming

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

Windows: Using deduplication on a volume

Hi,

since Server 2012R2 Windows has the ability to enable deduplication on volumes. This means Windows can find identically blocks on a volume and create references to them. So the block is just stored one time.
Continue reading Windows: Using deduplication on a volume

Powershell: Passing an array to a script at command line

Hi,

starting point is a simple powershell shell script testarray.ps1:
Continue reading Powershell: Passing an array to a script at command line

VMware: Generate an URL for a VM Console Session

Hi,

with PowerCli it is simply possible to generate an direct Link to accessing a VM’s Console without clicking through the whole vSphere Tree.

The anatomy of the URL is
https://%vCenterFQDN%:9443/vsphere-client/vmrc/vmrc.jsp?vm=urn:vmomi:VirtualMachine:%MoRef%:%vCenterUUID%
Continue reading VMware: Generate an URL for a VM Console Session

Linux: Track changes of a folder by git and cron

Hi,

this post describes howto to track changes to a folder with some (text) files in it.
Continue reading Linux: Track changes of a folder by git and cron

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