Under certain circumstances the installation of software can only take place at a specific time. This article describes the establishing of a scheduled installation on the localhost and on remote hosts.
PowerShell: Check open/closed ports with Test-NetConnection
The more I am playing with it, the more I like it: Test-NetConnection. Test-NetConnection views information of a connection. What can we do with it?
PowerShell: Using the Help (Get-Help)
Don Jones, the author of “Learn PowerShell in a month of lunches” said: “Be prepared to read the help, or you’ll fail at PowerShell.”
Exchange: How to export a Mailbox to PST using PowerShell
For archiving purposes run the following command in Exchange Management Shell to export a mailbox to a PST File and to save the file in the folder pst:
Configuring the automatic start of PowerShell at every logon
In this article, I am going to show how to configure your computer to start PowerShell with administrative privileges every time you log on to your computer.
PowerShell Cmdlets: List all availabe parameters without using the Help
To find out the parameters of a Cmdlet, you can call the Windows PowerShell Help. To be faster you can use some tricks to get more out of Parameters.
Calculating with PowerShell
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”)
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 […]
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.
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 […]