Soluții

Afla daca un utilizator este in unul sau mai multe grupuri in ActiveDirectory folosind POWERSHELL

Afla daca un utilizator este in unul sau mai multe grupuri in ActiveDirectory
 folosind POWERSHELL:



$Groups = "Group1","Group2"


$GroupHash = @{}
ForEach ($Group in $Groups)
{   $GroupHash.Add((Get-ADGroup $Group).distinguishedName,(New-Object PSObject -Property @{ GroupName = $Group;Count = 0 }))
}

$Results = ForEach ($User in (Get-ADUser -Filter * -Properties MemberOf))
{   $NotFound = $true
    ForEach ($Group in $User.MemberOf)
    {   If ($GroupHash.ContainsKey($Group))
        {   $NotFound = $false
            Break
        }
    }
    If ($NotFound)
    {   $User
    }
}
$Results | Select SamAccountName,Name,distinguishedName | Sort Name
[mai mult...]

HTML | Design Form

What is HTML Form :
HTML Form is a document which stores information of a user on a web server using interactive controls. An HTML form contains different kind of information such as username, password, contact number, email id etc.
The elements used in an HTML form are check box, input box, radio buttons, submit buttons etc. Using these elements the information of an user is submitted on a web server.

The form tag is used to create an HTML form.

[mai mult...]