PowerShell supports all possible types of calculations. The following examples will help you explore the possibilities of PowerShell.
Speak to me: PowerShell tells you if a host is up or not (Test-Connection)
Execute the following two-liners to cause PowerShell saying “Command completed successfully”. $words = New-Object -ComObject SAPI.SpVoice $words.speak(“Command completed successfully”)
Mein E-Mail Konto: Ungewöhnliche Aktivität erkannt: Outlook.com
Heute bekam ich eine E-Mail von Microsoft. Es versucht jemand in mein E-Mail Konto zuzugreifen. Und zwar aus Deutschland. Während ich in Purkersdorf ganz ruhig geschlafen habe. Solche Lauser.
Windows Server: List all installed Roles and Features using PowerShell
If you install Roles and Features with PowerShell, Install-WindowsFeature is your friend. Get-Windowsfeature gets information about installed or available Server Roles. This blog post shows you how to get a list of […]
How to find expired Certificates with PowerShell
By running a simply PowerShell One-Liner we are able find all expired certificates stored in the Certificate Store. The store is accessible by using the PowerShell Drive cert:. To show all expired […]
Gruppenrichtlinien (GPO) sichern
Wer hat die Gruppenrichtlinie gelöscht und warum gibt es kein Backup? Nicht mehr verwendete Gruppenrichtlinien können – bevor man beabsichtigt sie zu löschen – gesichert werden. Eine Wiederherstellung ist problemlos möglich.
PowerShell: Documenting your work with Start-Transcript
Start-Transcript creates a record of PowerShell Sessions. For documenting and archiving. The feature is very useful for administrative tasks and programming. This article describes the use of Start-Transcript and Stop-Transcript on the […]
Package Management in PowerShell (Chocolatey)
Tired of installing 3rd party software on Windows? 7zip, winrar, Chrome, Adobe Reader, Java etc … had to be downloaded manually. Now this is over. Package Management in PowerShell is here! Online repository is the keyword.
Checking connectivity to Active Directory: Test-ComputerSecureChannel
A user tries to log on to the domain. The login is done successfully. Shortly thereafter, the user reports that he can not access his files on the fileserver, nor can he send e-mails.
PowerShell: Force gpupdate on all Domain Computers
Client Computers update Group Policies every 90 minutes. In this blog post I force gupdate on all client computer of an organizational unit by running a PowerShell command from a remote computer.
This is not your fathers Windows Server: Setting up Server Core with PowerShell
The following guide describes the basic configuration of a Windows Server Core running Windows Server 2012 and Windows Server 2016.
The new nslookup: Resolve-DnsName
Nslookup is a command-line tool for dns name resolution. Resolve-DnsName is the modern version of nslookup. In this blog post I am going to show how to use Resolve-DnsName to query DNS host names […]
PowerShell Remoting: How to connect to Remote Hosts in a Domain- and in a Non-Domain Environment (Trusted Hosts)
In this article i will show how to connect to remote hosts and how to configure the list of Trusted Hosts. Because with the introduction of Windows Server Core and Nanoserver, the significance of Windows PowerShell Remoting has increased.
Neue Microsoft Zertifizierungen (MTA, MCSA, MCSE) für Windows Server 2016
Ich möchte mit diesem Beitrag in Bezug auf die neuen Microsoft Zertifizierungen ein wenig Licht ins Dunkel bringen. Es hat sich vieles verändert, und es ist – dem allgemeinen Trend in der […]
PowerShell: Using Foreach-Object (Examples)
You can use the Foreach-Object Cmdlet to loop through items In this post I would like to show you several practical examples, from the bulk import of users to the creation of dummy files with fsutil.



