Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
#Set Error Action to Silently Continue $ErrorActionPreference = "SilentlyContinue" #Log File Info $sLogPath = "C:\Windows\Temp" $sLogName = "Write_PA_PasswordPolicy.log" $sLogFile = Join-Path -Path $sLogPath -ChildPath $sLogName $Error.Clear() Import-Module ActiveDirectory $OU1 = 'OU=SecTest,OU=Priviledged_Access,OU=_Users,DC=test,DC=org' $SecGroup = (Get-ADGroup -Identity 'PrivilegedUserPasswordPolicy').DistinguishedName Get-ADUser –SearchBase $OU1 –LDAPFilter "(&(objectCategory=person)(objectClass=user)(!(memberOf=$SecGroup)))" | Add-ADPrincipalGroupMembership –MemberOf $SecGroup #Log Error $Error | Out-file $sLogFile -Append
|Exchange powershell help||2||28|
|Rename multiple files in folder from list in table/excel.||4||34|
|Exporting Windows Firewall rules to other clients||4||8|
|I need to find the GPO setting to change for macros in Excel||4||20|