1. Create a new filter: $filter = new-item -path "VCRoot:\" -Name "Testfilter" -Queries @( "root\cimv2;select * from Win32_Bios" ) -ItemType WMIFilter
2. (optional) Check in the filter: $filter = $filter | select-checkin
3. Deploy the filter: $filter = $filter | select-deploy The filter remains in the checked in (available) state, although the object history in the GUI says "deployed".
Deployment through the GUI works, and deployment for GPOs in powershell also works.
Vous devez être connecté et disposer d'un contrat de maintenance en cours pour afficher les articles de la base de connaissances avancés.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Conditions d’utilisation Confidentialité Cookie Preference Center