Showing results for April 2013 - Scripting Blog [archived]

Apr 30, 2013
0
0

PowerTip: Use PowerShell to Check DHCP Status

Doctor Scripto
Doctor Scripto

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 &...

Scripting Guy!Windows PowerShellPowerTip
Apr 30, 2013
0
0

Monitor an AlwaysOn Availability Group with PowerShell

Doctor Scripto
Doctor Scripto

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 SQL ...

Scripting Guy!Windows PowerShellguest blogger
Apr 29, 2013
0
0

PowerTip: Find Printer Configuration in Windows 8

Doctor Scripto
Doctor Scripto

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-Printer...

Scripting Guy!Windows PowerShellPowerTip
Apr 29, 2013
0
0

Set Up an AlwaysOn Availability Group with PowerShell

Doctor Scripto
Doctor Scripto

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 ...

Scripting Guy!Windows PowerShellguest blogger
Apr 28, 2013
0
0

PowerTip: Use PowerShell to Find Total CPU Time

Doctor Scripto
Doctor Scripto

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       &...

Scripting Guy!Windows PowerShellPowerTip