I have the need to create an SCCM object/device from a running WinPE medium using PowerShell. How could one do such a thing?
A former employee of the company I am working for has created a C# Web Solution using "microsoft.configurationmanagement.managementprovider.dll" to create SCCM devices and add attributes to it. I have to migrate this function to a PowerShell Script running on WinPE.
Any input, pointers on this? Thanks in advance
maybe you could something like this: