Comments (7)
@lazywinadmin I don't know if you've tried this but if I import the PSCoreWindowsCompat
package from PowerShell Gallery I've been able to use the AdsiPS
module, at least in PowerShell Core on Windows. I haven't really tested much yet but it looks promising. 😃
from adsips.
Thanks for checking @JM2K69
what do you see if you do [System.DirectoryServices.ActiveDirectory]|gm -static
from adsips.
The system.directoryservices class is in preview version :
https://dotnet.myget.org/feed/dotnet-core/package/nuget/System.DirectoryServices
(The feed : https://dotnet.myget.org/gallery/dotnet-core)
To install it in Linux (Debian 8) with PackageManagement :
-
Add Feed in sources :
PS > Register-PackageSource -Name 'dotnet-core' -Location https://dotnet.myget.org/F/dotnet-core/api/v2 -Provider NuGet
-
To find package preview :
PS > Find-Package System.DirectoryServices -Source dotnet-core -AllowPrereleaseVersions -Force
-
To install package preview :
PS > Find-Package System.DirectoryServices -Source dotnet-core -AllowPrereleaseVersions -Force | Install-Package -Force
Before this, you need to install 4 dependecies with the same method :
- System.IO.FileSystem.AccessControl
- System.Security.AccessControl
- System.Security.Permissions
- System.Security.Principal.Windows
All package downloaded in : /usr/local/share/PackageManagement/NuGet/Packages/
Every packages have a dll file in ./"PackageName"/lib/netstandard2.0. Put them in /usr/share/dotnet/shared/Microsoft.NetCore.App/2.0.0
I'm here now. I did not succed to load the System.DirectoryServices.dll.
from adsips.
Thanks @gwojan ! Looks promising indeed. Will give it a shot probably in January.
from adsips.
As mentioned by @LxLeChat there is some new capabilities in .Net Core 3:
https://docs.microsoft.com/en-us/dotnet/api/?view=netcore-3.0&term=direct
To investigate
from adsips.
I Make some test on Centos VM which is integrate into the domain ADDS but with no success I have all Namespaces.
from adsips.
I will test it not this weekend but Monday. 😉
from adsips.
Related Issues (20)
- New-Feature - Set-ADSIGroup
- New Feature - New-ADSIObject
- New Feature - Compare Accounts (group memberships mostly, possibly other types...) HOT 9
- New Feature - Copy Account group membership HOT 1
- Add Pester tests for each cmdlet HOT 4
- ADSIForest ask for another param HOT 1
- Remove-ADSIGroupMember add return result
- Add -LDAPFilter on Get-ADSIComputer
- Add new-adsigpo and set-adsigpo HOT 1
- Review LDAP lookup using SID, GUID, DN HOT 2
- Add examples for -UserInfos and -Groupinfos in Get-ADSIPrincipalGroupMembership HOT 2
- Get-ADSIPrincipalGroupMembership Problem since Last update HOT 2
- Review ParameterSetName to allow lazy typing HOT 4
- Add Verbose messages to all functions
- Adopt PSTypeNames
- Add Tags for PowershellGallery
- test .net core compatibility HOT 1
- add cmdlet *-ADDomainControllerPasswordReplicationPolicy HOT 1
- Improve Get-ADSIRIDInformation HOT 1
- Get-ADSIPrincipalGroupMembership does not accept ComputerName as Identity HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adsips.