Monthly Archives: December 2008

PowerShell User Group 2009

Two meetings are planned for early 2009. January 21st – Microsoft Reading – Webcast with Jeffrey Snover   February 10th – Microsoft Cardinal Place London – After the Powershell event in the afternoon – Jonathan Noble will be speaking   … Continue reading

Posted in PowerShell User Group | Leave a comment

CTP3 – Write-EventLog

Last of the new event log cmdlets is Write-EventLog.  I showed how to write to the event log here http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!275.entry.  This is still valid for PowerShell v1 or v2.  In v2 we can make life a bit simpler by using … Continue reading

Posted in PowerShell V2 | Leave a comment

CTP3 – New-EventLog

I have shown how to create an event log using simple .NET code a couple of times including http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!278.entry.  CTP 3 brings us a cmdlet that we can use to perform this act.  New-EventLog is used as follows. New-EventLog -LogName … Continue reading

Posted in PowerShell V2 | Leave a comment

PowerGUI – PowerShell Help

I have mentioned PowerGUI many times – I especially like the editor.  There is a large, and growing, library of PowerGUI powerpacks (additional functionality) available for download from http://www.powergui.org. I have just added the PowerShell Help powerpack to my system.  … Continue reading

Posted in Powershell | Leave a comment

CTP3 – Remove-EventLog

Remove-EventLog is a new cmdlet in CTP3.  It brings the following parameters: ComputerNameLogNameSourceVerboseDebugErrorActionWarningActionErrorVariableWarningVariableOutVariableOutBufferWhatIfConfirm The Source is how applications write to the event log – it is possible to just remove one or more sources rather than the whole event log. … Continue reading

Posted in PowerShell V2 | Leave a comment

CTP3 – Clear-EventLog

Continuing our tour around the event log cmdlets we come to Clear-EventLog.  This does exactly what it says – it clears the entries out of one or more logs. Note that it does not backup the entries in anyway – … Continue reading

Posted in PowerShell V2 | Leave a comment

CTP3 – Limit-EventLog

If we look at the event logs that are present on our system we will see how the logs are configured in terms of maximum size, retention days and the action to take in the event of the log becoming … Continue reading

Posted in Powershell | Leave a comment

CTP3 – Show-EventLog

Show-EventLog is a very straight forward cmdlet with a minimum of parameters.  Outside of the common parameters it can only take a computer name.  As it says in the name the cmdlet opens Event Viewer on the local or remote … Continue reading

Posted in Powershell | Leave a comment

CTP3 – Get-EventLog

No doubt there will be a mass of posts on the new features in CTP3 over the next weeks and months.  What I want to try and do is concentrate on those features that are of most benefit to administrators. … Continue reading

Posted in Powershell | Leave a comment

Sites and SiteLinks

In my series on System.DirectoryServices.ActiveDirectory I was going to cover creating sites and sitelinks – Rolf has just covered this material so I will point you there instead. http://www.powershell-ag.de/ps/Blog/tabid/73/EntryID/1123/Default.aspx   Technorati Tags: PowerShell,Active Directory

Posted in PowerShell and Active Directory | Leave a comment