Add a Host Group to a Prevention policy
-Id
: The Prevention Policy ID
-Group
: The Host Group ID
PS> Add-CsPreventGroup -Id <string> -Group <string>
Disable Prevention policies
-Id
: An array of one or more Prevention policy IDs
PS> Disable-CsPreventPolicy -Id @(<string>, <string>)
Update Prevention Policies by specifying the ID of the policy and details to update
-Resources
: An array of Prevention policy properties
PS> Edit-CsPreventPolicy -Resources @(@{ id = <string>; name = <string>; description = <string> })
Enable Prevention policies
-Id
: An array of one or more Prevention policy IDs
PS> Enable-CsPreventPolicy -Id @(<string>, <string>)
Search for members of a Prevention policy in your environment
-Id
: The ID of the Prevention policy to search for members of
-Filter
: The filter expression that should be used to limit the results
-Limit
: The maximum records to return [default: 5000]
-Offset
: The offset to start retrieving records from [default: 0]
-All
: Repeat request until all results are returned
PS> Get-CsPreventMemberId -Id <string>
Search for details about members of a Prevention policy in your environment
-Id
: The ID of the Prevention policy to search for members of
-Filter
: The filter expression that should be used to limit the results
-Limit
: The maximum records to return [default: 5000]
-Offset
: The offset to start retrieving records from [default: 0]
-All
: Repeat request until all results are returned
PS> Get-CsPreventMemberInfo -Id <string>
Search for Prevention policies in your environment
-Filter
: The filter expression that should be used to limit the results
-Limit
: The maximum records to return [default: 500]
-Offset
: The offset to start retrieving records from [default: 0]
-All
: Repeat request until all results are returned
PS> Get-CsPreventPolicyId
Search for info about Prevention policies
-Id
: The IDs of specific Prevention policies to return
-Filter
: The filter expression that should be used to limit the results
-Limit
: The maximum records to return [default: 500]
-Offset
: The offset to start retrieving records from [default: 0]
-All
: Repeat request until all results are returned
PS> Get-CsPreventPolicyInfo
Create Prevention policies by specifying details about the policy to create
-Resources
: An array of Prevention policy properties
PS> New-CsPreventPolicy -Resources @(@{ name = <string>; platform_name = <string> })
Remove a Host Group from a Prevention policy
-Id
: The Prevention policy ID
-Group
: The Host Group ID
PS> Remove-CsPreventGroup -Id <string> -Group <string>
Delete a set of Prevention policies by specifying their IDs
-Id
: The IDs of the Prevention policies to delete
PS> Remove-CsPreventPolicy -Id @(<string>, <string>)
Sets the precedence of Prevention policies based on the order of IDs specified in the request
-Platform
: The operating system platform the Prevention policies are assigned to
-Id
: An array of one or more Prevention policy IDs
PS> Set-CsPreventPrecedence -Platform <string> -Id @(<string>, <string>)