Update AD DNS records with PowerShell

Setup: Microsoft Active Directory DNS Problem: You want to update some DNS records via PowerShell as part of a script, useful for failover situations. Solution: Use the following PowerShell script

Read More

Export a list with all videos from Microsoft Stream

Setup: Tenant in O365 with Stream Problem: How to export a list with all the videos from Microsoft Stream into a CSV. Microsoft does not provide an API for this. Solution: Fort this task you need to use a combination of tools: PowerShell and Chrome. Step1. Load in Chrome the Stream admin https://web.microsoftstream.com/admin?view=Administrators . Inspect […]

Read More

Get system information from WMI remotely with PowerShell script

Setup: Remote computer with WMI enabled and firewall open Problem: You want to collect various information remotely Solution: Copy this script and save it on the disk with .ps1 extension. eg. Get-ComputerDetails.ps1 Open PowerShell console and execute the script. Tip 1: For unattended execution save the credentials on the disk and load them at run-time. […]

Read More