To get the same result, you can switch to the Windows PowerShell Variable provider namespace first and then perform the Clear-Item command.
Sie erhalten das gleiche Ergebnis, wenn Sie erst zum Namespace des Windows PowerShell-Variable-Anbieters wechseln und anschließend den Befehl Clear-Item ausführen.
The variable name is prefixed with Variable: to indicate the Windows PowerShell Variable provider.
The Windows PowerShell Variable provider supports the variables that Windows PowerShell creates, including the automatic variables, the preference variables, and the variables that you create.
For this example, we will take the value of the Windows PowerShell variable $PSHome, which stores the path to the installation directory for Windows PowerShell.
The variable name is prefixed with "Variable:" to indicate the Windows PowerShell Variable provider.
Der Variablenname erhält das Präfix "Variable:", mit dem der Anbieter angegeben wird.
For this example, we will take the value of the Windows PowerShell variable $PSHome, which stores the path to the installation directory for Windows PowerShell.
The Windows PowerShell Variable provider supports the variables that Windows PowerShell creates, including the automatic variables, the preference variables, and the variables that you create.
If you are used to working with variables in other shells, remember that Windows PowerShell variables are objects, not text.
Falls Sie in anderen Shells bereits mit Variablen gearbeitet haben, möchten wir Sie daran erinnern, dass es sich bei Variablen in Windows PowerShell um Objekte und nicht um Text handelt.
Since there is also a variable Windows PowerShell drive, you can also display all Windows PowerShell variables by typing
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.