Powershell: Encode and decode Base64 strings

Hi,

short post today. How to en- and decode base64 strings.
More »

Powershell: Passing an array to a script at command line

Hi,

starting point is a simple powershell shell script testarray.ps1:
More »

Powershell: Profile locations

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.
More »

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.
More »

Windows: Create a Windows PE boot medium

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

  • Language settings
  • Keyboard settings
  • Additional drivers
  • Autostart a program
  • Add Powershell
  • Add .NET Environment
  • Add WMI Support

More »

Original Theme by Schiy · Powered by WordPress