Waclaw Chrabaszcz
... there is no spoon ...

SCCM 2012

SCCM2012 R2 – How to schedule collection refresh interval using PowerShell

There was an open subject after my first post about scripting ConfigMgr. In the meantime I've migrated from SCCM 2012 SP1 to R2, so I am really not sure whether this commandlet works for legacy versions. Here's the good example how to use schedule token while you are creating a device collection. $schedule = New-CMSchedule –RecurInterval Days –RecurCount 1New-CMDeviceCollection -Name testDevCol -LimitToCollectionName "All systems" –RefreshSchedule $ScheduleAdd-CMDeviceCollec... ......

SCCM2012 R2 – How to integrate MDT with SCCM

There are two maybe not competitive but parallel products: Microsoft Deployment Toolkit and System Center Configuration manager. Few years ago I was wondering why they are separate, I why I cannot share Task Sequences between them. And how it usually happens in live, when I was focused on other technologies, MDT and SCCM became best friends. Let's integrate MDT with SCCM: If first step you need to download MDT http://www.microsoft.com/en... Install MDT on your SCCM ......

SCCM2012SP1 – How to download prerequisites for offline installation

Sometimes your datacenter polices disallows to have Internet access from servers. Let's prepare ourselves for offline installation. Go to ADK download site and save on your PC ADKsetup.exe http://www.microsoft.com/en... Execute it with parameter adksetup.exe /layout c:\ADK Mount SCCM ISO and execute H:\SMSSETUP\BIN\X64\setupdl... C:\SCMMprereq time for coffee … ......

SCCM 2012 SP1 – How to deploy SCCM agents using GPO

The question is …. Where the (…) is this ccmsetup.msi. File has been moved into C:\Program Files\Microsoft Configuration Manager\bin\i386. But if you are thinking that you know everything you need … you are wrong. First I am going to prepare separate share, it is not a good idea to add Everyone – Read and Execute rights to bin folder. I will create the c:\Client, share it for Everyone with Read and Execute rights (computers are accessing this folder with their own accounts). But before ccmsetup.msi ......

SCCM 2012 SP1 – How to install Remote Desktop Service role within a Task Sequence

It is very simple: use the standard command line: and the command line will be: … but there must be one more thing …. and it is … ServerManagerCMD exit codes: Message Exit code Text string Success, no need to restart0Success: Installation succeeded.Success: Removal succeeded.Success, restart is required3010Success: Installation succeeded. A restart is required.Success: Removal succeeded. A restart is required.Argument not valid4ArgumentNotValid: Argument not valid {argument}ArgumentNotValid: Missing ......

SCCM 2012 SP1 – Welcome PowerShell on board!

I don't know how about you, but for me PowerShell is the only reason to migrate from SCCM 2007 to SCCM 2012. As an old-school SMS and SCCM admin I am not sure about user-centric distribution. Let's say straight. App-V and XenApp are much better in follow me apps, than classic MSIs. OK, let's stick the point. I have about 5 hours of experience with SCCM PowerShell module, and I can say there are pros and cons. What made me really sad: SCCM modules works only in x32 environment. It's a big mistake ......