Weekly Tip 20

Change limiting collection on multiple SCCM collections:

$comps = get-content c:\computers.txt

ForEach ($comp in $comps) { set-cmdevicecollection -collectionid $comp -limitingcollectionid <collectioin ID> }

Export list of collection ID’s to a text file and reference that file in the get-content line. Be sure to add the collection ID of the new limiting collection. This must be ran from the ConfigMgr PowerShell module.

Share:

Facebook
Twitter
LinkedIn

Contact Us

=
On Key

More Posts

WME Cybersecurity Briefings No. 004
Cyber Security

WME Security Briefing 11 April 2024

Mispadu Trojan Exploits Windows Vulnerability to Target Financial Data Overview The Mispadu banking trojan has intensified its operations as it’s exploiting an already patched Windows SmartScreen flaw. Since its initial identification in 2019, Mispadu has primarily preyed on

Read More »
WME Cybersecurity Briefings No. 003
Cyber Security

WME Security Briefing 29 March 2024

Russian hackers escalating their cyber warfare, deploying TinyTurla-NG to breach European NGOs. Cisco Talos reveals a targeted attack against organizations advocating democracy and supporting Ukraine. With their sophisticated methods, these cyber attackers are bypassing antivirus defenses

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=