Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Creating an Access database

    I’ve blogged a bit about using SQL Server with PowerShell, and using Word and Excel through PowerShell.  I realised that I hadn’t seen much about using Access. Access is part of the Office suite and is present on many desktops. It forms a handy data store for using with PowerShell. In this series...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Sun, Nov 22 2009
    Filed under: Filed under: , ,
  • WMICookbook: Read Routing Table

    When we need to troubleshoot networking problems we will sometimes need to read the routing table on a machine. The routing table contains the information on the routes known to the network interfaces. This can be created automatically or manually . On the local machine we can use the route command to...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Fri, Nov 20 2009
    Filed under: Filed under: ,
  • PowerShell v2 cmdlets

    Jonathan has started a series of posts at http://www.jonathanmedd.net/ on all of the new cmdlets in PowerShell v2.  If you are just starting with v2, or want more information on whats new, this is a good place to start. Technorati Tags: PowerShell v2 , cmdlets
    Posted to Richard Siddaway's Blog by RichardSiddaway on Thu, Nov 19 2009
    Filed under: Filed under:
  • Reminders via WPF

    If I am working on my home machine I don’t necessarily have Outlook or any other application that gives me calendaring capability open. There are times when I need a simple reminder to do something. For some reason I always seem to have PowerShell open so I thought of using the eventing system to give...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Wed, Nov 18 2009
    Filed under: Filed under: ,
  • WMI CookBook: Associators Pt I

    WMI is a wonderful thing and like many people I have a love-hate relationship with it. It is incredibly powerful, and can take you deep into the system, but it is not easy to find your way. I have decided to spend some time digging into WMI and will document the findings in a (long) series of blog posts...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Mon, Nov 16 2009
    Filed under: Filed under: ,
  • Friday 13th Part II

      No not the film 001 002 003 004 005 006 007 008 009 010 011 012 013 function   get-fri13   { <# .SYNOPSIS Calculates each Friday 13th for a given year .DESCRIPTION .PARAMETER year Specifies the year as an integer .EXAMPLE for current year get-fri13 for single year get-fr13 2010 for...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Sat, Nov 14 2009
    Filed under: Filed under:
  • Scheduled Tasks

    Keeping on the theme of Scheduled Tasks I wanted to dig into the tasks that exist on my system.  I did a fresh install of Windows 7 in August and haven’t created any scheduled tasks – so what I see should be close to the system defaults.  This machine isn’t in a domain. I can load the task...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Fri, Nov 13 2009
    Filed under: Filed under: , ,
  • Cleaning the Temp folder - Scheduling

    When I posted about cleaning the temp folder http://msmvps.com/blogs/richardsiddaway/archive/2009/11/04/cleaning-temp-folder.aspx I said I would look at scheduling the task.  I had intended to use the TaskScheduler module in the new PowerShell pack which can be downloaded from http://code.msdn.microsoft...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Thu, Nov 12 2009
    Filed under: Filed under: ,
  • Extension for temporary files

    When I did the post on creating temporary files http://msmvps.com/blogs/richardsiddaway/archive/2009/11/05/creating-temporary-files.aspx I said I’d modify it so the file would be created with a given extension. 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Wed, Nov 11 2009
    Filed under: Filed under: , ,
  • Security Essentials

      001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 #Requires -version 2.0 ## wrapper functions for Microsoft Security Essentials $mse   =   "C:\Program Files\Microsoft Security Essentials\MpCmdRun.exe" function   Start-Scan {    ...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Tue, Nov 10 2009
    Filed under: Filed under:
  • Getting Change Events

    I wasn’t particularly happy with the script for getting change events on the filesystemwatcher we discussed last time.  As a quick recap we ended up with this 001 002 003 004 Get-Event   -SourceIdentifier   "File System Changed"   |   where   { ( $_ . EventIdentifier...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Mon, Nov 9 2009
    Filed under: Filed under: ,
  • Watching the file system

    We saw how to watch for WMI events http://msmvps.com/blogs/richardsiddaway/archive/2009/11/07/powershell-wmi-events.aspx . In this post we will look at watching the file system. This time we will use the .NET System.IO.FileSystemWatcher object which means we use Register-ObjectEvent instead of Register...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Mon, Nov 9 2009
    Filed under: Filed under: ,
  • Multiple test files

    Back here http://msmvps.com/blogs/richardsiddaway/archive/2009/11/05/creating-temporary-files.aspx or http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!2595.entry I showed how to create temporary test files. We can simply create multiple test files like this 1..10 | foreach {new-tempfile...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Sun, Nov 8 2009
    Filed under: Filed under: ,
  • PowerShell WMI events

    In my previous post ( http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!2598.entry   or http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!2598.entry ) I started to look at WMI events in PowerShell v2.  The win32_process class was used but all that showed us was...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Sat, Nov 7 2009
    Filed under: Filed under: ,
  • PowerShell Eventing

    This isn’t the latest sport added for the 2012 Olympics but a way to dig deeper into what is happening on your machine.  There is a continuous stream of events occurring on a computer – programs stop or start, files open or close etc etc.  Some, but all, of these events are recorded in the...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Sat, Nov 7 2009
    Filed under: Filed under: ,
  • Word module

    I’ve posted a PowerShell module that includes the functions in earlier posts to my skydrive  -   http://cid-43cfa46a74cf3e96.skydrive.live.com/browse.aspx/PowerShell%20Scripts Enjoy Technorati Tags: PowerShell v2 , Word , Module
    Posted to Richard Siddaway's Blog by RichardSiddaway on Mon, Sep 7 2009
    Filed under: Filed under:
  • Unblocking files

    When I download files from the Internet to Vista or Windows 7 the file is blocked and I can’t execute it until its unblocked. This is especially annoying with zip files because if I unzip them all the contents are blocked. I have been meaning to do something in PowerShell for this and finally got round...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Sat, Sep 5 2009
    Filed under: Filed under: , , ,
  • Codeplex AD Replication Module

    The other codeplex project that caught my eye was a brand new one to create a PowerShell module to manage AD replication.  This one will be very useful and one I will be using a lot. There is still time for suggestions as to content for this project – see http://adreplicationmodule.codeplex.com...
  • Codeplex PowerShell Configurator

    I was looking at codeplex (Microsoft’s Open Source site) and decided to do a search for projects relating to PowerShell. 161 projects were returned.  The first 110 had an obvious PowerShell connection.  This is a tremendous number and really does demonstrate the strength of the PowerShell community...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Fri, Sep 4 2009
    Filed under: Filed under: ,
  • Word Add text

    Keeping on with our look at Word we need to able to add text to the documents we are creating. 001 002 003 004 005 006 007 008 009 010 011 function   Add-Text   {     param   (         [string]   $style   =   "Normal"...
    Posted to Richard Siddaway's Blog by RichardSiddaway on Thu, Sep 3 2009
    Filed under: Filed under:
Page 1 of 5 (95 items) 1 2 3 4 5 Next >