symantec:symantec-endpoint-protection-manager-14-how-to-find-groups-policy-inheritance-false
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версия | |||
symantec:symantec-endpoint-protection-manager-14-how-to-find-groups-policy-inheritance-false [03.03.2021 13:59] – Виталий Якоб | symantec:symantec-endpoint-protection-manager-14-how-to-find-groups-policy-inheritance-false [03.03.2021 14:04] (текущий) – Виталий Якоб | ||
---|---|---|---|
Строка 9: | Строка 9: | ||
$restAPI = ' | $restAPI = ' | ||
- | $cred= @{ | + | $cred = @{ |
- | username = " | + | |
- | password = " | + | |
- | domain = "" | + | |
- | } | + | |
#converts $cred array to json to send to the SEPM | #converts $cred array to json to send to the SEPM | ||
Строка 24: | Строка 24: | ||
$access_token = $Authent.Token | $access_token = $Authent.Token | ||
- | $groups=Invoke-RestMethod -Method get -Uri " | + | $groups = Invoke-RestMethod -Method get -Uri " |
- | -ContentType " | + | -ContentType " |
- | -Headers @{Authorization=' | + | -Headers @{Authorization = ' |
- | $groups.content|Where-Object { $_.policyInheritanceEnabled -ne $true }| ` | + | $groups.content | Where-Object { $_.policyInheritanceEnabled -ne $true }| ` |
- | Select fullPathName, | + | Select fullPathName, |
</ | </ |
symantec/symantec-endpoint-protection-manager-14-how-to-find-groups-policy-inheritance-false.txt · Последнее изменение: 03.03.2021 14:04 — Виталий Якоб