Summary: Use Windows PowerShell to check on DHCP status.
How can I use Windows PowerShell to check on my DHCP status?
Use the Get-Service cmdlet and search for services that have DHCP in the name. You can do this remotely if the firewall has exceptions and if you have rights.
PS C:\> gsv -Name *dhcp* -ComputerName wds1...
Summary: Guest blogger, Tom Stringer, illustrates how to monitor an AlwaysOn Availability Group by using Windows PowerShell to ensure high availability functionality in an environment.
Microsoft Scripting Guy, Ed Wilson, is here. Today we have another blog in our SQL Server Week series from Microsoft PFE, Thomas Stringer.
Thomas Stringer is a ...
Summary: Use Windows PowerShell 3.0 in Windows to easily find printer configuration settings.
How can I use Windows PowerShell to easily find printer configuration settings on my Windows 8 computer?
Use the Get-Printer function to retrieve all printer objects, and pipe the results to the Get-PrintConfiguration function:
Get-...
Summary: Microsoft SQL Server PFE, Thomas Stringer, talks about using Windows PowerShell to set up an AlwaysOn availability group.
Microsoft Scripting Guy, Ed Wilson, is here. Today we kick off SQL Server Windows PowerShell Week. Our first blog of the series is a guest blog written by SQL Server PFE, Thomas Stringer. Here is a little bit about...
Summary: Use Windows PowerShell to find the total CPU time of a process.
How can I return a timespan that represents the total CPU time of a process?
Use the Get-Process cmdlet and select the TotalProcessorTime property:
PS C:\> (gps excel).totalprocessortime
Days &...