fbpx
PowerShell For Fun And Profit: Online Arbitrage Scanner
Sep19

PowerShell For Fun And Profit: Online Arbitrage Scanner

What is online arbitrage? It’s where you find things for sale online, buy them and sell them elsewhere and make a profit! How do I find things to sell? Browse popular deal sites, clearance pages or like me, you automate the process and let a PowerShell do the boring work for you! If you want to grab the code, go download it from my Github repository: https://github.com/slashadminsource/PSOnlineArbitrage Setting Up Download the...

Read More
PowerShell Trading Bot For Interactive Brokers
Sep19

PowerShell Trading Bot For Interactive Brokers

This bot is for educational purposes only!This bot will loose all of your money if you try to get it working.I do not support this bot, its provided to the PowerShell coding community for educational purposes.Trading stocks is very risky, I’m not a professional trader or an accountant, I’m an IT guy who likes to mess around with coding projects from time to time.This code most definitely contains bugs and errors and...

Read More
Cant Remove Hyper-V VM Cannot Connect to Virtual Machine Configuration Storage
Aug13

Cant Remove Hyper-V VM Cannot Connect to Virtual Machine Configuration Storage

Found a redundant VM on your Hyper-V host? This typically only happens in test environments but rarely in production and caused by a VM folder being deleted or moved. In the screenshot below you can see the VM ‘Mindex’ in an off-critial state. You cant remove this server from the host using the GUI. Open a Powershell windows as admin and type ‘Get-VM’ and press enter. This will list all of the VM’s on the...

Read More
Basic Setup Guide for Using GitHub With Visual Code and PowerShell
Dec27

Basic Setup Guide for Using GitHub With Visual Code and PowerShell

This guide is a complete beginners guide to creating an account on GitHub and setting up somewhere to store your code and then linking that to Visual Code which is a cool free Microsoft tool used to write code. I’ll like to leave out the fluff and filler so ill keep the text brief, so follow along and use the screenshots for reference. By the end of this guide you will know how to: Create GitHub repositories for your code...

Read More
How To Develop PowerShell Scripts For The Raspberry Pi
Sep16

How To Develop PowerShell Scripts For The Raspberry Pi

A.K.A How to Run PowerShell on the Raspberry PI Ok you want to run PowerShell scripts on your Raspberry PI. Well look no further because I have a detailed step by step guide below! This guide assumes you have already connected your Raspberry PI to your network either by a cable or via wireless. This guide also assumes you prefer to develop the code on your Windows PC using a program with similar features to the PowerShell ISE. Basic...

Read More
Bypass MFA for Azure Runbooks
Sep03

Bypass MFA for Azure Runbooks

If you use Azure runbooks and utilise scripts which connect to Office 365 services you will run into issues if the account you use to authenticate has MFA enabled on it. One option is to bypass MFA on the account for any connections coming from a specific Azure datacenter. This doesn’t open up the account to the internet but please understand that anyone trying to access your account from the same datacenter will also be able to...

Read More
How To Enable OneDrive Files On Demand
Jul23

How To Enable OneDrive Files On Demand

OneDrive Files On Demand is a feature which sets OneDrive to only download files to a local device when a file is clicked on rather than potentially downloading gigabytes or terabytes of files. From the users perspective they don’t really see any difference, they can still see all of the files and folders except they are not using up space on their PC until they open or edit a file. You can enable this option manually on each...

Read More
How To Uninstall Programs Using PowerShell
Jun05

How To Uninstall Programs Using PowerShell

Listing all installed programs, checking to see if a program is installed by its name and uninstalling programs is super easy and efficient using PowerShell and the Get-WmiObject cmdlet. List All Installed Programs Get-WmiObject -Class Win32_Product Running this cmdlet will produce a list of all installed applications. Note this wont list any Windows Apps which are installed. List Installed Programs By Name Get-WmiObject -Class...

Read More
Export Office 365 to The Email Laundry
Jan19

Export Office 365 to The Email Laundry

If you use The Email Laundry for advanced email and threat protection and your an MSP you will know how time consuming it is to setup. Adding all the email accounts into The Email Laundry manually, even exporting users from Office 365 to CSV and formatting the import file can be a real pain. Well I had enough of all the manual work and wrote a little PowerShell script to speed up the process. Before attempting to run this script...

Read More
PowerShell Games Power Bomber
Nov19

PowerShell Games Power Bomber

I love messing around with code and recently I’ve been learning a few new PowerShell techniques and writing little games. I’m no expert by any stretch of the imagination but find messing about and not taking it too seriously helps me code better and most importantly write scripts faster for use in our business and with our clients. This game is called Power Bomber and is very loosely based on the classic Bomber Man. This...

Read More