header image

Archive for October, 2013

WMF 4.0 now available

Posted by: | October 27, 2013 | No Comment |

You’ve probably seen this already but just in case – Windows Management Framework 4.0 is now available to download. It includes PowerShell 4.0 and Desired State Configuration plus updates to PowerShell Web Access.  WinRm is also part of the package. Versions are available for: Windows 2012 Windows 7 SP1 Windows 2008 R2 SP1 Windows 7 […]

under: PowerShell v4

More Scripting Guy posts

Posted by: | October 27, 2013 | No Comment |

I’ve had some more articles posted on the Scripting Guy blog http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/27/the-admin-s-first-steps-local-group-membership.aspx http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/20/powertip-find-members-of-critical-groups-with-powershell.aspx http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/20/the-admin-s-first-steps-empty-groups.aspx   Enjoy

under: PowerShell Basics

I had another post in my Admin’s First Steps series on the Scripting Guy blog yesterday – http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/13/powertip-use-poweshell-to-start-service-on-remote-machine.aspx http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/13/the-admin-s-first-steps-discovering-shares.aspx Enjoy

under: PowerShell Basics

Possible speakers at the PowerShell Summit in April 2014. http://powershell.org/wp/2013/10/10/leak-powershell-summit-na-2014-speakers/   If you want to see, hear and talk to these PowerShell experts – the PowerShell summit is unlike most other conferences as the speakers are available Now is the time to register – http://powershell.org/wp/community-events/summit/powershell-summit-north-america/summit-registration/ Some places will be reserved for the New Year for […]

under: PowerShell original, PowerShell Summit

Testing Service Health

Posted by: | October 10, 2013 | No Comment |

Two new posts from me on the Scripting Guy blog http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/10/powertip-change-output-object-property-names-with-powershell.aspx http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/10/the-admin-s-first-steps-testing-service-health.aspx Enjoy

under: PowerShell Basics

AD Management MEAP v 11

Posted by: | October 9, 2013 | No Comment |

The next MEAP for AD Management in a Month of Lunches is available from Manning – www.manning.com/siddaway3 This adds chapter 20 on maintaining and monitoring AD together with appendix A on searching AD Enjoy

under: Books, PowerShell and Active Directory

ADs 1000 object limit

Posted by: | October 8, 2013 | No Comment |

By default when you query AD using a script or cmdlet you won’t get more than 1000 objects returned. If your AD contains 4000 users and you run Get-ADuser –filter * You’ll still only get the first 1000 users returned. This is by design to prevent you accidentally unleashing the “query from hell” and grinding […]

under: PowerShell and Active Directory

Desired State Configuration is the headline item in PowerShell 4.0 Steven Murawski has started a series of posts on PowerShell.org. The first two posts are available http://powershell.org/wp/2013/10/02/building-a-desired-state-configuration-infrastructure/ http://powershell.org/wp/2013/10/03/building-a-desired-state-configuration-pull-server/ More to come

under: PowerShell v4, Uncategorized

I can’t count the number of times I’ve seen something like this: Get-WmiObject -Class Win32_LogicalDisk -Filter {DriveType = 3} | select @{N=’Capacity’; E={[math]::Round(($_.Size / 1073741824), 2)}} What’s wrong this? The use of 1073741824 – in case you don’t recognise the number its 1 gigabyte. Wouldn’t you prefer to do this Get-WmiObject -Class Win32_LogicalDisk -Filter {DriveType […]

under: PowerShell Basics

Which of these should you use Get-WmiObject -Class Win32_LogicalDisk | where DriveType -eq 3 or Get-WmiObject -Class Win32_LogicalDisk -Filter {DriveType = 3} They both give the same results after all. Against a remote machine the first one took 640 milliseconds and the second took 245 milliseconds. The reason for the difference is that the first […]

under: PowerShell and WMI, PowerShell Basics

« Newer Posts - Older Posts »