skip to main | skip to sidebar

powerShell&Me

my time with powershell if you are new to powershell click on the mission link to setup your enviroment

Saturday, November 22, 2008

for each

  In PowerShell, foreach is both a statement and an alias to the ForEach-Object cmdlet. 

While you might think that both of these examples do exactly the same thing, they do not. 

Powershell tutorial 8 part 1

PowerShell tutorial 8 part 2

Essential PowerShell: Understanding foreach

 

 

Posted by pghboemike at 6:57 AM
Labels: scripts, technique

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Topics

  • .net
  • Active Directory
  • AdUsers
  • blogs
  • ctp2
  • ctp3
  • database
  • DNS
  • excel
  • exchange
  • functions
  • GPO
  • GUI
  • hashTable
  • help
  • ldap
  • logparser
  • misc
  • mission
  • moveCollection
  • myBlogs
  • posh enviroment
  • primalforms
  • projects
  • psbase
  • regEx
  • remoting
  • resource
  • SCRIPTCMDLETS
  • scripts
  • sharepoint
  • socialNetwork
  • sql
  • technique
  • tools
  • tutorial
  • vmware
  • webcast
  • who_Am_I
  • wmi
  • xml

Blog Archive

  • ►  2009 (22)
    • ►  June (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (10)
    • ►  January (7)
  • ▼  2008 (31)
    • ►  December (18)
    • ▼  November (9)
      • How To Send PowerShell Script Output To Excel Or Xml
      • Ying Li(MVP) at myITforum.com PowerShell script to
      • error handeling
      • for each
      • PowerShell dig (nslookup) Cmdlet!
      • Keep in-sync with SysInternals tools
      • Powershell and the VI Toolkit!
      • PrimalForms
      • PowerShell cmdlets for AD
    • ►  October (2)
    • ►  July (2)
  • ►  2007 (68)
    • ►  December (2)
    • ►  November (2)
    • ►  October (1)
    • ►  August (8)
    • ►  July (55)
 

resourses

  • MS posh newsgroup
  • posh community extentions
  • posh_webcasts
  • powerGUI discussions
  • powerscripting podcast
  • powershell community
  • quest AD commandlets how-to
  • scriptingAnswers