Systems Automation
A Blog of Automation and Administration Activities
Friday, June 18, 2010
Right way to read a file in itration. Powershell
Foreach ($name in (Get-Content c:\names.txt))
{
# do something with $name
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment