header image

Archive for December, 2013

On Monday 16 December Manning are offering 50% off all ebooks using code dot1216au at www.manning.com Check http://deals.manningpublications.com/countdown2014.html for other deals between now and the end of the year

under: Books

I had a question regarding these posts:   http://msmvps.com/blogs/richardsiddaway/archive/2012/06.aspx http://msmvps.com/blogs/richardsiddaway/archive/2013/12/10/1810778.aspx   The question came from someone needing to clean up a set of domain specific profiles. You can adapt the code in the articles to identify the domain specific profiles like this: $domain = "mydomain" Get-CimInstance -ClassName Win32_UserProfile -Filter "Special = ‘$false’" | select LocalPath, […]

under: PowerShell and WMI

Final MEAP for AD Lunches

Posted by: | December 11, 2013 | No Comment |

The final MEAP for AD Management in a Month of Lunches has been released. The book is on a half price offer today so still time for a Christmas bargain if you’re quick http://www.manning.com/siddaway3/

under: Active Directory, PowerShell and Active Directory

Deal of the Day December 11: Half off my book Learn Active Directory Management in a Month of Lunches. Use code dotd1211au at www.manning.com/siddaway3/   Also available: Learn SQL Server Administration in a Month of Lunches (www.manning.com/jones5/) Learn SCCM 2012 in a Month of Lunches (www.manning.com/bannan/) 

under: Active Directory, Books, PowerShell and Active Directory

Scripting Games countdown

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

The countdown to the 2014 Winter Scripting Games has started. The ideal way to brighten up the depths of winter. This Games is for teams of least two. You can learn more by downloading and reading the players guide: http://powershell.org/wp/2013/12/09/2014-winter-scripting-games-players-guide/ The games start January 2014 so don’t go looking for events just yet. Now would […]

under: PowerShell.org, Scripting Games

Windows installed features

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

On a Windows Server 2012 or 2012 R2 system you can install the ServerManager module and use the Get-WindowsFeature cmdlet to discover the installed features. They can be managed with Install-WindowsFeature and Uninstall-WindowsFeature . These cmdlets don’t exist on Windows 8/8.1 However the Dism (Deployment Image Servicing and Management) module can help out. The Dism […]

under: PowerShell V3, PowerShell v4, Windows 8, Windows 8.1

Windows 7 shipped with PowerShell 2.0 installed.  Windows 8 brought PowerShell 3.0 and Windows 8.1 brings PowerShell 4.0.   Windows 8 and 8.1 also have a lot of modules installed. This extra functionality widens PowerShell reach immensely – the networking modules alone are a significant step forward. When you install PowerShell 3.0 or 4.0 on […]

under: CDXML, PowerShell and CIM, PowerShell and WMI, PowerShell V3, PowerShell v4, Windows 7, Windows 8, Windows 8.1

Future thoughts

Posted by: | December 6, 2013 | No Comment |

I spent last night configuring a new Windows 8.1 device – finally retired my venerable HP laptop. One thing that struck me as I was working through the various installs was where my data was.  The last time I’d configured a new machine all of the data was held locally and I’d needed to copy […]

under: Opinion

CDXML–scripting creation

Posted by: | December 5, 2013 | No Comment |

So far you’ve seen how to create CDXML files by hand – though you probably used cut and paste rather than typing everything from scratch. Its time to bring a bit of automation to creating CDXML files. The XML is fairly simple and you’re only changing a couple of values so you can do this: […]

under: CDXML, PowerShell and CIM, PowerShell and WMI, PowerShell V3, PowerShellV2

Continuing the creation of a Hardware investigation module – its a simple matter to add a cmdlet to retrieve the computer system data ie Win32_ComputerSystem First create a CDXML file like this: <?xml version="1.0" encoding="utf-8"?> <PowerShellMetadata xmlns="http://schemas.microsoft.com/cmdlets-over-objects/2009/11">   <Class ClassName="ROOT\cimv2\Win32_ComputerSystem">     <Version>1.0</Version>     <DefaultNoun>ComputerSystem</DefaultNoun>     <InstanceCmdlets>       <GetCmdletParameters DefaultCmdletParameterSet="DefaultSet">                     </GetCmdletParameters>     </InstanceCmdlets>    […]

under: CDXML, PowerShell and CIM, PowerShell and WMI, PowerShell V3, PowerShell v4

« Newer Posts

Categories