Category: Windows Server 2019

Add a PowerShell Remoting Session in the Windows Terminal Menu

Add a PowerShell Remote Session in Windows Terminal

I am sure you have heard about the new Windows Terminal, which is in preview, and you can get it from the Windows Store. In this blog post, I want to share how you can add a PowerShell remote session to the drop-down menu in the Windows Terminal when you open a new tab. The new Windows Terminal is highly customizable and it allows you to run different shells like the classic command prompt, Windows PowerShell, PowerShell 7, and also Windows Subsystem for Linux shells (I am using, for example, Ubuntu with the Windows Subsystem for Linux 2 (WSL 2)).

Scott Hanselman wrote a great blog post on how you can add tabs to open an SSH connection directly, so why not do the same thing with PowerShell? In my example, I will add a tab in Windows Terminal, which opens up a PowerShell remoting session (using WS-Management WSMan) to an Azure virtual machine (VM). However, this would work with every other machine which you can access using PowerShell Remoting.

Add a PowerShell Remote Session in Windows Terminal Tab

To get started, we need to open up the settings of the Windows Terminal. This will open up a profiles.json file, which you can edit in your favorite editor, for example, Visual Studio Code. To add new “menu items,” you will need to add a profile to the profiles array in the JSON file. In my case, I will add two to different menu items, once I am going to do a PowerShell remoting session to an Azure VM using Windows PowerShell and in the other, I am going to use PowerShell 7.

Windows Terminal Settings profiles

Windows Terminal Settings profiles

You can see here the following to profile entries:

Remote Session using Windows PowerShell 5.1

{
"name":  "PS Thomas AzureVM",
"tabTitle": "PS Thomas Maurer AzureVM",
"commandline": "powershell.exe -NoProfile -NoExit -Command Enter-PSSession -ComputerName azurevmps.westeurope.cloudapp.azure.com -Credential thomas",
"icon": "C:/Users/thoma/Downloads/AzureVMIcon32.png"
},

Remote Session using PowerShell 7

{
"name":  "PS Thomas AzureVM",
"tabTitle": "PS Thomas Maurer AzureVM",
"commandline": "pwsh.exe -NoProfile -NoExit -Command Enter-PSSession -ComputerName azurevmps.westeurope.cloudapp.azure.com -Credential thomas",
"icon": "C:/Users/thoma/Downloads/AzureVMIcon32.png"
},

As you can see, we define the profile name and the tab title in for the Windows Terminal entry. We have the command line command here, which starts the PowerShell remoting session. The command opens a PowerShell session to a specific computer or server using the ComputerName parameter and the Credential parameter for the credentials. In my case, I am connecting to an Azure VM with the name azurevmps.westeurope.cloudapp.azure.com (could also be an IP address) and the username Thomas. The last thing I add is a small icon (32×32 pixel) since I am connecting to an Azure VM, I took the Azure VM icon.

In this scenario, I am using PowerShell Remoting over HTTP, you can use the same thing for your connections using PowerShell Remoting over HTTPS or even PowerShell Remoting over SSH which are way more secure, and should be used for your connections.

Now your Windows Terminal drop-down menu will look like this:

Add a PowerShell Remote Session in Windows Terminal Tab

Add a PowerShell Remote Session in Windows Terminal Tab

By selecting one of these profiles, you will automatically open a PowerShell remoting session to a specific computer or server in Windows Terminal.

Windows Terminal - Azure virtual machine VM PS Remote Session

Windows Terminal – Azure virtual machine VM PS Remote Session

I hope this gives you an idea of how you can add a PowerShell remote session in Windows Terminal menu. If you want to know more about the Windows Terminal, check out the following blog, and if you have any questions, please feel free to leave a comment.

If you want to know more about what’s new in PowerShell 7, check out my blog.



Microsoft Virtual Training Day NL

Speaking at the Microsoft Virtual Training Day NL

