Der ScriptBlock-Parameter wird zur Angabe des Befehls verwendet, der auf dem Remotecomputer ausgeführt werden soll.
It uses the ScriptBlock parameter to specify the command to be run on the remote computer.
Der ScriptBlock-Parameter wird zur Angabe des Befehls verwendet, der auf dem Remotecomputer ausgeführt werden soll.
The command uses the ScriptBlock parameter to specify the command and the JobName parameter to specify a friendly name for the job.
Das Cmdlet Invoke-Command verfügt z. B. über einen ScriptBlock-Parameter, der einen Skriptblockwert annimmt, wie in diesem Beispiel veranschaulicht
For example, the Invoke-Command cmdlet has a ScriptBlock parameter that takes a script block value, as shown in this example
In diesem Fall wird der erste im Value-Parameter angegebene ScriptBlock verwendet, um den Wert einer Variablen abzurufen.
In that case, the first ScriptBlock, specified in the Value parameter, is used to get the value of a variable.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.