Showing results for September 2006 - PowerShell Team

Sep 30, 2006
0
0

Linking against RC2

PowerShell Team
PowerShell Team

The RC2 SDK is not yet available.  Until it is, here is a quick and dirty way for you to find/extract the DLLs to link your code against.  Do this from a RC2 shell and you'll a copy of the DLLS in C:\SDK:   PS>[appdomain]::currentdomain.getassemblies() | where {($_.fullname -match "system.management") -OR ($_.fullname –match "...

SDK
Sep 26, 2006
0
0

Windows PowerShell RC2 Now Available

PowerShell Team
PowerShell Team

Windows PowerShell RC2 Now Available Today Microsoft announced the availability of Microsoft Windows PowerShell RC2, the command line shell and scripting language that helps IT Professionals achieve greater productivity and control of system administration. Using a new admin-focused scripting language and consistent syntax and utilities, ...

Sep 25, 2006
0
0

Windows PowerShell ISV/Developer Conference – Oct 9-10th, 2006

PowerShell Team
PowerShell Team

Windows PowerShell ISV/Developer Conference – Oct 9-10th, 2006   We have a small number of available slots available for ISVs or Enterprise Developers to attend the Windows PowerShell & Microsoft Management Console (MMC) ISV Workshop (Building Next Generation Command Line and GUI Applications on Windows) on October 9th & 10th, 2006.&...

Sep 17, 2006
0
0

TECHED: IT Forum

PowerShell Team
PowerShell Team

We are putting together our plans for TECHED IT Forum being held in Barcelona from Nov 14-17.  I'll be there as well as a number of other people from the Windows PowerShell team.  We'll be showing some new and very exciting stuff so if you are an IT Professional in Europe - I hope I'll see you there! http://www.mseventseurope.com/TechEd/...

Sep 17, 2006
0
0

Get-Process Piped to Dir

PowerShell Team
PowerShell Team

Did you know that you can pipe the output of Get-Process into dir?  Don't believe it?  Let me prove it: PS> Get-Process wi*Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName-------  ------    -----    &...

TYPEEXTENSION
Sep 17, 2006
0
0

Useful DateTime functions – LibraryTime.ps1

PowerShell Team
PowerShell Team

I was going to post a blog entries and realized that the example I wanted to give used some of my utility functions so I'll share them first.  I hope you find them interesting.  I put them in a file called LibraryTime.ps1 and dot source that during my login.  BTW  - everyone should adopt that pattern.  Files that contain ...

DOTNETMeasure-SinceMeasure-Till
Sep 17, 2006
0
0

The Wonders of Date Math using Windows PowerShell

PowerShell Team
PowerShell Team

Larry Hayden posted a query about dates at:http://techtasks.com/bookmarks/powershell/2006/09/interview-with-a-scripter-jeffrey-snover/ He has a script which gets all the Application Events that happened TODAY: ————————————————————$today = [DateTime]::Today$Events = Get-Eventlog -New 1024 Application | Where...

FAQDOTNET
Sep 15, 2006
0
0

ErrorLevel equivalent

PowerShell Team
PowerShell Team

PSMDTAG:FAQ: ErrorLevel - what is the PowerShell equivalent? In Cmd.exe, %ErrorLevel% is a builtin variable which indicates the success or failure of the last executable run. In PowerShell, we support:     $?       Contains True if last operation succeeded and False otherwise.And    ...

FAQ$lastExitCodeErrorLevel
Sep 14, 2006
0
0

Draft – Creating Cmdlet Help

PowerShell Team
PowerShell Team

NOTE: This content is also included as an RTF attachment as well. Creating Cmdlet Help When creating your own cmdlet, you can also create Help content that Windows PowerShell can display using the Get-Help cmdlet. The Help content that describes your cmdlet can include a description of the cmdlet, the syntax used by your cmdlet, parameter ...

DOCUMENTATIONHelp fileMaml
Sep 12, 2006
0
0

Windows PowerShell on TechNet Radio

PowerShell Team
PowerShell Team

Tune in & Geek out at Technet Radio: http://www.microsoft.com/technet/community/tnradio/default.mspx There are a couple of PowerShell podcasts there: Drill down into Windows PowerShell: An interview with Jeffrey Snover Scripting with Windows PowerShell: An interview with Vivek Sharma and Mihai Jalobeanu Enjoy! Jeffrey Snover [MSFT]Windows ...

Podcasts

Feedback