Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
I Configuration Manager körbara åtgärden kör ett program eller öppnar en fil med hjälp av programmet som är registrerat med Windows för den filtypen.
Följande attribut och element är specifika för en åtgärd som kör ett program:
Elementattributet
ActionDescription
Class
är inställt påExecutable
.Elementet
Executable
är överordnatFilePath``,
till sökvägen till programmet och tillParameters
, parametrarna som skickas till den körbara filen.
Exempel på körbar åtgärds-XML
<ActionDescription Class="Executable" DisplayName="Test Action (execute)" MnemonicDisplayName="A test item" Description="A test item Description">
<ShowOn>
<string>DefaultHomeTab</string>
<string>ContextMenu</string>
</ShowOn>
<!--<ResourceAssembly>
<Assembly>Microsoft.ConfigurationManagement.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Properties.Resources.resources</Type>
</ResourceAssembly>-->
<!--<ImagesDescription>
<ExternalImage>
<Assembly>AdminUI.Package.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Package.SmsPackageUtils</Type>
<Method>ShowPackageLockedIcon</Method>
</ExternalImage>
<ResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.Properties.Resources.resources</Type>
</ResourceAssembly>
<ImageResourceName>New</ImageResourceName>
</ImagesDescription>-->
<!--<ImagesDescription AliasProperty="OwnedByThisSite">
<ResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.Properties.Resources.resources</Type>
</ResourceAssembly>
<AliasResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.SMS_Collection-OwnedByThisSite.resources</Type>
</AliasResourceAssembly>
<ImageResourceName>CollectionsIcon</ImageResourceName>
</ImagesDescription>-->
<!--<ActionStateAssembly>
<Assembly>AdminUI.Report.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Report.ReportsUtilityClass</Type>
<Method>EnableReportMenu</Method>
-->
<!--Method signature: public static bool EnableMenu(object sender, ScopeNode scopeNode, ActionDescription action, ResultObjectBase resultObject)-->
<!--
</ActionStateAssembly>-->
<!--<InstancePermissions>
<SecurityFlagsDetailDescription BitName="Delete" BitValue="4" DependsOn="1" />
</InstancePermissions>-->
<!--<MatchPattern>[^1]</MatchPattern>
<MatchValueToTest>##SUB:Order##</MatchValueToTest>-->
<Executable>
<FilePath>https://go.microsoft.com/fwlink/?LinkId=67307</FilePath>
</Executable>
</ActionDescription>
Andra element och attribut dokumenteras i ActionDescription.
Se även
Configuration Manager ÅtgärderSå här skapar du en Configuration Manager åtgärdSå här hittar du ett guiD för Configuration Manager-nod