Category: Powershell

All of you know the fabulous script PS2EXE by Ingo Karstein you can download here: PS2EXE : “Convert” PowerShell Scripts to EXE Files. Unfortunately Ingo seems to have stopped working on his script so I overworked his script with some error fixes, improvements and output support for non-console WinForms scripts (parameter -noConsole to ps2exe.ps1). GUI…Read More

As mentioned in the header, I say idea’s as there a plenty of creative ways to put in some type of logic to ensure that your script is behaving as it should. One example of this could be to check if a file is located in a certain directory; What I have also added is…Read More

With the following ComObjects you can easily read/ write and create task sequence variables. To use TS variables in a powershell script use the following lines of code; To initialize the ComObject while in TS: To display a TS variable value use: To write a value to a TS variable use : Source information was…Read More

The following PowerShell commands are one liners to help you easily organise multiple filenames at once. Remove the same part of a filename from many files that match a filetype: If you have multiple files with the same pattern in the filename for example in the picture below Radiohead – . You can run…Read More

To do this I first go to the Fake Name Generator page and select from the menu the Order in Bulk option, click on the checkbox to accept the terms of services and select as output Comma separated (.csv) Now on step 3, I can select the name set and the country for the account information I want….Read More

PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language. Initially a Windows component only, known as Windows PowerShell, it was made open-source and cross-platform in August 2016 with the introduction of PowerShell Core. The former is built on .NET Framework while the latter on…Read More

When deploying Windows 10 1607/1703/1709 you might want to remove some of the included UWP apps to help speed up the log in process, save storage space, bandwidth etc. There’s a few different ways you can do this. This post will also cover how to remove UWP apps for the current logged on user. Obtaining…Read More

PowerShell is one of the most powerful things built into Windows, so of course it can do something as simple as list your installed programs. In fact, all you need is one command, which you can copy and paste right from this page. First, open PowerShell by clicking on the Start menu and typing “powershell”. Select…Read More