Ich habe das Modul http://www.powershellgallery.com/packages/xActiveDirectory/ installiert, es importiert, aber wenn ich auf das Modul schaue, scheint es nichts zu geben, am wenigsten irgendwelche Cmdlets. Unten ist eine Abschrift von dem, was ich getan habe. Offensichtlich vermisse ich etwas, weiß aber nicht was. Kann jemand helfen?xActiveDirectory hat keine Cmdlets. Warum?
PS C:\WINDOWS\system32> ipmo xActiveDirectory
PS C:\WINDOWS\system32> Get-Module
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 0.0 chocolateyProfile {TabExpansion, Update-SessionEnvironment, refreshenv}
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Binary 1.0.0.1 PackageManagement {Find-Package, Find-PackageProvider, Get-Package, Get-Pack...
Script 1.0.0.1 PowerShellGet {Find-Command, Find-DscResource, Find-Module, Find-RoleCap...
Script 1.2 PSReadline {Get-PSReadlineKeyHandler, Get-PSReadlineOption, Remove-PS...
Manifest 2.12.0.0 xActiveDirectory
PS C:\WINDOWS\system32> Get-Module xActiveDirectory | fl
Name : xActiveDirectory
Path : C:\Program Files\WindowsPowerShell\Modules\xActiveDirectory\2.12.0.0\xActiveDirectory.psd1
Description : The xActiveDirectory module is originally part of the Windows PowerShell Desired State
Configuration (DSC) Resource Kit. This version has been modified for use in Azure. This module
contains the xADDomain, xADDomainController, xADUser, and xWaitForDomain resources. These DSC
Resources allow you to configure and manage Active Directory.
All of the resources in the DSC Resource Kit are provided AS IS, and are not supported through any
Microsoft standard support program or service.
ModuleType : Manifest
Version : 2.12.0.0
NestedModules : {}
ExportedFunctions :
ExportedCmdlets :
ExportedVariables :
ExportedAliases :
Weil es ganze Grund für die bestehenden ist als DSC-Ressource. Es muss einen Modulcontainer haben, aber das muss keine Befehle exportieren, wenn der Autor es nicht will. Führen Sie "Get-DscResource" aus, das ist es, was es exportiert und warum es existiert. –
habe es, danke @ Chris-dent – jamiet