home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <policyDefinitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" revision="1.0" schemaVersion="1.0" xmlns="http://www.microsoft.com/GroupPolicy/PolicyDefinitions">
- <policyNamespaces>
- <target prefix="powershellexecutionpolicy" namespace="Microsoft.Policies.PowerShell" />
- <using prefix="windows" namespace="Microsoft.Policies.Windows" />
- </policyNamespaces>
- <resources minRequiredRevision="1.0" />
- <supportedOn>
- <definitions>
- <definition name="SUPPORTED_XP" displayName="$(string.SUPPORTED_XP)" />
- </definitions>
- </supportedOn>
- <categories>
- <category name="PowerShell" displayName="$(string.PowerShell)">
- <parentCategory ref="windows:WindowsComponents" />
- </category>
- </categories>
- <policies>
- <policy name="EnableScripts" class="Both" displayName="$(string.EnableScripts)" explainText="$(string.EnableScripts_Explain)" presentation="$(presentation.EnableScripts)" key="Software\Policies\Microsoft\Windows\PowerShell" valueName="EnableScripts">
- <parentCategory ref="PowerShell" />
- <supportedOn ref="SUPPORTED_XP" />
- <enabledValue>
- <decimal value="1" />
- </enabledValue>
- <disabledValue>
- <decimal value="0" />
- </disabledValue>
- <elements>
- <enum id="ExecutionPolicy" valueName="ExecutionPolicy" required="true">
- <item displayName="$(string.AllScriptsSigned)">
- <value>
- <string>AllSigned</string>
- </value>
- </item>
- <item displayName="$(string.RemoteSignedScripts)">
- <value>
- <string>RemoteSigned</string>
- </value>
- </item>
- <item displayName="$(string.AllScripts)">
- <value>
- <string>Unrestricted</string>
- </value>
- </item>
- </enum>
- </elements>
- </policy>
- </policies>
- </policyDefinitions>