Recent Updates Page 2 Toggle Comment Threads | Keyboard Shortcuts

  • Chris 10:45 am on March 27, 2010 Permalink | Reply
    Tags: , Scripting Games 2010   

    Scripting Games 2010! 

    Hi Folks ,

    Haven’t posted in awhile but that will change soon . Here is a link to the Scripting Games. I might participate because this is always a good learning experience.

    2010 Scripting Games

    Grab this badge here!

    Have Fun !
    Chris

    Advertisements
     
  • Chris 1:09 pm on January 31, 2010 Permalink | Reply
    Tags: Advanced Function parameters,   

    Advanced Function Parameters 

    Hi Folks ,

    Not a long post but I just wanted to mention that I had emailed the scripting guys about help on creatingย  parameters that get passed to advanced functions because the syntax looks strange to me . Ed Wilson emailed me back right away (Thank you Ed ) and gave me some information that will help me out that I wanted to pass on. I read Ed’s windows Powershell book which was about 1.0 and I was very impressed with it . He also has Powershell Version 2 best practices out now that I may pick up in the near future here.

    To get more information about advanced function parameters you can simple get help in powershell by entering this in the console .Wealth of information here :

    Help about_Functions_Advanced_Parameters

    Also by downloading the powershell SDKย  here.

    http://msdn.microsoft.com/en-us/library/ms714469%28VS.85%29.aspx

    The powershell SDK I believe is part of the Windows SDK now.

    Hope this helps ๐Ÿ™‚ .

    Chris

     
  • Chris 12:38 pm on January 31, 2010 Permalink | Reply
    Tags: ,   

    PowerGui 2.0 

    Get the best free editor around Powergui 2.0 here. They are always making this editor better and enhancing its features. ๐Ÿ™‚

    Chris

     
  • Chris 6:09 am on December 5, 2009 Permalink | Reply
    Tags: ,   

    PowerGui 1.9.6 

    Get the latest free editor for powershell . Did I mention its free and its awesome .

    http://powergui.org/downloads.jspa

    Have a Great Day !

    Chris

     
  • Chris 11:49 pm on November 26, 2009 Permalink | Reply
    Tags: HP, Humor, R2D2   

    What if HP Made an R2D2 Unit ? 

    Happy Holidays !

    Chris

     
  • Chris 10:08 pm on November 25, 2009 Permalink | Reply
    Tags: AD CMDLETS, , Quest AD CMDLETS   

    AD Cmdlets 1.3 from Quest RTM’ed 

    If you have not used Quests AD Cmdlets your missing out on a real treat . Head over to Dmitry’s blog for more information . You will not be disappointed.

    http://dmitrysotnikov.wordpress.com/2009/11/25/ad-cmdlets-1-3-rtmed/

    They are free and feature rich ๐Ÿ™‚

     

    Chris

     

     

     
  • Chris 6:04 pm on November 25, 2009 Permalink | Reply
    Tags: Holidays, Thanksgiving   

    Happy Thanksgiving! 

    Its that time of the year again . Time to reflect and give thanks . I hope everyone has a great ,happy and safe thanksgiving .

    Chris

     

     
  • Chris 7:23 pm on November 24, 2009 Permalink | Reply  

    Studying for my VCP4 exam

     
  • Chris 7:22 pm on November 24, 2009 Permalink | Reply
    Tags: serverfault, stackoverflow   

    Good to have websites! 

    I was listening to the latest powerscripting podcast here .ย  They had Jeff Atwood the mastermind behind stackoverflow.com and Serverfault.com. Very nice sites if your searching for technical info or have a question . Great sites to post your question and have high visibility.

    Chris

     

     

     
  • Chris 11:53 am on November 20, 2009 Permalink | Reply
    Tags: Get-content, netlogon.log,   

    Creating a Unix like tail with Get-content 

    Wow I haven’t written a blog in a long time ….

    Hi everyone hope you’re doing well . A very short blog about the Get-Content cmdlet . Get-content has a very nice parameter called -wait . I have been using this for example to find users that lock out there AD accounts frequently and don’t know why they are getting locked out . The netlogon.log captures this info (If your DC is set up for debugging this info ) so it makes it easy to catch these lockouts . What -wait does is monitor the log file or text file so that anything added to it it will display . If you pipe that to a regex statement you can narrow down your search and pinpoint what you’re looking for … So for example if Bob.Roberts is locking out is account and doesn’t know why you can do this :


    gc \\DcName\c$\Windows\debug\netlogon.log -wait | ? {$_ -match "Bob.Roberts"}

    So now any entries that contain Bob.Roberts will be displayed and if not it will just sit there and wait and monitor the log . A great way to just put the powershell window to the side and do other things will waiting for results ๐Ÿ™‚ .

    Hope you like this tip ๐Ÿ™‚

    Chris

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel