Content Preview: rss
725 days ago
/// <summary> /// Summary description for Main. /// </summary> static void Main( string [] args) { // string variable string myString = "myString" ; /* integer variable */ int myInt = 2 ; }
1022 days ago
protected override void ProcessRecord() { //Make sure both -Name and -Default aren't specified if (! string .IsNullOrEmpty(_Name) && _Default.IsPresent) { WriteError( new ErrorRecord( new ArgumentException( "Default and Name parameters can't both be specified" ), "DefaultAndName" , ErrorCategory.InvalidArgument, null )); return ; } //If the machine name is not specified, assume the local machine //(via the "." value) string machine = string .IsNullOrEmpty(_MachineName) ? "." : _MachineName; //Connect to the specified machine via the SMO WMI ManagedComputer object SmoWmi.ManagedComputer mc = new SmoWmi.ManagedComputer(machine); if ( string .IsNullOrEmpty(_Name) && !_Default.IsPresent) { //If neither Name or Default are specified, write all the //server ...
1170 days ago
1170 days ago
Tommorow is Patrick's first day of school. I never imagined preschool would be so involved. There was an open house earlier this afternoon and tonight there was a parent meeting that has run 35 minutes over as I type this. Flouride drops? Nut allergies? Car seats? Wow.
1210 days ago
We missed the MS Company Picnic - right in the middle of the recent heat wave - but today was the MSIT "Summer Bash" which we did manage to get to. I also have a new phone, w/ a better camera and a QWERTY keyboard, so I'm going to try and moblog more. Note to self: get memory card for new phone so I can take more pictures!



