https://ccmexec.com/2010/03/remove-a-computer-from-a-collections-when-osd-task-sequence-is-completed/ http://servertechs.info/remove-client-from-collection-after-successful-sccm-task-sequence-powershell/ In short: Use status filter rule 11171 and run a script on the SCCM server to do the m...
Remove Adobe XI Pro SCCM or PowerShell Hello, I need to find a way to uninstall Adobe XI Pro with either SCCM or a PS script. I'm having some problems figuring out the correct commands to uninstall the software. The software was not deployed with SCCM it was manually...
New-CMMaintenanceWindow– To create a maintenance Windows like we used in this blog article Remove-CMMaintenanceWindow– To remove a maintenance window from a collection Set-CMMaintenanceWindow– To modify a maintenance window Powershell
Add-SccmDeviceToCollection Add a computer to a device collection for application deployment Add-SccmUserToCollection Add a domain user to a user collection for application deployment. New-SccmApplication Creates a new SCCM application. Remove-SccmApplication ...
How do i convert SCCM SQL query (in SQL Mgmt Studio) to a config manager query to run against a collection How Do I Deploy A reg key via sccm in HKCU How do I remove a client computer from a device collection? How do i write a query to show if a specific KB is installed? Ho...
Example 1: Wake up a device The following example sends the wake-up action to a device in a specific collection: Invoke-CMClientAction -DeviceName "SleepDevice01" -ActionType ClientNotificationWakeUpClientNow -ParentCollectionId $col.CollectionID Example 2: Request machine policy fro...
#需要安装SCCM的PowerShell模块 Import-ModuleConfigurationManager #替换以下变量 $SiteCode=S01#SCCM站点代码 $BoundaryGroupName=边界组1#边界组名称 $BoundaryNameToAdd=子网10.0.0.0#新的边界名称 $BoundaryNameToRemove=子网10.1.0.0#要移除的边界名称 #获取边界组对象 ...
Restart SCCM Client using PowerShell To confirm if the ccmexec.exe service is up and running, run the PowerShell command “Get-Service -Name CcmExec“. In the below screenshot, we see the status asRunningwhich confirms the ccmexec.exe service is successfully restarted. ...
Add-CMDeviceCollectionDirectMembershipRule -CollectionId "SCD00123" -ResourceId 2088162048 TIP: You can get theResourceIDby adding the RedsourceID column to the console Remove all deployments from a specific collection This command uses theGet-CMDeploymentandRemove-CMDeploymentto gets all application de...
Basic understanding of scripting and Windows PowerShell syntax. Basic understanding of Windows Server roles and services. Basic understanding of the configuration options for iOS, Android, and Windows Mobile device platforms. Read more + Delegates will learn how to ...