Windows IT

Clear2all Professional Blog new

Powershell Get-Eventlog Get-Process and Stop-Process commands

Get-EventLog

We use PowerShell to parse your Server’s/computers event logs using the Get-EventLog cmdlet. There are several parameters available. Use the -Log switch followed by the name of the log file to view a specific log.

For example we can use the following command to view the Application log:

Get-EventLog -Log "Application"

Few options we have with Get-Eventlog options

-Verbose
-Debug
-ErrorAction
-ErrorVariable
-WarningAction
-WarningVariable
-OutBuffer
-OutVariable

Get-WinEvent with filter for event id

PowerShell’s Get-WinEvent cmdlet is a powerful method to filter Windows event and diagnostic logs. Performance improves when … Read the rest

Clear2all Professional Blog new

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, as follows:

An unexpected I/O error has occurred. Error code: 0xc00000e9

What Is Error Code 0xc00000e9?

Error code 0xc00000e9 is a specific boot error code you might see if your PC is having difficulty booting up. Normally after boot up, Windows logo upon booting up … Read the rest

Clear2all Professional Blog new

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 – The delegate is the person that will accept the meeting requests and approve or decline the meeting requests.

The resource Mailbox includes two types of Mailboxes – Room Mailbox and Equipment Mailbox.

1. Creating Room (Resource) Mailbox
PowerShell command syntax

New-Mailbox -Name "" Read the rest

Clear2all Professional Blog new

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 = Allgood@2018*
PS C:\Windows\system32Set-adaccountpassword ‘samaccountname’ -reset -newpassword (ConvertTo-SecureString -AsPlainText $password -Force)
PS C:\Windows\system32… Read the rest

Clear2all Professional Blog new

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 Groups,DC=Test,DC=com”}

To get the distinguished name from Powershell we can use below command

(Get-ADGroup -Identity “Groupname”).DistinguishedName

Below are Attribute Names, Name in GUI, Explanation, names in Powershell (Set-DistributionGroup)

authOrig, Accept messages from , Only senders in the following list can send emails to this group … Read the rest

Clear2all Professional Blog new

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 @{authOrig=@(‘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 the following list can send emails to this group if set, -AcceptMessagesOnlyFrom

dLMemSubmitPerms, same as above, see above but this accepts group, -AcceptMessagesOnlyFromDLMembers
unauthOrig, Reject messages from, Senders in the following list are not allowed to send emails to this group, -RejectMessagesFrom

dLMemRejectPerms, same as … Read the rest

WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.