PowerShell for Windows Admins:

Operating System


March 30, 2012  8:49 AM

PowerShell in Practice offer today only



Posted by: Richard Siddaway
Active Directory, Books, Hyper-V, Network, Operating System, PowerShell, Processor, Registry, WMI

Manning have PowerShell in Practice on a half price offer today. Go to www.manning.com and use code dotd0330cc when ordering

March 4, 2012  7:27 AM

Windows Server 8–features removed or deprecated



Posted by: Richard Siddaway
Operating System, Windows Server 8

When you start your implementation planning for Windows Server 8 make sure to check with this page for functionality that has been removed or deprecated (means it will be removed in a future version)

Bookmark and Share     0 Comments     RSS Feed     Email a friend


March 3, 2012  8:26 AM

Windows 8 svchost



Posted by: Richard Siddaway
Operating System, PowerShell 3

When you run get-process you will see a number of entries named svchost.  These are processes that host services. In task manager on Windows 7 and below all we see is the svchost entry. In the Windows 8 family we see the services running in a particular host

Now can we do anything...


February 21, 2012  2:24 PM

Win32_AutocheckSetting class



Posted by: Richard Siddaway
Operating System, PowerShell, WMI

I stumbled on this class

Get-WmiObject Win32_AutochkSetting

The useful output is

Caption          :
Description      :
SettingID        : Microsoft...


July 22, 2011  1:43 PM

Can I? Should?–copying VBscripts



Posted by: Richard Siddaway
Operating System, WMI

One of the major errors I see PowerShell newcomers performing is copying script structures and syntax of VBScript into PowerShell. Let me give you an example

This piece of VBScript is borrowed from the Windows 2000 scripting guide

 

strComputer = "."


July 3, 2011  6:52 AM

Computer Report IV: Time server



Posted by: Richard Siddaway
Operating System, PowerShell v2, WMI

The batch file uses

net time /querysntp

which displays the name of the Network Time Protocol (NTP) server currently configured for the local computer or the one specified in ComputerName.

Unfortunately /querysntp  has been deprecated in later versions of...


July 3, 2011  5:06 AM

Computer Report: II Service Information



Posted by: Richard Siddaway
Operating System, WMI

 

The batch file retrieves service information using

wmic service where state="Running" get DisplayName, Caption

Direct PowerShell translation is this.

Get-WmiObject -Class Win32_Service -Filter "State='Running'" | Select DisplayName,...


July 1, 2011  1:56 PM

Computer report



Posted by: Richard Siddaway
Hardware, Operating System, PowerShell v2, WMI

A recent post on the powershell.com site asked about running a Windows command (batch) file through PowerShell against remote machines. The batch file was expected to produce a number of files of data in a folder structure based on computer name. This makes it difficult as we could in theory run...


April 26, 2011  1:08 PM

System Stability part II



Posted by: Richard Siddaway
Operating System, PowerShell v2, Windows 2008 R2, Windows 7, WMI

Last time we looked at the Win32_ReliabilityStabilityMetrics and closed by stating we’d look at the reliability records.  Reliability records are event log records related to system reliability.  The working part of the record is shown below (after the system properties are...


January 25, 2011  2:08 PM

System Restore Points pt 2



Posted by: Richard Siddaway
Operating System, PowerShell v2

  We have seen how to discover the available restore points.  What about creating one.

  Bookmark and Share     0 Comments     RSS Feed     Email a friend