Databases Reference
In-Depth Information
Figure 12-7
You can also use the Drop method to drop the newly created condition, and confirm the drop with
Get-ChildItem , as shown in Figure 12-8:
$condition = Get-ChildItem -path SQLSERVER:\SQLPolicy\PowerPC\default\Conditions |
Where-Object {$_.Name -eq 'No server access'}
$condition.Drop()
#To confirm the condition has been dropped.
Get-ChildItem -path SQLSERVER:\SQLPolicy\PowerPC\default\Conditions | Where-Object
{$_.Name -eq 'No server access'}
Figure 12-8
Search WWH ::




Custom Search