home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / PolicyDefinitions / PowerShellExecutionPolicy.admx < prev    next >
Extensible Markup Language  |  2008-01-19  |  2KB  |  49 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8"?>
  2. <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">
  3.   <policyNamespaces>
  4.     <target prefix="powershellexecutionpolicy" namespace="Microsoft.Policies.PowerShell" />
  5.     <using prefix="windows" namespace="Microsoft.Policies.Windows" />
  6.   </policyNamespaces>
  7.   <resources minRequiredRevision="1.0" />
  8.   <supportedOn>
  9.     <definitions>
  10.       <definition name="SUPPORTED_XP" displayName="$(string.SUPPORTED_XP)" />
  11.     </definitions>
  12.   </supportedOn>
  13.   <categories>
  14.     <category name="PowerShell" displayName="$(string.PowerShell)">
  15.       <parentCategory ref="windows:WindowsComponents" />
  16.     </category>
  17.   </categories>
  18.   <policies>
  19.     <policy name="EnableScripts" class="Both" displayName="$(string.EnableScripts)" explainText="$(string.EnableScripts_Explain)" presentation="$(presentation.EnableScripts)" key="Software\Policies\Microsoft\Windows\PowerShell" valueName="EnableScripts">
  20.       <parentCategory ref="PowerShell" />
  21.       <supportedOn ref="SUPPORTED_XP" />
  22.       <enabledValue>
  23.         <decimal value="1" />
  24.       </enabledValue>
  25.       <disabledValue>
  26.         <decimal value="0" />
  27.       </disabledValue>
  28.       <elements>
  29.         <enum id="ExecutionPolicy" valueName="ExecutionPolicy" required="true">
  30.           <item displayName="$(string.AllScriptsSigned)">
  31.             <value>
  32.               <string>AllSigned</string>
  33.             </value>
  34.           </item>
  35.           <item displayName="$(string.RemoteSignedScripts)">
  36.             <value>
  37.               <string>RemoteSigned</string>
  38.             </value>
  39.           </item>
  40.           <item displayName="$(string.AllScripts)">
  41.             <value>
  42.               <string>Unrestricted</string>
  43.             </value>
  44.           </item>
  45.         </enum>
  46.       </elements>
  47.     </policy>
  48.   </policies>
  49. </policyDefinitions>