I am happy to let you know that I will be speaking at the free Microsoft Virtual Training Day NL online event on Wednesday, March 11th. You might have heard that Microsoft Ignite The Tour Amsterdam was canceled due to COVID-19. Microsoft Virtual Training Day NL is an alternative to speed you up and support you in your technical skills. This day will be full of technical sessions based on our Microsoft Learning Paths from Microsoft Ignite The Tour.

Join us during this digital event to get inspired and to learn from our technical specialists. We have great (inter)national speakers that will bring exclusive content and demos to you. Microsoft Ignite The Tour Amsterdam got cancelled due to COVID-19. Microsoft Virtual Training Day | NL is an alternative to speed you up and support you in your technical skills.

Explore the tracks

We offer 7 tracks including 5 sessions per track, based on the Learning Paths of Azure Cloud Native, Azure Data, Azure Infra & Ops, Business Applications, Power Platform, Modern Workplace and Surface. On the day itself you can join sessions of different tracks. Please see below the summarized schedule with all sessions.

I will be presenting in the Azure Infra & Ops track, which you can register here. You can now watch some of the Microsoft Ignite The Tour sessions online!

Azure Infra & Ops

Understand key cloud concepts and core services, and learn how Microsoft Azure allows you to build applications with the full power and resilience of the cloud. Also, learn how to migrate existing VM workloads to Azure and define governance, security, and policies for your Azure environment.

Migrating IaaS workloads to Azure

Now that the migration of their server hosts from Windows Server 2008 R2 to Windows Server 2019 is complete, Tailwind Traders wants to begin the process of “lift and shift”: migrating some of their on-premises VMs they’ve been running in their datacenter. In this session, learn about how Tailwind Traders began the process of migrating some of their existing VM workloads to Azure and how this allowed them to retire aging server hardware and close datacenter and server rooms that were costing the organization a substantial amount of money.

Azure governance and management

Tailwind Traders’ deployments are occurring in an ad hoc manner, primarily driven by lack of protocol and unapproved decisions by various operators or employees. Some deployments even violate the organization’s compliance obligations, such as being deployed in an unencrypted manner without DR protection. After bringing their existing IaaS VM fleet under control, Tailwind Traders wants to ensure future deployments comply with policy and organizational requirements. In this session, walk through the processes and technologies that will keep Tailwind Traders’ deployments in good standing with the help of Azure Blueprints, Azure Policy, role-based access control (RBAC), and more.

Hybrid management technologies

Tailwind Traders has now migrated the majority of their server hosts from Windows Server 2008 R2 to Windows Server 2019. Now, they are interested in the Azure hybrid technologies that are readily available to them. In this session, learn how Tailwind Traders began using Windows Admin Center and Azure Arc to manage its fleet of Windows Server computers and integrated hybrid technologies, such as Azure File Sync, Azure Site Recovery, and Azure Update Management, to improve deployment performance and manageability.

If you want to watch the Microsoft Ignite The Tour sessions online, join us online for the Microsoft Virtual Training Day NL event. I hope to see you there virtually!



Microsoft Ignite The Tour Amsterdam 2019 Thomas Maurer Speaking

Speaking at Microsoft Ignite The Tour 2020 Amsterdam

I am happy to let you know that I will be speaking at Microsoft Ignite The Tour in Amsterdam. This will be my stop number 7 for Microsoft Ignite The Tour (MITT) 2019-2020 after Shenzhen, London, Milan, Prague, Copenhagen, and my home tour stop in Zürich, Switzerland. Last year I had a lot of fun at Microsoft Ignite The Tour 2019. For those who haven’t heard of MITT yet, Microsoft Ignite The Tour brings the very best of Microsoft Ignite to a city near you. The tour provides technical training led by Microsoft experts and your community. You’ll learn new ways to build solutions, migrate and manage infrastructure, and connect with local industry leaders and peers.

  • Date: March 11-12, 2020
  • Location: RAI Amsterdam

