How to Redirect if Category or Tag Contains Only One Post Wordpress

How to Redirect if Category or Tag Contains Only One Post WordPress

I was doing some research on wordpress tags and categories and the below script which is needed for redirecting single posts related categoies and tags to be redirected to the post itself in wordpress. Below code is wordpress redirect without plugin needed. it does not add more overhead on server performance. Below code can be…

15 Methods to fix windows error code 0xc00000e9

15 Methods to fix windows error code 0xc00000e9

15 Methods to fix windows error code 0xc00000e9 Windows 10 Windows 8.1 Windows 7 … Windows error code 0xc00000e9 is a common Windows Boot Manager error that indicates either a hardware failure or a corrupted system file encountered during the boot process. It appears shortly after the computer starts, but before the Windows login screen,…

Google Analytics for Tracking Traffic to your Site

Google Analytics for Tracking Traffic to your Site

Google Analytics is a web analytics service offered by Google that tracks and reports website traffic. It is currently widely used by all websites to track the users. It is a part of Google Marketing Platform brand. Google launched the service in November 2005 after acquiring developer Urchin. Google Analytics is the most widely used…

Room Mailbox office365 powershell commands

Room Mailbox office365 powershell commands

Resource Mailbox is a type of Mailbox that is used for the management of Meeting Rooms and Equipment. The Resource Mailbox do not require a license. Management of Resource Mailbox can be done using following options: Self-management – the Resource Mailbox will be configured for automation of accepting or decline meeting requests. Resource Mailbox Delegate…

Reset AD password force change for access denied issues

Reset AD password force change for access denied issues

Reset AD password force change for access denied issues When you encounter access denied issues for a user account change password both from ADUC and powershell then below command can force change password. PS C:\Windows\system32> $password = [email protected]* PS C:\Windows\system32> Set-adaccountpassword ‘samaccountname’ -reset -newpassword (ConvertTo-SecureString -AsPlainText $password -Force) PS C:\Windows\system32>

Add dLMemSubmitPerms powershell restrict users via AD Group to send emails to Email group

Add dLMemSubmitPerms powershell restrict users via AD Group to send emails to Email group

Add dLMemSubmitPerms powershell restrict users via AD Group to send emails to Email group We set this attribute usign ADUC using attribute editor but sometimes we get dlmemsubmitperms there is no editor registered to handle this attribute type error which happens to first time when try to add this. Import-module activedirectory Set-ADObject “CN=TestEmailGroup,OU=DL,DC=Test,DC=com” -Add @{dLMemSubmitPerms=”CN=ADGroup,OU=Security…

Add Authorig powershell restrict users to send emails to Email group

Add Authorig powershell restrict users to send emails to Email group

Add Authorig powershell restrict users to send emails to Email group Import-module activedirectory Set-ADGroup -Identity “Test Group” -Add @{[email protected](‘CN=Test User,OU=Department,OU=People,DC=CONTOSO,DC=EDU’)} To get the distinguished name from Powershell we can use below command (Get-ADUser -Identity “Testuser”).DistinguishedName Below are Attribute Names, Name in GUI, Explanation, names in Powershell (Set-DistributionGroup) authOrig, Accept messages from , Only senders in…

Get Samaccountname from DisplayName using powershell active Directory

Get Samaccountname from DisplayName using powershell active Directory

Get Samaccountname from DisplayName using powershell active Directory $names = get-content “C:\Users\vbokka\Desktop\user.txt” foreach ($name in $names) {Get-ADUser -filter { DisplayName -eq $name } -server “corp.bydeluxe.com”| Select name,samAccountName}

Get-DistributionGroup managed by export-csv - Powershell

Get-DistributionGroup managed by export-csv – Powershell

Get-DistributionGroup managed by export-csv – Powershell First step would be import csv with DL names which you would like to check $List=import-csv “C:\Users\username\Desktop\DLs.csv” Second would to find the managedby for those DL’s ForEach ($User in $List){Get-DistributionGroup -Identity $User.name| select name,Managedby | out-gridview}

Making a Security Group using Distribution group members in Powershell

Making a Security Group using Distribution group members in Powershell

Making a Security Group using Distribution group members in Powershell First lets get the list of users samaccountnames from Distribution list $List=Get-ADGroupmember DistributionlistName Now create a empty Security group from Active Directory Users and Computers Now lets add each of above user into a security group which is created from ADUC(Active Directory Users and Computers).…