|
|
Browse by Tags
All Tags » ctp » PowerShell
-
And I almost forgot the beginners events, not much special here :
Event 3
dir c:\scripts\*.txt |% {@(get-content $_)[0]} | out-file C:\Temp\Newfile.txt
Event 4
gc $MyInvocation.MyCommand.Definition | measure-object -c | fl c*
In relation to the last event you might take a look at this post on the ...
-
In this translation of a Hey Scripting guy article to PowerShell based on : How Can I Map Drives Based on Membership in an Active Directory Group When the User Belongs to Multiple Groups? I tuned the example a bit as I did not like the configuration of groups and drives in the script I moved them to a CSV file also I ...
-
More about the very cool Powershell V2 CTP next week when my NDA expires, but before that a warning on request of Jeffrey Snover about the installation of the CTP: The PowerShell V2 CTP is not for everyone. You should read this PowerShell Team blog entry ( http://blogs.msdn.com/PowerShell/archive/2007/11/02/ctp-watch-this-space.aspx ) to ...
|
|
|