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,
if you want to customize your environment powershell has ability to load or execute some scripts at startup.
There are 4 files where you can define functions, aliases … The AllHosts variables does not mean Computers. Allhosts is relating to Programs with has an Interface to Powershell, for example Powershell itself, Powershell ISE and so on. While currenthost means a specfic program. The currenthost variables differ from Powershell to Powershell ISE.
Continue reading Powershell: Profile locations
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,
I will describe here how to create a Windows PE based boot media, a USB Stick or a boot CD, with some customization:
Language settings
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