Erwin Bierens

Sharing Knowledge

Execution of Scripts is Disabled on this System

Execution of Scripts When you try to run a powershell script on Windows, you may receive the following error stating that the execution policy on your computer does not allow you to run the script. To fix this error, you must change the PowerShell execution policy for this computer. These instructions will explain how to allow “Unrestricted” access to running scripts on your computer. To set the execution policy to unrestricted, enter the following command (PowerShell must be run as an Administrator):

Powershell Backup Script

Backup Script Needed a backup script which i can run from the powershell or with use of the Windows schedular. I’ve created some checks on folders and succesrate. The scripts also can email you when backup is succesful/failed. If you have any suggestions please let me know! ##################################### Backup Script ############################################### ## Name: Backup_Script.ps1 ## Creator: Erwin Bierens ## CreationDate: 10-02-2017 ## LastModified: 10-02-2017 ## Version: 1.0 ## Website: https://erwinbierens.

Exchange 2016 Send Connector Ziggo

In order to send mail from your own mailserver (in this case Microsoft Exchange 2016) you’ll need to setup a send connector. In this tutorial i’ll show you how to configure this part. Configure the Send Connector Go to your Exchange admin center. Go to Send Connectors and add a new connector. Name the connector and select Internet and click next. Select “Route mail through smart hosts” Click on the + icon and fill in: smtp.

Powershell Cheatsheet

PowerShell CheatSheet! Getting crazy from all the site’s on the internet for Powershell commands, combining these sites on this cheat page PowerShell Basic Cheat Sheet – Audience new to PowerShell, vaguely familiar with CLI and/or scripting PowerShell Cheat Sheet – Audience familiar with PowerShell, CLI and scripting Some randon cheat sheets on the internet PowerShell 3.0 Quick References Guide – PowerShell Magazine Mastering PowerShell – Dr. Tobias Weltner