In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
How to enumerate domain information in PowerShell CLM mode, aiming at this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
I will quickly and briefly introduce to you the techniques I have been using and teaching recently. With this technology, you can use Micorosft's PowerShell ActiveDirectory module without obtaining RSAT and administrative privileges.
So, if you have access to a server with modules installed (such as DC), copy Microsoft.ActiveDirectory.Management.dll from C:\ Windows\ Microsoft.NET\ assembly\ GAC_64\ Microsoft.ActiveDirectory.Management to your own machine, and then import DLL using Import-Module cmdlet:
PS C:\ > Import-Module C:\ ADModule\ Microsoft.ActiveDirectory.Management.dll-Verbose
Note that if you run Get-Command-Module ActiveDirectory, nothing will be returned. To get it, copy the module directory from the server: C:\ Windows\ System32\ WindowsPowerShell\ v1.0\ Modules\ ActiveDirectory\. Then, use the Import-Module command to import the DLL and then the module:
PS C:\ > Import-Module C:\ ADModule\ Microsoft.ActiveDirectory.Management.dll-VerbosePS C:\ > Import-Module C:\ AD\ Tools\ ADModule\ ActiveDirectory\ ActiveDirectory.psd1PS C:\ > Get-Command-Module ActiveDirectory
Using cmdlet has many benefits, such as low AV detection rates, wide coverage (I'll use cmdlet in a later article), powerful filters, and being signed by Microsoft.
I uploaded a copy of the module from Server 2016 to Github: https://github.com/samratashok/ADModule
This module runs perfectly in PowerShell constraint language pattern (CLM).
This is the answer to the question on how to enumerate domain information in PowerShell CLM mode. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.