ConfigMgrPowerShell Create an User and Device relationship in ConfigMgr 2012 with PowerShell A colleague of mine asked me to help him with creating a relationship between an user and a device in ConfigMgr. He had been trying to use the Add-CMUserAffinityToDevice cmdlet but experienced some intermittent errors... Nickolaj Andersen2014-07-02