This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# examples: | |
# generate a baseline policy. | |
powershell.exe -file applocker.ps1 -baseline -output c:\policies\baseline.xml | |
# generate an application-specific policy. | |
powershell.exe -file applocker.ps1 -application -in c:\policies\baseline.xml -out c:\policies\application.xml | |
# generate an adhoc policy. | |
powershell.exe -file applocker.ps1 -adhoc -in c:\path -filter *.* -out c:\policies\adhoc.xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace Your\Namespace\Components; | |
use Cms\Classes\ComponentBase; | |
use Config; | |
class StructuredData extends ComponentBase | |
{ | |
/** | |
* set the component's details |