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.ps1PS> ./test.ps1 We can see the file in a directory listing PS> Get-ChildItem test.ps1 Directory: C:\scripts Mode LastWriteTime Length Name—- ————- —— —–a— […]
Archive for May, 2009
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 […]
In this post http://richardsiddaway.spaces.live.com/default.aspx?_c01_BlogPart=blogentry&_c=BlogPart&handle=cns!43CFA46A74CF3E96!2349 I was complaining that Live Search had stopped working on my Windows 7 build. I had a Vista machine that I had upgraded and post the upgrade Live Search wouldn’t work. I’d also noticed that Live Search had stopped working on a Vista machine that had been upgraded to IE8. I […]
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 […]
Chapter 12 – dealing with Exchange servers is available on MEAP – http://www.manning.com/siddaway/ Chapter 13 (IIS) is coming along nicely and should be available soon Enjoy
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—md5.aspx Technorati Tags: PowerShell
One thing that is really driving me nuts with windows 7 is the way it keeps deciding to maximise Windows just because I happen to move them to a particular point on screen. if I want a Window maximised I will maximise it. Stop making decisions on my behalf. I’ve had to use Windows XP […]
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 announcement and see http://www.microsoft.com/technet/scriptcenter/funzone/games/default.mspx for the previous years events. while ($true) {“I […]
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 looking for something like the UNION […]
Looking at the module list available when you install the Windows 2008 R2 RSAT pack on Windows 7 I noticed one called NetworkLoadBalancingClusters. Well really its called NetworkLoadBalancingCl… in most displays. NetworkLoadBalancingClusters must the longest of module names! Still when we import it we get a long list of cmdlets – (Get-Command -Module […]
Categories
- .NET
- Active Directory
- Architecture
- Azure
- Bash
- BITS
- Books
- CDXML
- CIM
- Cloud
- COM
- Containers
- Deep Dive
- Desired State Configuration
- DevOps
- DHCP
- DNS
- DSC
- European Summit
- Events
- Exchange
- File System
- Firewall
- General
- General IT Matters
- Hyper-V
- IIS
- Infrastructure
- IT Community
- IT Security
- Learning PowerShell
- Linux
- Math
- Microsoft
- Modules
- Nano Server
- Networking
- Office 2010
- Office 2013
- Open Source
- Opinion
- Outlook
- Philosophy
- PowerShell
- PowerShell 7
- PowerShell and .NET
- PowerShell and Active Directory
- PowerShell and CIM
- PowerShell and Exchange 2007
- PowerShell and IIS
- PowerShell and SQL Server
- PowerShell and WMI
- PowerShell Basics
- PowerShell original
- PowerShell Summit
- PowerShell User Group
- PowerShell User Group 2
- PowerShell v2
- PowerShell V3
- PowerShell v4
- PowerShell v5
- PowerShell v6
- PowerShell.org
- PowerShellGet
- PowerShellV2
- PSAM
- Rant
- Registry
- Scripting
- Scripting Games
- Scripting Games 2104
- Security
- SQL Server
- Storage
- Strings
- Summit
- Technology
- Uncategorized
- Virtualization
- Windows 10
- Windows 2012 R2
- Windows 7
- Windows 8
- Windows 8 Server
- Windows 8.1
- Windows Server
- Windows server 1709
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- WMFv5
- WPF
- WSUS