[3/20/07 – Updated zip file with Demo-ManagingAD.Txt]
Attached is a zip file which contains the PowerPoint slides and demo scripts for my SW08 Managing Systems Using PowerShell talk that I’m about to give at MMS2007.
Enjoy!
Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
[Update] Here is the Wait-Process function that I refer to in the demo scripts. Note that doing a Get-Help Wait-Process will generate an error – that is the point. Get-Command gets you info about anything that can be invoked and Get-Help gets you help for things that have help (functions don’t have help in V1).
function Wait-Process([int]$id)
{
(get-Process -Id $id).WaitForExit()
}
0 comments