Hi,
starting point is a simple powershell shell script testarray.ps1:
Continue reading 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
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
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
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
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