By the way, if you are interested in taking a Microsoft certification exam for free, check out the following blog post: Free Microsoft Certification exam voucher at Microsoft Ignite The Tour 2020. We also offer free certification vouchers at Microsoft Ignite in Amsterdam.

Microsoft Ignite The Tour Amsterdam

Our industry-leading conference is hitting the road—and coming to a city near you. You don’t want to miss the very latest in cloud technologies and developer tools with guest speakers, industry experts, and more. Get on the list today!

I will be speaking in the Microsoft Ignite The Tour learning paths. I am thrilled to show you some cool stuff about PowerShell, Windows Server 2019, Windows Admin Center, Azure Arc, and much more! I will be presenting the following sessions:

MSI20 - Hybrid management technologies

Tailwind Traders has now migrated the majority of their server hosts from Windows Server 2008 R2 to Windows Server 2019. Now, they are interested in the Azure hybrid technologies that are readily available to them. In this session, learn how Tailwind Traders began using Windows Admin Center and Azure Arc to manage its fleet of Windows Server computers and integrated hybrid technologies, such as Azure File Sync, Azure Site Recovery, and Azure Update Management, to improve deployment performance and manageability.

MCO20 - Azure governance and management

Tailwind Traders’ deployments are occurring in an ad hoc manner, primarily driven by lack of protocol and unapproved decisions by various operators or employees. Some deployments even violate the organization’s compliance obligations, such as being deployed in an unencrypted manner without DR protection. After bringing their existing IaaS VM fleet under control, Tailwind Traders wants to ensure future deployments comply with policy and organizational requirements. In this session, walk through the processes and technologies that will keep Tailwind Traders’ deployments in good standing with the help of Azure Blueprints, Azure Policy, role-based access control (RBAC), and more.

I am looking forward to speaking at Microsoft Ignite The Tour (MITT) 2019-2020 in Amsterdam. Let me know in the comments if you are going too, and I hope to see you there!



Microsoft Ignite The Tour 2020

Speaking at Microsoft Ignite The Tour 2020 Zürich

I am exiting to let you know that I will be speaking at Microsoft Ignite The Tour in Zürich. This will not only be my 6th Microsoft Ignite The Tour (MITT) stop after Shenzhen, London, Milan, Prague, and Copenhagen, and it will also be my home tour stop in Zürich, Switzerland. For those who haven’t heard of MITT yet, Microsoft Ignite The Tour brings the very best of Microsoft Ignite to a city near you. The tour provides technical training led by Microsoft experts and your community. You’ll learn new ways to build solutions, migrate and manage infrastructure, and connect with local industry leaders and peers.

  • Date: March 4-5, 2020
  • Location: Hallenstadion, Zürich

Microsoft Ignite The Tour Zürich

Our industry-leading conference is hitting the road—and coming to a city near you. You don’t want to miss the very latest in cloud technologies and developer tools with guest speakers, industry experts, and more. Get on the list today!

I will be speaking in the Microsoft Ignite The Tour learning paths. I am thrilled to show you some cool stuff about PowerShell, Windows Server 2019, Windows Admin Center, Azure Arc, and much more! I will be presenting the following sessions:

MSI20 - Hybrid management technologies

Tailwind Traders has now migrated the majority of their server hosts from Windows Server 2008 R2 to Windows Server 2019. Now, they are interested in the Azure hybrid technologies that are readily available to them. In this session, learn how Tailwind Traders began using Windows Admin Center and Azure Arc to manage its fleet of Windows Server computers and integrated hybrid technologies, such as Azure File Sync, Azure Site Recovery, and Azure Update Management, to improve deployment performance and manageability.

MCO20 - Azure governance and management

Tailwind Traders’ deployments are occurring in an ad hoc manner, primarily driven by lack of protocol and unapproved decisions by various operators or employees. Some deployments even violate the organization’s compliance obligations, such as being deployed in an unencrypted manner without DR protection. After bringing their existing IaaS VM fleet under control, Tailwind Traders wants to ensure future deployments comply with policy and organizational requirements. In this session, walk through the processes and technologies that will keep Tailwind Traders’ deployments in good standing with the help of Azure Blueprints, Azure Policy, role-based access control (RBAC), and more.

