Browse Site by Tags

Showing related tags and posts across the entire site.
  • Hidden Files

    The last post got me thinking about hidden files and file attributes and how we can manipulate them in PowerShell. Lets start by creating a PowerShell script. PS> "'hello world'" > test.ps1 PS> ./test.ps1 We can see the file in a directory listing PS> Get-ChildItem test...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Sat, May 30 2009
    Filed under: Powershell, Hidden Files, File Attributes
  • Removing Hidden files

    I used the OneNote 2007 Side Note utility this morning and for some reason it created a table of contents file ( .onetoc2 ) file in each of the folders in which I keep my PowerShell. Strange behaviour. Any way there are more of them than I want to delete by hand. Get-ChildItem doesn’t show them – they...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Thu, May 28 2009
    Filed under: Powershell, Hidden Files
  • Friday 19 June 2009

    Where are you going to be on Friday 19 June? Glued to your computer – thats where. Why? Because it is the TechNet Virtual Conference – that’s why. Lots of great sessions on all sorts of new Microsoft technologies. First Important point Yes there is a PowerShell session. I am presenting so of the great...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Thu, May 21 2009
    Filed under: Powershell, Virtual Conference
  • Unix to PowerShell

    PowerShell already uses some Unix commands as aliases e.g. ls is alias for Get-ChildItem. Joe Pruitt is starting a series of posts that will create PowerShell equivalents for some of the most popular Unix tools. First up is md5 http://devcentral.f5.com/weblogs/Joe/archive/2009/05/18/unix-to-powershell...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Tue, May 19 2009
    Filed under: Powershell
  • Scripting Games 2009

    The last few years have seen Microsoft running the annual Scripting Games – usually early in the year. Don’t worry if you think you’ve missed them as this year they will be in the Summer – June 16-26. See - http://www.microsoft.com/technet/scriptcenter/funzone/games/games09/announcement.mspx for the...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Mon, May 18 2009
    Filed under: Powershell, Scripting Games
  • Combining Output

    A recent question of the PowerShell forum asked how the output of two scripts could be combined. The scripts in question were using Get-ChildItem and Get-Acl to pull back two sets of information related to the file. PowerShell produces objects. .NET objects with a PowerShell wrapper. The questioner was...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Sat, May 16 2009
    Filed under: Powershell, Objects, ACLs
  • Get-PSDrive

    Get-PsDrive has been one of those cmdlets that you use without really noticing – when you want to see if a provider is loaded for instance. In the Windows 7 RC the display has had a makeover. PS> Get-PSDrive Name Used (GB) Free (GB) Provider Root CurrentLocation ---- --------- --------- -------- ...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Fri, May 8 2009
    Filed under: Powershell, PowerShell V2, Windows 7
  • PowerShell User Group - clarification

    Sorry for the confusion regarding the User Group Meeting. Yes – it is an in person event. Microsoft Offices in Reading (TVP) Building 3. 6.30 – 9.00pm Yes – it will be broadcast be Live Meeting – (assuming all works properly) If you would like to try a meeting please come along. Leave a comment here...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Thu, May 7 2009
    Filed under: Powershell, PowerShell User Group, User Group
  • PowerShell User Group Meeting

    The PowerShell User Group meeting will be 19 May Microsoft Offices in Reading. 6.30-9.00pm Speaker: Dmitry Sotnikov of Quest and PowerGUI fame We will broadcast the meeting over Live Meeting Join the meeting. Audio Information Computer Audio To use computer audio, you need speakers and microphone, or...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Mon, May 4 2009
    Filed under: Powershell, PowerShell User Group, User Group
  • Computername parameter

    This is something I’ve been meaning to share for a while. Many of the cmdlets in PowerShell v2 get an explicit remoting capability via the computername property. get-help * -Parameter computername | sort name Clear-EventLog Connect-WSMan Disconnect-WSMan Enter-PSSession Get-Counter Get-EventLog Get-HotFix...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Fri, May 1 2009
    Filed under: Powershell, PowerShell V2, Windows 7, v2, Remoting
Page 1 of 27 (268 items) 1 2 3 4 5 Next > ... Last »