Updated: May 17, 2016 | | Tags: Active Directory, File and Storage Services, PowerShell, Script, Security
The script will look through the a selected Organization Unit and verify that all users have a Home Directory set, and that it has the appropriate NTFS permissions.
Previously all users had Full-permissions on their home folder, which led to the users resetting permissions and removing unwanted permissions (Backup or Admin accounts) to their “private” stuff.
Updated: March 5, 2016 | | Tags: Code, PowerShell, Script, Security, Troubleshoot, WiFi, Windows 7, Windows 8, WLAN
We’ve all been there, wireless passwords tend get lost.
There are several tools to retrieve the missing information, but I strongly believe that the less stuff you download from the web, the safer you are. So why not use the built in functions instead?
Updated: November 26, 2014 | | Tags: Active Directory, Azure, Cloud, Code, DirSync, Office 365, PowerShell, Troubleshoot
By default DirSync runs every three hours; which for some environments or during testing may not be frequent enough…
Updated: March 5, 2016 | | Tags: .NET, PowerShell, Server Roles, Troubleshoot, Windows Server 2012
Windows Server 2012 includes .NET Framework, it provides a comprehensive and consistent programming model to build and run applications (including Roles and Features) that are built for various platforms.
It is not recommended to uninstall .NET Framework. In some given circumstances, there may be a requirement to remove/re-install it…
Updated: December 13, 2018 | | Tags: Active Directory, Azure, Cloud, PowerShell, Script, Troubleshoot
You can install the Azure module directly from the PowerShell prompt and connect to the numerous services offered by Microsofts extensive cloud solution!
Updated: October 21, 2014 | | Tags: Calendar, Cloud, Code, Office 365, Outlook, PowerShell, Script, Security
Per default the calendars of shared mailboxes in Office 364 have “FreeBusyTimeOnly” permissions applied.
You could create a new sharing policy and change the applied policy on those accounts.
I however chose to just change the sharing permissions on the shared calendar.
Updated: July 16, 2014 | | Tags: Active Directory, Code, PowerShell, Script, Security
To help detect and prevent malicious behavior I usually implement different scripts or other monitoring features in my customers environments.
One of the snippets I frequently use is one that detects newly created accounts.
Updated: March 5, 2016 | | Tags: Active Directory, Code, Deployment, PowerShell, Windows Server 2012
There are several reasons to change the default organizational unit of computers that join the domain.
The default OU (domain.local\Computers) cannot be linked with GPOs, and should be avoided since its builtin.
Posted: November 20, 2013 | | Tags: Active Directory, dsacls, Fix, Permissions, PowerShell, SPN, Windows Server 2008, WinRM
I was getting an error at startup on a new Windows 2008 R2 Domain Controller. Apparently the WinRM attempts to create two SPNs after the startup process.
Since that WinRM runs under “Network Service” account, I was able to fix this warning by granting the “Validated Write to Service Principal Name” permission to the NETWORK SERVICE…
Updated: December 13, 2018 | | Tags: Cloud, Office 365, PowerShell, Troubleshoot
The GUI at Microsoft is great but sometimes we need to dig a bit deeper.
I ran into some issues with a Resource mailbox and had to do some troubleshooting in the Office 365 service.