I am looking forward to speaking at Microsoft Ignite The Tour (MITT) 2019-2020 in Zürich. Let me know in the comments if you are going too, and I hope to see you there!



Speaking at Microsoft Ignite 2019

Speaking at Microsoft Ignite The Tour 2020 Copenhagen

My 5th Microsoft Ignite The Tour (MITT) stop after Shenzhen, London, Milan and Prague will be Microsoft Ignite The Tour in Copenhagen. Microsoft Ignite The Tour brings the very best of Microsoft Ignite to a city near you. The tour provides technical training led by Microsoft experts and your community. You’ll learn new ways to build solutions, migrate and manage infrastructure, and connect with local industry leaders and peers.

  • Date: February 27–28, 2020
  • Location: Bella Center, Copenhagen

Microsoft Ignite The Tour Copenhagen

Our industry-leading conference is hitting the road—and coming to a city near you. You don’t want to miss the very latest in cloud technologies and developer tools with guest speakers, industry experts, and more. Get on the list today!

I will be speaking in the Microsoft Ignite The Tour learning paths. I am thrilled to show you some cool stuff about PowerShell, Windows Server 2019, Windows Admin Center, Azure Arc, and much more! I will be presenting the following sessions:

MSI20 - Hybrid management technologies

Tailwind Traders has now migrated the majority of their server hosts from Windows Server 2008 R2 to Windows Server 2019. Now, they are interested in the Azure hybrid technologies that are readily available to them. In this session, learn how Tailwind Traders began using Windows Admin Center and Azure Arc to manage its fleet of Windows Server computers and integrated hybrid technologies, such as Azure File Sync, Azure Site Recovery, and Azure Update Management, to improve deployment performance and manageability.

MCO20 - Azure governance and management

Tailwind Traders’ deployments are occurring in an ad hoc manner, primarily driven by lack of protocol and unapproved decisions by various operators or employees. Some deployments even violate the organization’s compliance obligations, such as being deployed in an unencrypted manner without DR protection. After bringing their existing IaaS VM fleet under control, Tailwind Traders wants to ensure future deployments comply with policy and organizational requirements. In this session, walk through the processes and technologies that will keep Tailwind Traders’ deployments in good standing with the help of Azure Blueprints, Azure Policy, role-based access control (RBAC), and more.

By the way, if you are interested in taking a Microsoft certification exam for free, check out the following blog post: Free Microsoft Certification exam voucher at Microsoft Ignite The Tour 2020. We also offer free certification vouchers at Microsoft Ignite in Copenhagen.

I am looking forward to speaking at Microsoft Ignite The Tour (MITT) 2019-2020 in Copenhagen. Let me know in the comments if you are going too, and I hope to see you there!



Microsoft Ignite The Tour 2020

Speaking at Microsoft Ignite The Tour 2020 Prague

After my first three Microsoft Ignite The Tour (MITT) stops in Shenzhen, London, and Milan, I am happy and honored that my fourth stop of Microsoft Ignite The Tour will be in Prague. By the way, if you are interested in taking a Microsoft certification exam for free, check out the following blog post: Free Microsoft Certification exam voucher at Microsoft Ignite The Tour 2020. We also offer the free certification vouchers at Microsoft Ignite in Prague.

  • Date: February 24–25, 2020
  • Location: Prague Congress Centre

Microsoft Ignite The Tour Prague

Our industry-leading conference is hitting the road—and coming to a city near you. You don’t want to miss the very latest in cloud technologies and developer tools with guest speakers, industry experts, and more. Get on the list today!

I will be speaking in the Microsoft Ignite The Tour learning paths. I am thrilled to show you some cool stuff about PowerShell, Windows Server 2019, Windows Admin Center, Azure Arc, and much more! I will be presenting the following sessions:

MSI20 - Hybrid management technologies

Tailwind Traders has now migrated the majority of their server hosts from Windows Server 2008 R2 to Windows Server 2019. Now, they are interested in the Azure hybrid technologies that are readily available to them. In this session, learn how Tailwind Traders began using Windows Admin Center and Azure Arc to manage its fleet of Windows Server computers and integrated hybrid technologies, such as Azure File Sync, Azure Site Recovery, and Azure Update Management, to improve deployment performance and manageability.

MCO20 - Azure governance and management

Tailwind Traders’ deployments are occurring in an ad hoc manner, primarily driven by lack of protocol and unapproved decisions by various operators or employees. Some deployments even violate the organization’s compliance obligations, such as being deployed in an unencrypted manner without DR protection. After bringing their existing IaaS VM fleet under control, Tailwind Traders wants to ensure future deployments comply with policy and organizational requirements. In this session, walk through the processes and technologies that will keep Tailwind Traders’ deployments in good standing with the help of Azure Blueprints, Azure Policy, role-based access control (RBAC), and more.

I am looking forward to speaking at Microsoft Ignite The Tour (MITT) 2019-2020 in Prague. Let me know in the comments if you are going too, and I hope to see you there!



Secure your Server with Azure Security Center

Use Azure Security Center with Windows Server on-premises

Windows Admin Center makes it easy to connect Azure Hybrid Cloud services to your on-premises Windows Server environment. For a while now we can connect services like Azure Monitor, Azure File Sync, Azure Update Management and many more to Windows Server. This helps us to make our on-premises environment even better, by using Azure Cloud Services. At Microsoft Ignite we also announced Azure Arc, which brings cloud-native management to your on-premises environment. With the latest version of the Windows Admin Center, we can now easily connect Windows Servers to Azure Security Center. Azure Security Center will help you to quickly strengthen your security posture and protect against threats. It will not just scan your Azure resources but also your hybrid resources, for example, servers running on-premises or at other cloud providers. You can add Linux and Windows servers to Azure Security Center, and Windows Admin Center makes it easy to onboard your Windows Server.

Azure Security Center is a unified infrastructure security management system that strengthens the security posture of your data centers, and provides advanced threat protection across your hybrid workloads in the cloud – whether they’re in Azure or not – as well as on premises.

Keeping your resources safe is a joint effort between your cloud provider, Azure, and you, the customer. You have to make sure your workloads are secure as you move to the cloud, and at the same time, when you move to IaaS (infrastructure as a service) there is more customer responsibility than there was in PaaS (platform as a service), and SaaS (software as a service). Azure Security Center provides you the tools needed to harden your network, secure your services and make sure you’re on top of your security posture.

You can find more about Azure Security Center here.

Add an on-premises Windows Server to Azure Security Center

To add an on-premises Windows Server to Azure Security Center you can install an agent or you can use Windows Admin Center.

Secure your Server with Azure Security Center

Secure your Server with Azure Security Center

Open Windows Admin Center and click on Azure Security Center in the menu. Click on Sign into Azure and set up. This will open the wizard to onboard the server.

Onboard Server to Azure Security Center with Windows Admin Center

Onboard Server to Azure Security Center with Windows Admin Center

The wizard will ask you to with Azure subscription, resource group and log analytics workspace the server should be connected to. After a couple of minutes, you will get recommendations which you can review in the Azure Security Center or directly for the Windows Server in Windows Admin Center.

Azure Security Center Recommendations

Azure Security Center Recommendations

Get Windows Admin Center

Windows Admin Center is a free download to use with your Windows Servers, you can download Windows Admin Center here. If you want to know more about the Hybrid capabilities, check out my blog post on ITOpsTalk.com. If you want to know more about Azure Hybrid Cloud, check out azure.com/hybrid.

I hope this gives you an overview of how you add Windows Servers to Azure Security Center using Windows Admin Center. Let me know if you have any questions in the comments.