AD Send mail on password reset
This is based on Security Event ID 4724. When this is logged on the domain controller, Task Scheduler kicks this script. And send a mail to Admin and user. And…
This is based on Security Event ID 4724. When this is logged on the domain controller, Task Scheduler kicks this script. And send a mail to Admin and user. And…
At a company where I worked, there was no logging with account lock and the had plans to change the GPO that accounts will not be auto unlocked.So I also…
At the company were I worked we had a name change. They also use the display name in outlook to send mail. Example: Daag van der Meer So everyone see…
I created this script because of moving the profiles to a server in the data center were also the terminal server is located. Powershell needs to be runned as Administrator…
Exchange 2007 Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Exchange 2010 Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Exchange 2013 & 2016 Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;
With a single command you can retrieve WWN’s on Windows Server 2012 R2 using PowerShell. Open the PowerShell command and type: Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace “root\WMI” | ForEach-Object {(($_.NodeWWN) |…
I Use this script in MDT to remove all Windows 10 Apps. Add more in $Appslist if you need to remove more. $AppsList = "Microsoft.3DBuilder","Microsoft.Microsoft3DViewer","Microsoft.BingWeather","Microsoft.Getstarted","Microsoft.Messaging","Microsoft.MicrosoftOfficeHub","Microsoft.MicrosoftSolitaireCollection","Microsoft.OneConnect","Microsoft.People","Microsoft.SkypeApp","microsoft.windowscommunicationsapps","Microsoft.FeedbackHub","Microsoft.WindowsMaps","Microsoft.XboxApp","Microsoft.XboxIdendityProvider","Microsoft.ZuneMusic","Microsoft.ZuneVideo","AdobeSystemsIncorporated.AdobePhotoshopExpress","Microsoft.Advertising.Xaml","Microsoft.Office.OneNote","Microsoft.WindowsFeedbackHub","Microsoft.XboxGameOverlay","Microsoft.XboxIdentityProvider","Microsoft.XboxSpeechToTextOverlay","Microsoft.Office.Sway","Microsoft.BingNews","D5EA27B7.Duolingo-LearnLanguagesforFree","46928bounde.EclipseManager" ForEach ($App in $AppsList) {…
Create powershell script $RegPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" Set-ItemProperty $RegPath "AutoAdminLogon" -Value "1" -type String Set-ItemProperty $RegPath "DefaultPassword" -Value "Password" -type String Place it high in the State Restore.
https://poshgui.com
At the custommer I needed to add SSTP VPN to all the laptops via GPO. But SSTP vpn profile can’t be created in GPO. So I looked further and found…