Jump to content











Photo
- - - - -

PowerShell tutorial for admins - Part 3: Run a PowerShell script


  • Please log in to reply
No replies to this topic

#1 Michael Pietroforte

Michael Pietroforte

    Silver Member

  • Advanced user
  • 660 posts
  •  
    Germany

Posted 23 June 2011 - 03:42 PM

In this article you will learn the basics of running PowerShell script files.

This is the third installment of a multi-part series on Windows PowerShell for Windows systems administrators. To get caught up on our subject matter, you might want to read the two previous articles about cmdlets and the pipeline and about aliases and drives.

Now, then—on with the show. While issuing ad-hoc PowerShell cmdlets from a PowerShell prompt is all well and good for occasional or on-demand use, you don’t truly begin to leverage the strengths of Windows PowerShell until you aggregate your code (which can include variables, branching, looping, error handling, etc.) into script files.

… read more of PowerShell tutorial for admins - Part 3: Run a PowerShell script

Author: Timothy Warner
Copyright © 2006-2011, 4sysops, Digital fingerprint: 3db371642e7c3f4fe3ee9d5cf7666eb0


View the full article




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users