header image

Archive for June, 2014

If you’re really interested in using workflows you may find this series of articles I did for the Scripting Guy useful: 1. Basics – introduce workflows, key concepts and keywords http://blogs.technet.com/b/heyscriptingguy/archive/2012/12/26/powershell-workflows-the-basics.aspx 2. Restrictions – cmdlets not available as workflow activities, using inlinescript, using variables http://blogs.technet.com/b/heyscriptingguy/archive/2013/01/02/powershell-workflows-restrictions.aspx 3. Nesting work flows and functions http://blogs.technet.com/b/heyscriptingguy/archive/2013/01/09/powershell-workflows-nesting.aspx 4. Workflows and […]

under: PowerShell V3, PowerShell v4

In a recent post I asked for areas of PowerShell that caused problems. Workflows were one of the things mentioned so I’ll start with a series of posts on that topic.   Workflows were introduced to PowerShell in version 3.0 of the Windows Management Framework with Windows 8/2012. A few changes have been made in […]

under: PowerShell V3, PowerShell v4

The agenda for the PowerShell Summit Europe 2014 is available on line.  See the link from http://powershell.org/wp/community-events/summit/ The Summit is a benefit of AWPP membership which will be available from 15 July 2014. We only have room for 60 attendees so please sign up early to avoid disappointment.

under: European Summit, PowerShell original

PowerShell has grown from the original 137 cmdlets to a huge many faceted management platform. Each new iteration of PowerShell sees new features – Remoting, Workflow, DSC, OneGet. I don’t expect that to change in the near future. The sheer size of PowerShell means its very difficult to be an expert in everything? Is there […]

under: PowerShell original

Steve Murawski gave three exceptional sessions on using DSC at the recent PowerShell summit. The videos of those sessions can be found here – http://powershell.org/wp/2014/05/23/patterns-for-implementing-a-dsc-pull-server-environment/ http://powershell.org/wp/2014/05/22/building-scalable-configurations-with-dsc/ http://powershell.org/wp/2014/05/21/life-and-times-of-a-dsc-resource/ Highly recommended

under: PowerShell Summit, PowerShell v4

The PowerShell Summit in Europe for 2014 will be held in Amsterdam – 20 September to 1 October Details are available here – http://eventmgr.azurewebsites.net/home/event/PSEU14   The agenda is shaping up nicely and we’re looking to publish that soon. Shortly after that we will be opening up the registration process. There are a limited number of […]

under: European Summit

I had a question left on my blog about renaming all of the user accounts in an OU had their name changed to match the display name.  I started by creating a few dummy accounts: PS s> Get-ADUser -Filter * -SearchBase "OU=Test,DC=Sphinx,DC=org"  -Properties DisplayName | Format-Table DisplayName, Name -AutoSize DisplayName Name ———– —- Green Fred  […]

under: Active Directory, PowerShell original

When you look at a FileSystemAccessRule it’llbe something like this: FileSystemRights  : Modify, Synchronize AccessControlType : Allow IdentityReference : NT AUTHORITY\Authenticated Users IsInherited       : True InheritanceFlags  : None PropagationFlags  : None So far we haven’t dealt with the three inheritance flags. Isinherited indicates that the permission is inherited from further up the file system tree […]

under: File System, PowerShell original

Some other options you can use for validating your input include: [ValidateCount(1,10)] tests the number of values being passed to the parameter – must be within the range (including end points ) specified   [ValidateLength(1,10)] tests the number of characters in a parameter value – must be within the specified range [ValidatePattern("\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b")] ## IP Address […]

under: PowerShell Basics

The next wave of the DSC resource kit has been released. Notable additions include support for configuring DNS and DHCP servers and your event logs. Details from http://blogs.msdn.com/b/powershell/rss.aspx

under: PowerShell v4

« Newer Posts - Older Posts »

Categories