Connecting to remote server with powershell

Anonymous
2024-03-23T11:39:47+00:00

Hello dear friends There is an important question for me. The server we use in the company I currently work for is samba active directory. We installed the rsat tool on our windows computers to manage this system. but we can only manage users and groups. My goal is to be able to access this system with Powershell. Interfering with the server using Powershell I need your help for this, is it possible to connect to the server and perform transactions with powershel?

thanks :)
Windows Server | Identity and access | Active Directory

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2024-03-25T07:11:45+00:00

    Hi FURKAN KURT,

    Thank you for posting in the Microsoft Community Forum.

    Yes, it's possible to manage a Samba Active Directory domain using PowerShell. You can utilize the Active Directory PowerShell module to perform various administrative tasks on your Samba AD domain.

    Best regards

    Neuvi Jiang

    0 comments No comments
  2. Anonymous
    2024-03-25T15:52:45+00:00

    Hi FURKAN KURT,

    Thank you for reaching out to the Microsoft Community Forum.

    I'm here to help with your problems.

    Can you try to execute the following command in administrator mode?

    You can see the list of available functions.


    Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property DisplayName, State DisplayName

    To install them all together, use the following command.


    Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online

    If you want to install the required tools, execute the following command like that.


    Get-WindowsCapability -Name RSAT* -Online | where State -EQ NotPresent | Add-WindowsCapability –Online

    If you have any questions, feel free to ask me.

    Best regards,

    Yu

    0 comments No comments
  3. Anonymous
    2024-04-02T13:48:15+00:00

    hi

    thanks for your help. ı do this poweshell command, but rsat has already been was installed. My goal is to manage samba dc with powershel.

    0 comments No comments
  4. Anonymous
    2024-04-02T13:50:52+00:00

    hi

    thank for your help. Where can I get Active Directory PowerShell module? Rsat is currently installed, but I don't know how to manage it via powershel.Do you have detailed information about this? Can you help me?

    0 comments No comments