ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. ad
    Log in to post
    • All categories
    • Oksana

      How to Assess the Security of Your Active Directory
      Starwind • active directory ad pingcastle cyber security • • Oksana

      2
      1
      Votes
      2
      Posts
      269
      Views

      J

      Hmmmm.....

      There are two releases per year: January, 31th and July, 31th.
    • wrx7m

      PowerShell - Using Variables to Delete SMTP Proxy Addresses in AD
      IT Discussion • powershell ad active directory windows get-aduser • • wrx7m

      11
      1
      Votes
      11
      Posts
      2477
      Views

      wrx7m

      @flaxking said in PowerShell - Using Variables to Delete SMTP Proxy Addresses in AD:

      if they do not have previous experience with objects

      Describes me. lol

    • Pete.S

      How does name resolution work in AD?
      IT Discussion • windows dns ad • • Pete.S

      15
      0
      Votes
      15
      Posts
      417
      Views

      Dashrender

      @Pete-S said in How does name resolution work in AD?:

      @Dashrender said in How does name resolution work in AD?:

      @scottalanmiller said in How does name resolution work in AD?:

      @Pete-S said in How does name resolution work in AD?:

      I was wondering how it works because we see a problem where a couple of Win 10 clients can resolve all the internal Windows servers names, but not the statically assigned names of linux servers.

      I thought if the name resolution works over different mechanisms and uses different ports it could be an firewall or L3 switch somewhere that has been misconfigured.

      This is common in situations where Linux is not given an opportunity to auto-update the DNS entries, no one makes them manually, and they are not joined to AD.

      Exactly - have you or anyone else added these servers to AD's DNS?

      They have been added manually. The name of the service is also not the name as the server. So if a webserver is abc001.company.com the name in the DNS that will send you to that server might be logistics.company.com.

      if you're being sent to logistics, that's the entry that must be in DNS.. you can have as many entries as are needed for a single server.
      each name is it's own entry.

    • wrx7m

      Any Way to Automate Adding a New Computer to an AD Group?
      IT Discussion • windows 10 windows server ad active directory gpo mdt powershell ps pdq deploy ou task sequence • • wrx7m

      32
      0
      Votes
      32
      Posts
      4677
      Views

      F

      @marcinozga said in Any Way to Automate Adding a New Computer to an AD Group?:

      @flaxking said in Any Way to Automate Adding a New Computer to an AD Group?:

      @marcinozga said in Any Way to Automate Adding a New Computer to an AD Group?:

      Ansible can do that. https://docs.ansible.com/ansible/latest/modules/win_domain_group_membership_module.html#win-domain-group-membership-module
      You can add new PCs to domain, and change their group membership, you just need to know computer names in advance.

      Which is just a layer on top of Powershell. The Active Directory Powershell module is still required.

      It's not required, or that module is included already in Windows 10 by default. Because I haven't had to install it on any machine I managed with Ansible.

      "win_domain_group_membership requires the ActiveDirectory PS module to be installed"
      https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/windows/win_domain_group_membership.ps1

      They have it in the documentation as well "This must be run on a host that has the ActiveDirectory powershell module installed."
      https://docs.ansible.com/ansible/latest/modules/win_domain_group_module.html

    • JaredBusch

      Unsolved Managing Fedora 30 with SMB share for 100 users
      IT Discussion • ad fedora smb share permissions management • • JaredBusch

      7
      0
      Votes
      7
      Posts
      379
      Views

      NashBrydges

      @JaredBusch I have a couple clients using Synology for their auth needs and it's been working extremely well.

    • wrx7m

      PowerShell - Off-boarding Script
      IT Discussion • powershell windows server active directory ad script scripting office 365 microsoft password password reset • • wrx7m

      12
      1
      Votes
      12
      Posts
      2213
      Views

      dafyre

      @wrx7m said in PowerShell - Off-boarding Script:

      @dafyre said in PowerShell - Off-boarding Script:

      @wrx7m said in PowerShell - Off-boarding Script:

      @dafyre I think I found where you got it - https://www.powershelladmin.com/wiki/Powershell_prompt_for_password_convert_securestring_to_plain_text

      Anyway, I am not sure where, in my script, I should place that function.

      You'd put the actual function at the top of your script, and then just

      $myPassword=convertFrom-SecureToPlain -securepassword $MySecurePassword

      Wherever you need the password in plain text form.

      Thanks. It mostly works. The only problem is that it isn't actually using the password I specify at the top. It is somehow generating its own and then writing it at the end. I put in

      write-host "Plain Text Says: $plainText"

      and it shows the password that I typed in for the secure variable at the beginning, followed by the one that it generated.

      Plain Text Says: $#@%4#@177 Jof91348

      Works fine for me here.... Check and make sure you don't have an extra write-host or anything somewhere.

      4a0db1d0-785c-4771-9ad2-9cec6cb0434a-image.png

    • JaredBusch

      Where do I start with replacing the whole MS AD stack
      Water Closet • microsoft active directory ad dhcp dns • • JaredBusch

      104
      3
      Votes
      104
      Posts
      1795
      Views

      Emad R

      @Donahue said in Where do I start with replacing the whole MS AD stack:

      sing reservations.

      I think your knowledge of FG is not allowing you to do this, just create a new interface with the desired subnet and leave or tick DHCP option. And they you can do it what you want with it. Create an IPv4 policy to give access to internet to the new interface.

    • wrx7m

      PowerShell - Create New AD User Using Prompts and Variables
      IT Discussion • powershell ad windows • • wrx7m

      26
      2
      Votes
      26
      Posts
      2676
      Views

      PhlipElder

      @wrx7m said in PowerShell - Create New AD User Using Prompts and Variables:

      If I get rid of the attempt to combine the 2 existing variables into a 3rd, I get this error.

      New-ADUser : A positional parameter cannot be found that accepts argument '+'. At \\FP02\it\Scripts\AD\AD-InitialUserCreationVariables.ps1:5 char:1 + New-ADUser -Name "$GivenName $Surname" ` + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [New-ADUser], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.ActiveDirectory.Management.Commands.NewADUser

      Like this I think:

      New-ADUser -Name "$($GivenName) $($Surname)"`

      From: https://blogs.technet.microsoft.com/stefan_stranger/2013/09/25/powershell-sub-expressions/

    • scottalanmiller

      Handling DNS in a Single Active Directory Domain Controller Environment
      IT Discussion • ad dc ad dns windows windows server • • scottalanmiller

      242
      0
      Votes
      242
      Posts
      9287
      Views

      scottalanmiller

      @obsolesce said in Handling DNS in a Single Active Directory Domain Controller Environment:

      @scottalanmiller said in Handling DNS in a Single Active Directory Domain Controller Environment:

      @obsolesce said in Handling DNS in a Single Active Directory Domain Controller Environment:

      @stuartjordan said in Handling DNS in a Single Active Directory Domain Controller Environment:

      I believe the forest level with Samba can only be 2008R2 though.

      If you're not using Windows AD, what's it matter?

      If he's merging in DFS, it might. It's rare to do, but could matter.

      Oh I see, so Windows AD and other services were involved at some point.

      Depending on what you want to do, sometimes AD has to support it.

    • NerdyDad

      Microsoft Hello for Business: What is your opinion?
      IT Discussion • windows server 2008 r2 windows server 2016 ad microsoft hello microsoft hello for business mhfb • • NerdyDad

      5
      0
      Votes
      5
      Posts
      551
      Views

      wrx7m

      @nerdydad - Yes, you do get a skimped down version of Azure AD with the O365 license. The prerequisites mention using Azure AD, but don't say which one, except where they say that the Premium version is optional for auto enrollment with intune. Although, they have several plans/tiers, including 2 premium tiers.

    • Oksana

      Microsoft Certificate Server, the relief from the self-signed certificates
      Starwind • microsoft active directory ad adcs • • Oksana

      1
      4
      Votes
      1
      Posts
      435
      Views

      No one has replied

    • Oksana

      Be smart, automate boring stuff like Microsoft Hyper-V Live Migration: handy PowerShell scripts and tips
      Starwind • microsoft hyper-v activedirectory ad powershell livemigration • • Oksana

      1
      2
      Votes
      1
      Posts
      457
      Views

      No one has replied

    • Oksana

      Instead of creating users manually, just join VMware vCenter to Microsoft AD
      Starwind • vmware vcenter vcenter vmware active directory ad vcsa microsoft • • Oksana

      1
      2
      Votes
      1
      Posts
      478
      Views

      No one has replied

    • Oksana

      Deploy SQL Server 2016 Basic Availability Groups without Active Directory
      Starwind • database mirroring sql server starwind blog sql server 2016 availability groups basic availability groups ag bag failover cluster wsfc database mirroring active directory ad • • Oksana

      1
      1
      Votes
      1
      Posts
      1031
      Views

      No one has replied

    • gjacobse

      Powershell - Count AD users
      IT Discussion • powershell count ad • • gjacobse

      13
      2
      Votes
      13
      Posts
      2749
      Views

      J

      You can try the following command:

      (get-aduser -filter *).count

      For only Enabled User Accounts
      (get-aduser -filter *|where {$_.enabled -eq "True"}).count

      For only Disabled User Accounts
      (get-aduser -filter *|where {$_.enabled -ne "False"}).count

    • gjacobse

      ADUC: Clear 'dead' computers
      IT Discussion • ad active directory aduc computers powershell • • gjacobse

      13
      2
      Votes
      13
      Posts
      1647
      Views

      dbeato

      Another example taken from another script:

      import-module activedirectory $domain = "domain.mydom.com" $DaysInactive = 90 $time = (Get-Date).Adddays(-($DaysInactive)) # Get all AD computers with lastLogonTimestamp less than our time Get-ADComputer -Filter {LastLogonTimeStamp -lt $time} -Properties LastLogonTimeStamp | # Output hostname and lastLogonTimestamp into CSV select-object Name,@{Name="Stamp"; Expression={[DateTime]::FromFileTime($_.lastLogonTimestamp)}} | export-csv OLD_Computer.csv -notypeinformation
    • wrx7m

      LAPS - Using on Remote Laptops?
      IT Discussion • laps windows desktop ad microsoft • • wrx7m

      2
      0
      Votes
      2
      Posts
      718
      Views

      scottalanmiller

      Have not used it, I'm afraid.

    • gjacobse

      AD User Tool: Bulk AD User
      IT Discussion • server 2012 r2 security ad active directory domain domain active directory password reset password • • gjacobse

      15
      1
      Votes
      15
      Posts
      3103
      Views

      Dashrender

      @dbeato said in AD User Tool: Bulk AD User:

      @Dashrender Then, he needs to force it with Powershell no just a GUI....

      Agreed.

    • Emad R

      How to patch WannaCry using SaltStack ! (AD alternative)
      IT Discussion • wannacry salt saltstack active directory ad • • Emad R

      3
      6
      Votes
      3
      Posts
      2410
      Views

      scottalanmiller

      I'll add a note for clarity given the title... SaltStack does not do authentication like AD does. AD does not do patching of any sort like Salt does. Salt is an alternative to common myths about AD functionality, but not to actual AD functionality. But you can use Salt to do distributed local authentication management, which does replace the need for AD, but is very different than what is being discussed here. In this case Salt is replacing GPO, not AD.

    • Emad R

      Solved Beginner SaltStack Question: Can minions be placed in folders or groups ? (Coming from AD perspective)
      IT Discussion • saltstack salt ad active directory minions • • Emad R

      7
      0
      Votes
      7
      Posts
      1484
      Views

      scottalanmiller

      @msff-amman-Itofficer said in Beginner SaltStack Question: Can minions be placed in folders or groups ? (Coming from AD perspective):

      @scottalanmiller

      ohh shit, how did that get passed me...

      Great, thanks again.

      🙂