Randy

Create a somewhat random collection using SMSUniqueIdentifier

This query will allow you to create a somewhat random collection based on the SMSUniqueIdentifier add more or less numbers depending on your target deployment size

 

SCCM Client Install – Could not access network location %APPDATA%

Today I was troubleshooting an SCCM Client install issue. checking the CCMSetup.log file the setup was returning “Could not access network location %APPDATA%” To resolve this issue I updated the appdata location under the following registry key

the location was set to “%APPDATA%” instead of “%USERPROFILE%\AppData\Roaming” after updating this location I was able to successfully […]

SCCM SQL query to list deployments with User Notifications set to show all

Today I needed get a list of deployments that had the user notification set to “Display in Software Center and show all notifications” so I could update the deployments so users would not get the “New Software is Available” toast on available deployments.  I was able to use this query to determine this.  

[…]

Purge Transactional dead-letter queue messages using PowerShell

Here is a snippet I used to purge messages from the System Transactional dead-letter queue using PowerShell.  

 

Purge MSMQ Private Queue using PowerShell

I needed to be able to purge all Private Queues using PowerShell. I also needed to have this work on Powershell 3.0. here is the snippet I used to complete this task.

with Powershell 4.0 you can use Get-MsmQueue

 

C# Install SCCM Package on Client

I needed to be able to kick of an installation of a SCCM Package on a client from a C# windows form. I discovered the SDKClient WMI Namespace and am using the following code.

 

Deploying Office 365 using System Center Configuration Manager

Deploying Office 365 using System Center Configuration Manager

This  article walks you through preparing and deploying Office 365. Download and install the Office Deployment tools from here. https://www.microsoft.com/en-us/download/details.aspx?id=36778With O365 configurations are done using the Office Deployment Tool for Click to Run and .xml files verses the Customization Toolkit and .msp files that are used in the volume license .msi version Browse to the folder that […]

Creating SCCM User and Device Collections based on Active Directory Groups

Creating SCCM User and Device Collections based on Active Directory Groups

Create a User Collection and a Device Collection that pulls its members from an active directory group 1. Make sure you have Discovery set up on your Active Directory or Specific OU containing groups. You can do this by clicking Administration > Discover Methods then  right click on “Active Directory Group Discovery” and choose Properties. […]

C# convert WMI DateTime to standard DateTime

WMI Dates and times are in DMTF datetime format. The following is the command to convert a given DMTF datetime to DateTime.

Microsoft Documentation

Configuration Manager 2012 how to add users in an AD group to a user collection

In SCCM the below query string can be used to populate a user collection based on AD group.

%d bloggers like this: