Skip to main content
Jorge Bernhardt Jorge Bernhardt

Windows

2021

How to configure IIS logging using PowerShell
·856 words·5 mins· 100 views · 5 likes
Get-ChildItem Get-ItemProperty Get-PSProvider Import-Module
Log files are great places to look when troubleshooting or analyzing your website traffic. Every time your IIS receives a client’s request, it records that request in a log file. In this post, I want to show you how to use PowerShell to configure and manage IIS log files, such as changing the logging frequency or setting the folder where IIS will store log files or, if you prefer, how to turn off logging.
How to install IIS on Windows Server with SSL using PowerShell
·703 words·4 mins· 100 views · 5 likes
Get-ChildItem Get-PSProvider Get-WebBinding Import-Module
Today I want to show you how to install Internet Information Server (IIS) on my favorite operating system, Windows Server using PowerShell. IIS is a great feature that allows us to provide our server with an extensible web server.

2020

How to Add a Public Domain UPN Suffix to Domain Users in Active Directory
·453 words·3 mins· 100 views · 5 likes
Active Directory Get-ADForest Microsoft Microsoft 365
A User Principal Name (UPN) is an attribute that is an internet communication standard for user accounts. A UPN consists of a UPN prefix (the user account name) and a UPN suffix (a DNS domain name).
First steps in Terraform - Azure Setup
·465 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure DevOps Azure service principal
Today I want to talk to you about terraform, this open-source tool that allows us to define, preview and deploy infrastructure on a multitude of cloud providers such as Azure, AWS, and google, using the HashiCorp Configuration Language (HCL).
How to enable SMB encryption on Windows Server
·378 words·2 mins· 100 views · 5 likes
Get-SmbConnection Get-SmbServerConfiguration Get-SmbShare Microsoft
Since Windows Server 2012 and Windows 8, we have version 3.0 of the SMB protocol. This version includes several SMB security enhancements, one of which is encryption. Implementation of this enhancement enables us to encrypt data transferred over the network between the SMB file server and the client.
How to check the size of the Active Directory Database
·303 words·2 mins· 100 views · 5 likes
Active Directory Active Directory Database Microsoft Microsoft Windows
The size of the active directory database on a domain controller is the size of the NTDS.dit file. This size may vary between domain controllers in the same domain, due to non-replicated changes, differences with non-replicated data, and white-space from purge objects.

2019

How to change the attribute ms-DS-MachineAccountQuota
·308 words·2 mins· 100 views · 5 likes
Active Directory ADSIEDIT Get-ADObject Microsoft
By default, In the Microsoft Active Directory, members of the authenticated user group can join up to 10 computer accounts in the domain. This value is defined in the attribute ms-DS-MachineAccountQuota on the domain-DNS object for a domain.
How to map a Network Drive to an Azure File Share
·431 words·3 mins· 100 views · 5 likes
Azure PowerShell cmdkey Connect-AzAccount ConvertTo-SecureString
In a previous post, I explained how to create an Azure file share. Today, I want to show you how to connect and mount an Azure file share with Azure PowerShell.
Windows 10: Turn Off Microsoft Consumer Experiences
·358 words·2 mins· 100 views · 5 likes
GPO Microsoft Microsoft Windows Registry
Windows 10 automatically installs some games, third-party apps and application links from the Windows Store for the signed-in user. In this post, I want to show how to prevent them from being installed, enabling the Group Policy setting: Turn Off Microsoft Consumer Experiences, using the group policy editor or the registry editor.
How to deploy Azure VMs with Ephemeral OS disks
·719 words·4 mins· 100 views · 5 likes
Add-AzVMNetworkInterface Azure PowerShell Connect-AzAccount Get-AzSubscription
Hi, today I want to talk to you about the Ephemeral OS disks and how to perform the deployment of virtual machines with Ephemeral OS disks using Azure PowerShell. The Ephemeral operating system disks are created in local VM virtual storage, such as temporary disks, and are not saved in Azure Remote Storage.
Active Directory Snapshots using NTDSUTIL
·482 words·3 mins· 100 views · 5 likes
Active Directory Database dsamain.exe Microsoft Microsoft Windows
In this post, I want to show you how you can use ntdsutil.exe to create snapshots of the Active Directory database and how you can use tools to examine its contents, either to compare or transfer objects without starting in Restore Mode Directory Services (DSRM)
Azure Portal App is the new way to manage all your Azure resources
·193 words·1 min· 100 views · 5 likes
Azure Cloud Shell Azure Portal App Microsoft Microsoft Azure
The Azure Portal app is the new option available to access and manage all your Azure resources. This application has been recently published by Microsoft and is only available for Windows.
How to Install Docker on Windows Server
·316 words·2 mins· 100 views · 5 likes
Docker docker info docker run docker version
In this post, I want to show you how to install Docker on Windows Server 2016/2019. The process to install Docker in Windows Server is easy with the help of the PowerShell module of the OneGet provider.
How to Implement Nested Virtualization in Windows Server
·314 words·2 mins· 100 views · 5 likes
Get-VMProcessor Microsoft Microsoft Windows PowerShell
Hi, Today, I want to show you how to implement nested virtualization in Windows Server. This feature is helpful for testing and training purposes (such as preparing for a certification exam).
How to Enable COM+ in Windows Server 2016
·199 words·1 min· 100 views · 5 likes
Microsoft Microsoft Windows PowerShell Registry Editor
As you know, compatibility with the application server function was removed from Windows Server 2016. In this post, I will show you how to manually enable COM+ remote access in your Windows Server 2016 using Windows PowerShell and the Registry Editor.
Transfer and Seize FSMO roles Using PowerShell
·314 words·2 mins· 100 views · 5 likes
Get-ADDomain Get-ADForest Microsoft Microsoft Windows
Today, in this post, I want to show you how to transfer or seize one or more flexible single master operations (FSMO) roles from one Domain Controller to another using PowerShell.
MCSE – Microsoft® Certified Solutions Expert: Core Infrastructure
·153 words·1 min· 100 views · 5 likes
Certification Certifications MCSE Microsoft
A week ago, I passed the Microsoft 70-743 exam: Update your skills to MCSA Windows Server 2016. And finally, I can call myself an expert in Microsoft® certified solutions: Core infrastructure.
Using PowerShell to Create BPA Reports in HTML Format
·333 words·2 mins· 100 views · 5 likes
Get-BPAModel Get-BPAResult Invoke-BPAModel Microsoft
In this post, I want to show you how to use PowerShell to create HTML reports with the Best Practices Analyzer (BPA) results. Best Practices Analyzer (BPA) is a server management tool that is available in Windows Server.
Passed Microsoft Exam 70-743 Upgrading Your Skills to MCSA Windows Server 2016
·206 words·1 min· 100 views · 5 likes
Certification Certifications MCSA Microsoft
This morning I passed the Microsoft exam 70-743 Upgrading Your Skills to MCSA Windows Server 2016, which is a composite of three standalone exams: 70-740, 70-741, and 70-742. Exam 70-743 validates skills related to core features and functionality of Windows Server 2016, from the existing knowledge base of a Microsoft Certified Systems Administrator for Windows Server 2012 R2.
Implement Offline Domain Join
·233 words·2 mins· 100 views · 5 likes
djoin.exe Microsoft Microsoft Windows Windows
Today, in this mini-post, I want to show you how to perform an offline domain join. During this process, a computer is configured to join a domain without network access to the active directory.