Tag: PowerShell

Windows 10 Current Branch Upgrades – Taking up all my free space – Identify and Resolve

Summary I found a potential bug where constant Windows Insider builds were bloating the Previous Windows Installations to over 10 gb.  This was causing other issues on my tiny storage tablet.  The newer interface of Windows 10 provides some guidance on finding the bloat.  But it was the classic tools of WinDirStat and Disk Cleanup

Continue reading
No comments

Arizona Systems Management User Group 10-year Anniversary Meeting – A Taste of MMS Recap

This was a stupendous event.  I had a great time connecting with many old friends, speaking while giant pizzas came in the room, and learning great information. The Arizona Systems Management User Group 10-year Anniversary Meeting – A Taste of MMS has come and gone. It was a fantastic way to celebrate 10 years of

Continue reading
No comments

SCCM What version (CB/CBB/LTSB) of Windows am I running? OSBranch01 and Build01 Fields

In Microsoft System Center Configuration Manager (SCCM) Current Branch two new fields were added to keep track of what type of build and version you are on.  OSBranch01 and Build01 very useful when planning your next Build update SQL View v_R_System  sms_r_system New Columns OSBranch01 0 = CB 1 = CBB 2 = LTSB Build01

Continue reading
2 comments

ConfigManagerErrorCode. A pratical use for Missing / Bad Drivers after Windows 10 OSD

  While working through a TechNet / Docs page recently I spotted a new (no idea how long it has been there) property in a ton of classes. ConfigManagerErrorCode At first I thought it was related to Microsoft System Center Configuration Manager (SCCM) 2012 Current Branch (CB).  Nope, apparently it is an attribute added to

Continue reading
4 comments

Collect SMART hard drive status in ConfigMgr inventory

Recently while working through preflight checks for Windows 10 (W10) Redstone 1607  deployment we realized there were some spinning platter drive failures.  To help identify potentially failing machines we were looking for the Hard Drive Smart status field.  Turns out it is not gathered by default in SCCM.  The following walks you through it. WIN32_DiskDrive

Continue reading

Music Library Cleaning with PowerShell – Removing Missing Files from iTunes

At the bottom of this post I originally wrote a VBS that deletes files out of ITunes if the location does not exist.  I did the rewrite into PowerShell… (new-object –com itunes.application).LibraryPlaylist.Tracks | ?{ $_.Location -eq $null } | %{ $_.Delete() }   The PowerShell above only removes the item out of ITunes if the

Continue reading