PowerShell 複製 Set-CMTSStepRunTaskSequence -RunTaskSequence <IResultObject> [-ConditionVariableName <String>] [-ConditionVariableValue <String>] [-OperatorType <VariableOperatorType>] [-SetConditionVariable] [-StepName <String>] -TaskSequenceId <String> [-DisableWildcardHandling] [-ForceWild...
示例Example 1: Add a security scope to a task sequenceThis command adds the specified security scope to the task sequence named General Sequence 22.PowerShell 复制 PS C:\> Set-CMTaskSequence -Name "General Sequence 22" -SecurityScopeAction AddMembership -SecurityScopeName "Scope05" ...
SMS_TaskSequence_SetVariableActionWMI 類別是 Configuration Manager 中的 SMS 提供者伺服器類別。 它代表工作順序動作,可設定工作順序環境變數的值。下列語法已從受控物件格式 (MOF) 程式碼簡化,並包含所有繼承的屬性。語法MOF 複製 Class SMS_TaskSequence_SetVariableAction : SMS_TaskSequence_Action {...
Set-ClusteredScheduledTask [-TaskName] <String> [[-Cluster] <String>] [-Xml] <String> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]PowerShell 複製 Set-ClusteredScheduledTask [-TaskName] <String> [[-Cluster] <String>] [[-Action] <CimInstance...
Get-MyVariableThis function will return all variables not defined by PowerShell or by this function itself. The default is to return all user-created variables from the global scope, but you can also specify a scope such as script, local, or a number 0 through 5....
If the acting credentials do not have directory-level permission to perform the task, Active Directory module for Windows PowerShell returns a terminating error. Expand table Type: PSCredential Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters...
PowerShell Copy PS C:\> Set-MpPreference -SignatureScheduleDay Everyday Example 2: Schedule a time of day to check for definition updatesThis command configures preferences to check for definition updates 120 minutes after midnight on days when it is scheduled to check....
Set-CMTaskSequence [-AddSupportedOperatingSystemPlatform <IResultObject[]>] [-BootImageId <String>] [-Category <String>] [-CustomText <String>] [-DeploymentPackageId <String>] [-Description <String>] [-DisableTaskSequence <Boolean>] [-EnableNotification <Boolean>] [-EnableTaskSequence <...
WindowsSetSequenceManagement Instrumentation (WMI) 類別方法,Configuration Manager使用指定的工作順序更新工作順序套件。 下列語法是從受控物件格式 (MOF) 程式碼中簡化,並定義 方法。 語法 SInt32 SetSequence( SMS_TaskSequencePackage TaskSequencePackage, SMS_TaskSequence TaskSequence, String SavedTaskSeq...
Get-MyVariableThis function will return all variables not defined by PowerShell or by this function itself. The default is to return all user-created variables from the global scope, but you can also specify a scope such as script, local, or a number 0 through 5....