This post shows how to use PowerShell in Windows Server 2012 to configure scheduled tasks that apply across the whole cluster not just a single node http://blogs.msdn.com/b/clustering/archive/2012/05/31/10312527.aspx Well worth a read
Archive for May, 2012
May 2012 Powershell group recording and slides
Posted by: richardsiddaway | May 30, 2012 | No Comment |The recording, slides and demo scripts from last nights session – Powershell in Windows Server 8 part 2 – is available from https://skydrive.live.com/?cid=43cfa46a74cf3e96#cid=43CFA46A74CF3E96&id=43CFA46A74CF3E96%212966 The full set of historical recordings can be found here: https://skydrive.live.com/#cid=43CFA46A74CF3E96&id=43CFA46A74CF3E96%212469 2011 09 PowerShell remoting and end point customisation 2011 11 Whats new in PowerCLI 5 2011 12 Intro to WMI […]
I need to test the existence of an element in a hash table. First create a hash table $myht = DATA { ConvertFrom-StringData -StringData @’ 1 = aaaaaaa 2 = bbbbbbb 3 = ccccccc 4 = ddddddd 5 = eeeeeee ‘@ } I tend to create them using ConvertFrom-StringData as it simplifies typing, I […]
The ISE has a new look in PowerShell v3. The scripting pane remains but the output and interactive panes have been amalgamated to produce a single console like pane. When I first saw it I didn’t like it but after jumping between PowerShell v2 and v3 recently the single console pane has grown on me […]
Quick reminder that the UK PowerShell group session on PowerShell in Windows 2012 is on Tuesday 29 May. Details from http://msmvps.com/blogs/richardsiddaway/archive/2012/05/08/uk-powershell-group-may-2012.aspx
Many WMI classes have methods. Methods allow us to perform some action on the object. A recent question on the forum about using methods made me realise that there are still a lot of people following the old VBScript way of doing things. We will experiment with the BITS service as it is safe for […]
There are a number of new features in PowerShell v3 that while not huge like CIM or workflow are os significant help to the hard pressed administrator. One of these is the Unblock-File cmdlet. If you haven’t updated your help the online version is available at http://technet.microsoft.com/en-us/library/hh849924.aspx To test it I downloaded the PowerShell v2 […]
I found a class new to me – Msft_Providers and this got me interested in WMI providers. PS> Get-CimInstance -Class Msft_Providers | select -ExpandProperty provider Msft_ProviderSubSystem SCM Event Provider WmiPerfClass That seems a bit low. Digging a bit more I got back to the old favourite __provider. Get-CimInstance -Class __provider | Measure-Object produces an […]
Where-Object – aliased to where, but never, ever, ever, ever to ? – had a very simple syntax in PowerShell v2 Where-Object [-FilterScript] <scriptblock> [-InputObject <psobject>] [<CommonParameters>] It was normally used as Get-Process | where {$_.CPU -gt 25} The –FilterScript parameter (positional as 1 so don’t have to use it) supplies a script block that […]
29 May 2012 PowerShell and Windows server 2012 – new functionality pt 2 http://msmvps.com/blogs/richardsiddaway/archive/2012/05/08/uk-powershell-group-may-2012.aspx 4 July Jonathan Medd XenDesktop and PowerShell This will be at the slightly later time of 8.30 BST. Details to follow
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