Erwin Bierens

Knowledge is Power

Create Team and Channels with PowerShell

2019-04-12 1 min read Microsoft Teams Powershell Erwin Bierens

Create Team and Channels with Powershell

Creating multiple Teams within Microsoft Teams can be a immense process and time-consuming, but you can easily create your Teams with the use of PowerShell. If you dont have installed the Microsoft Teams PowerShell Module follow this link.

/

The Code

    $TeamName = "Contoso"
    $TeamDescription = "Contoso is a fictional company used by Microsoft as an example company and domain."
    $TeamVisability = "Public" #Public or Private
    $TeamOwner = "example@contoso.com"

    Connect-MicrosoftTeams

    $group = New-Team -DisplayName "$TeamName" -Description "$TeamDescription" -AccessType "$TeamVisability"

    Add-TeamUser -GroupId $group.GroupId -User "$TeamOwner" -Role "owner"

    New-TeamChannel -GroupId $group.GroupId -DisplayName "Sales"
    New-TeamChannel -GroupId $group.GroupId -DisplayName "Marketing"
    New-TeamChannel -GroupId $group.GroupId -DisplayName "Security"

Skype for Business and Microsoft Teams Network Testing

If you want to easy test your network connection to Skype for Business Online and Microsoft Teams server from a GUI perspective?This is possible with a tool created by Korneel Bullens and is located in the Network Planner inside FastTrack. The setup is really easy and the outcome is very clear.

/

Network Testing Companion Installation and Usage Guide

Prerequisites

Installation

Anyone who has administrator rights to the computer can install the Network Testing Companion. The tool is hosted on PowerShell Gallery and can be installed as follows:

Continue reading

Microsoft Teams administrator roles

2018-12-10 2 min read Microsoft Teams Powershell Erwin Bierens

Microsoft has created four new roles specifically for admins responsible for Microsoft Teams. Roles give people in your organization permission to do specific tasks in the Microsoft 365 admin center.

This new admin roles are now available to assign in your Microsoft 365 admin center or by using PowerShell.

/

Teams service admin

Can manage all aspects of Microsoft Teams except license assignment. This includes policies for calling, messaging, and meetings; use of call analytics tools to troubleshoot telephony issues, and management of users and their telephony settings.

Continue reading

Running PowerShell on your RaspberryPi

2018-12-06 1 min read Linux Powershell Erwin Bierens

For many years PowerShell was a Windows-only thing that was part of the closed Windows ecosystem. Now a days PowerShell is open source up at https://github.com/PowerShell with lots of docs and scripts, also open source.

PowerShell is supported on Windows, Mac, and a half-dozen Linux distros.

While running PowerShell on your RaspberryPi is still experimental and only supported for Raspbian Stretch it’s running pretty smoothly.

/

Installing

Install the prerequisites

	sudo apt-get install libunwind8

Grabbing the latest tar.gz

Continue reading

Microsoft Teams - Connect to Powershell

2017-11-06 1 min read Microsoft Teams Powershell Erwin Bierens

Hi Guys,

Microsoft recently(11-2017) released the Powershell Cmdlets (still in beta), which gives you the opportunity to manage Microsoft Teams by Powershell.

Installing

To get started you wil first need to install the Microsoft Teams Powershell module. You can do this by using the following command:

    Install-Module -Name MicrosoftTeams

install-module MicrosoftTeams

Loading module

Once you have installed a module on your system, you will likely want to import the module in order to use it. Importing is the process that loads the module into active memory, so that a user can access that module in their PowerShell session. You can use the following cmdlet te import the MicrosoftTeams module.

Continue reading

Powershell Enable / Disable / Set / Show Windows Web Proxy

2017-08-08 1 min read Powershell Erwin Bierens

Web Proxy

I’m currently working for a company where I have to set up a web proxy to connect my laptop to the Internet. Because I’m a little bit lazy to enable/disable this every morning when i come in, or when i open my laptop at home, i use these two oneliners in powershell:

EnableProxy:

set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -name ProxyEnable -value 1

DisableProxy:

set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -name ProxyEnable -value 0

Complete Script:

I also created a simple menu script with all the options to Enable, Disable, Set and Show. You can download the script from Technet Gallery If you have any questions or suggestions, please let me now :)

Continue reading

Execution of Scripts is Disabled on this System

2017-03-07 1 min read Powershell Erwin Bierens

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.

  1. To set the execution policy to unrestricted, enter the following command (PowerShell must be run as an Administrator):

    Continue reading
Older posts