Erstellt ein neues dynamisches Modul, das nur im Arbeitsspeicher vorhanden ist.
Sie können in einem Skriptblock keine Cmdlets definieren, ein dynamisches Modul kann jedoch Cmdlets einschließen, wenn es die Cmdlets aus einem binären Modul importiert.
You cannot define cmdlets in a script block, but a dynamic module can include cmdlets if it imports the cmdlets from a binary module.
Mit dem Cmdlet "New-Module" wird ein dynamisches Modul aus einem Skriptblock erstellt.
This cmdlet can be used only in a script module file or a dynamic module.
Dieser Befehl erstellt ein neues dynamisches Modul mit der Funktion Hallo.
This command creates a new dynamic module with a function called Hello.
Genauso wie alle Module werden die Elemente dynamischer Module in einem privaten Modulbereich ausgeführt, der ein untergeordnetes Element des globalen Bereichs ist. Get-Module kann kein dynamisches Modul abrufen, Get-Command ist jedoch in der Lage, die exportierten Elemente abzurufen.
Like all modules, the members of dynamic modules run in a private module scope that is a child of the global scope. Get-Module cannot get a dynamic module, but Get-Command can get the exported members.
Mit dem Cmdlet New-Module wird ein dynamisches Modul aus einem Skriptblock erstellt.
The New-Module cmdlet creates a dynamic module from a script block.
Mit dem Cmdlet "New-Module" wird ein dynamisches Modul aus einem Skriptblock erstellt.
The New-Module cmdlet creates a dynamic module from a script block.
Dieser Befehl zeigt, dass ein dynamisches Modul durch Übergeben des Moduls über die Pipeline an das Cmdlet "Import-Module" für das Cmdlet "Get-Module" verfügbar gemacht werden kann.
This command demonstrates that you can make a dynamic module available to the Get-Module cmdlet by piping the dynamic module to the Import-Module cmdlet.
Dieser Befehl zeigt, dass ein dynamisches Modul durch Übergeben des Moduls über die Pipeline an das Cmdlet Import-Module für das Cmdlet Get-Module verfügbar gemacht werden kann.
This command demonstrates that you can make a dynamic module available to the Get-Module cmdlet by piping the dynamic module to the Import-Module cmdlet.
PowerShell: Erstellt ein neues dynamisches Modul, das nur im Arbeitsspeicher vorhanden ist.
PowerShell: Creates a new dynamic module that exists only in memory.
Get-Module kann kein dynamisches Modul abrufen, Get-Command ist jedoch in der Lage, die exportierten Elemente abzurufen.
Get-Module cannot get a dynamic module, but Get-Command can get the exported members.
Übergeben Sie den Befehl New-Module über die Pipeline an Import-Module, oder übergeben Sie das Modulobjekt, das von New-Module zurückgegeben wird, über die Pipeline an Import-Module, um ein dynamisches Modul für Get-Module verfügbar zu machen.
To make a dynamic module available to Get-Module, pipe a New-Module command to Import-Module, or pipe the module object that New-Module returns to Import-Module.
Übergeben Sie den Befehl "New-Module" über die Pipeline an Import-Module, oder übergeben Sie das Modulobjekt, das von New-Module zurückgegeben wird, über die Pipeline an Import-Module, um ein dynamisches Modul für Get-Module verfügbar zu machen.
To make a dynamic module available to Get-Module, pipe a New-Module command to Import-Module, or pipe the module object that New-Module returns to Import-Module.