Tag Archives: Remoting

How to set up your Exchange Server Scripting Environment using PowerShell

How to set up your Exchange Server Scripting Environment using PowerShell Instructor: Mike Pfeiffer, Microsoft Exchange MVP You’re going to spend a lot of time in the Exchange Management Shell (EMS) doing things interactively. For example one‑liners maybe like get-mailbox and sending that down to Set-Mailbox, setting the -Office to Sales etc… Obviously, this isn’t … Continue reading How to set up your Exchange Server Scripting Environment using PowerShell

How to set an application pool restart time in PowerShell

Want to change the restart time of an application pool? You can do it in the graphical IIS Manager, but if you’re trying to set the time for multiple pools, or on remote servers, why not use PowerShell. To get an application pools current restart time: PS> Get-ItemProperty -Path IIS:\AppPools\DefaultAppPool -Name recycling.periodicRestart.time To change the … Continue reading How to set an application pool restart time in PowerShell

Configuring IIS 8.0 Centralized Certificate Store and PowerShell

IIS 8 has a new feature that greatly improves certificate management. Instead of installing certificates to every server and then trying to find them later to update them, IIS 8 has a centralized certificate store for all your certificates in one place. The mechanics of this are great and it works amazingly well, so I … Continue reading Configuring IIS 8.0 Centralized Certificate Store and PowerShell

How to find certificates that are expiring on your server using PowerShell – Part 2

If you read part 1 then you know it’s pretty easy to get a list of certificates and display the days remaining until they expire. But what if you only want a list of certificates that are currently assigned (has a binding) to websites? This is a little more challenging, but PowerShell provides some tools … Continue reading How to find certificates that are expiring on your server using PowerShell – Part 2

How to find certificates that are expiring on your server using PowerShell– Part 1

So, I’m often asked how to quickly find certificates that are about to expire so that they can be replaced. Here is a quick way to list the days remaining before the certificates on your server are about to expire. PS> Get-ChildItem -Path Cert:\LocalMachine\My | Select-Object -Property PSComputerName, Subject, @{n=’ExpireInDays’;e={($_.notafter – (Get-Date)).Days}} By adding a … Continue reading How to find certificates that are expiring on your server using PowerShell– Part 1

How to make PowerShell the default console for Windows Server Core

In a previous blog I demonstrated how to autologon a windows server using PowerShell. (You should read that one first). On Windows Server Core I prefer to have PowerShell as the default console instead of the command prompt. There is an Old-Skool way of changing this that still works today. The registry key “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” … Continue reading How to make PowerShell the default console for Windows Server Core

Video – How to manage Exchange Server 2010 using PowerShell Remoting

In this DrillBit™ Video, learn how to use PowerShell Remoting to control Exchange Server 2010. It’s important to be able to manage your Exchange 2010 environment from anywhere in the world. Using PowerShell Remoting, you can have the Exchange cmdlets anywhere without installing additional tools or software. Upcoming live Exchange Server and PowerShell training at … Continue reading Video – How to manage Exchange Server 2010 using PowerShell Remoting

Video – How to use PowerShell Remoting to run Exchange Online in the cloud with Office 365

Video Trascript: Exchange Server 2010 is built completely on top of Remote PowerShell. It also runs in the cloud with Office 365 so you can actually use PowerShell Version 2.0 Remoting to run the commandlets against the Exchange servers in the cloud. It’s actually really simple to set up, and we’ll take a look at … Continue reading Video – How to use PowerShell Remoting to run Exchange Online in the cloud with Office 365