Using AD-Group Commands in a Nav-Container

Hey there,

I would like to try out a few things within a Nav-container created by Freddy Skript this way:
New-NavContainer -accept_eula -licenseFile $licenceFile -containerName $containername -imageName $imagename -doNotExportObjectsToText -includeCSide
-TimeZoneId (Get-TimeZone).Id -shortcuts "Desktop" -alwaysPull -updateHosts -useBestContainerOS -accept_outdated

I go to the powershell of the container. What I am interested in are the AD group commands, for example "Get-ADGroup" (see: "https://docs.microsoft.com/en-us/powershell/module/addsadministration/get-adgroup?view=win10-ps").
If I type in one of these commands, the following error occurs:
7c98mky7efsv.png

I have tried to install the missing module by somehting like this:
import-module ActiveDirectory
but the follwing error occurs:
8x4fmaeaqdgp.png

Can someone help me make the AD group commands available in the Powershell of my Nav-Container?
Thanks!
Sign In or Register to comment.