Change UNIX permissions on directories only. find . -type d -print0 | xargs -0 chmod 755 … [Read more...]
Export Active Active Directory Users into CSV
That's not a typo. Export only active Active Directory users (not disabled) into a csv file with csvde, the following should suite your needs: # Collect Internal users for your audit purposes csvde -d "OU=Users,OU=Internal,DC=DomainName,DC=Suffix" -r "(&(objectCategory=person)(!UserAccountControl=66050)(!UserAccountControl=514))" -l SAMAccountName,name,description,UserAccountControl,logonHours -f "InternalUsers.csv" You can easily put this into task scheduler for automated reporting at … [Read more...]
Get the SID of an Active Directory User
Can't remember why I needed to, but if you need to get the SID of an Active Directory user account you can run either of these powershell scripts: $name = “username” (New-Object System.Security.Principal.NTAccount($name)).Translate([System.Security.Principal.SecurityIdentifier]).value or $objUser = New-Object System.Security.Principal.NTAccount("fabrikam", "kenmyer") $strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier]) $strSID.Value … [Read more...]
List IIS Application Pool PID
Determine which application pool's worker process (w3wp.exe) is hogging your CPU resources. The command below can be run in a command prompt to list IIS Application Pool PID's. To view process ID's in task manager navigate to View | Select Columns | PID. I've needed to do this several times when a single worker process was consuming too much cpu resources and needed to be killed. Stopping the application pool did not help. %windir%/system32/inetsrv/appcmd list wp … [Read more...]
Exchange Server SSL Certificate Authority Change

An industry wide change is coming to SSL certificates, which will affect Exchange Server and anything else using intranet names. On October 1, 2016 Certificate Authorities must mandatorily revoke all unexpired certificates with subject alternative names corresponding to internal names. The recommended way of securing Exchange Server with an SSL certificate is coming to an end. In the past, a UCC (SAN) certificate was purchased with a common name pointing to the public DNS address, and subject … [Read more...]
- « Previous Page
- 1
- …
- 14
- 15
- 16