Category: Power-Shell

Get-Content (Get-PSReadlineOption).HistorySavePath > D:\PowerShellHistory.txt
This post will show how to get PowerShell remoting to work properly with Lync/Skype for Business Server. Since Windows Server 2012 enables PS remoting by default, you don’t need to do anything special to run normal commands like Get-Service, Get-Process, etc… However, when trying to run many specific Skype for Business cmdlets, you may run into […]
When you use PowerShell to manage Office 365, it is possible to have up to five different Windows PowerShell sessions open at the same time corresponding to Microsoft 365 admin center, SharePoint Online, Exchange Online, Skype for Business Online, Microsoft Teams, and the Security & Compliance Center. With five different connection methods in separate Windows […]
This is just a very quick blog post because I got the question from a couple of people. In this blog post want to show you how you can enable ping (ICMP) on a public IP address of an Azure virtual machine (VM). First, just let me say that assigning a public IP address to […]
On one of my client’s server running Windows Server 2012 R2, when you launched PowerShell it would immediately crash with the error: and this would create windows events non-stop on the server as follows: At first you think you have the famous PowerShell Virus (Poweliks) but after downloading the Symantec tool and running it, all […]
With the attack on RDP getting more and more each day, many Admins are forced to use remote tools to get onto servers. Managing your exchange 2019 server or legacy servers does not require you to login to the desktop, you can use remote PowerShell and because the Exchange Admin Center is web based, it […]
Downloads Welcome to the downloads section! Here you can find a collection of my PowerShell scripts and modules. Have fun with it! Active Directory Domain Services Section (1.1) ad.ps1 Blog post: Active Directory Domain Services Section (Version 1.1) Alert me, if a DC is down DC_Alert.ps1 Blog post: PowerShell: Alert me, if a Domain-Controller is down Notify me, […]
Archives