Terraform - Uploading a local PowerShell module to an Azure Automation account
LazyWinAdmin
by François-Xavier Cat
3y ago
Test environment Ubuntu 20.04, Terraform v0.12.28, provider.azurerm v2.18.0 Azure Automation runbooks are a convinient way to run code in the cloud or on-premises (using Hybrid workers). You create a runbook, create a webhook and your code can be pretty much triggered by any event or system. I had a scenario where some of my runbooks were using a custom PowerShell module that was not publicly available. This short article document my approach. While developping some terraform configuration I noticed the azurerm provider did not offer a way to upload a PowerShell module into the Automation acco ..read more
Visit website
PowerShell/Azure - Update App Service Access Restriction IP Rules
LazyWinAdmin
by François-Xavier Cat
4y ago
Tested on PowerShell 7.0.0 on Ubuntu 18.04 I recently helped out a friend who needed to configure restrictive IP Address Rules on an Azure App Service Service using PowerShell. The goal was to be able to set IP Address Rules but also overwrite anything currently setup. Azure App Services are publicly accessible by default via your_app_name.azurewebsites.net or your_app_name.scm.azurewebsites.net. You might want to restrict the access to specific IP CIDR or force clients to access your app via different routes, examples: Application Gateway or Firewall. In the Azure Portal, the IP Address Rules ..read more
Visit website
Microsoft MVP 2020-2021
LazyWinAdmin
by François-Xavier Cat
4y ago
It’s that time of the year! July 1st is the renewal date for all the Microsoft Most Valuable Professionals (MVPs). Once again, I feel honored, proud and pleased to receive the Microsoft MVP award for another year for the category Cloud and DataCenter Management MVP! Dear Francois-Xavier, We’re once again pleased to present you with the 2020-2021 Microsoft Most Valuable Professional (MVP) award in recognition of your exceptional technical community leadership. We appreciate your outstanding contributions in the following technical communities during the past year: Cloud and Datacenter Manageme ..read more
Visit website
Offline Domain Join using PowerShell and c#
LazyWinAdmin
by François-Xavier Cat
4y ago
I wrote on Offline Domain Join (ODJ) a while back where I used PowerShell to rebuild a “djoin-compatible” file from the djoin.exe output in a format that djoin would accept. In my scenario at the time, I couldn’t pass the file generated by djoin directly. What is the djoin.exe you may ask ? this is a tool provided by Microsoft that allow you to join a machine to an Active Directory domain without network connectivity. The operation happens in two phases: First you run djoin on a machine connected to Active Directory which output a very long string of text (or a file directly with that string ..read more
Visit website
PowerShell 7 - What’s new ?
LazyWinAdmin
by François-Xavier Cat
4y ago
Tested on PowerShell 7.0.0 on Ubuntu 18.04 Last week I gave a presentation on “PowerShell 7 - What’s new ?” at the French PowerShell User Group. I wanted to highlight some of the new features mentioned during this presentation and also some discovered since the release. PowerShell 7 What changed ? PowerShell 7 (Core has been removed from the name) First Long Term Servicing (LTS) release PowerShell 7 is based on .NET Core 3.1 Supported Operating Systems: Windows 8.1, and 10 Windows Server 2012, 2012 R2, 2016, and 2019 macOS 10.13+ Red Hat Enterprise Linux (RHEL ..read more
Visit website
Hacktoberfest PowerShell (french)
LazyWinAdmin
by François-Xavier Cat
4y ago
Dans le cadre du Hacktoberfest qui ce tient pendant le mois d’Octobre, nous organisons un mini-meetup pour discuter les différentes façons de contribuer a des projets Open Sources sur Github. Les démos seront évidemment concentrées sur les projets PowerShell de la communauté. Hacktoberfest ? Hacktoberfest - Présenté par DigitalOcean et DEV en partenariat avec GitHub est une célébration d’un mois du logiciel libre. Les maintainers sont invités à guider les contributeurs potentiels vers les questions qui aideront à faire avancer le projet, et les contributeurs ont la possibilité de contribu ..read more
Visit website
Test post (please ignore)
LazyWinAdmin
by François-Xavier Cat
4y ago
Test post, please ignore ..read more
Visit website
Test post (please ignore)
LazyWinAdmin
by François-Xavier Cat
4y ago
Test post, please ignore ..read more
Visit website
PowerShell - Executing code at specific times
LazyWinAdmin
by François-Xavier Cat
4y ago
Tested on: Windows PowerShell 5.1 PowerShell 6.2.2 Quick tip - How to trigger code at specific times I recently had someone ask how they could trigger a piece of PowerShell code at different times. This type of tasks can usually be handled by other systems such as Scheduler, Event or message based systems. In this particular case, it needed to be handled in the current PowerShell session. I came up with the following solution. Let me know in the comment section if you would use another approach and I’ll add you to the post. # Specify the Execution times $TriggerTimes = @( '4:12:00 ..read more
Visit website
Microsoft MVP 2019-2020
LazyWinAdmin
by François-Xavier Cat
5y ago
I’m very pleased and honored to receive the Microsoft MVP award for another year for the category Cloud and DataCenter Management MVP ! Dear Francois-Xavier, We’re once again pleased to present you with the 2019-2020 Microsoft Most Valuable Professional (MVP) award in recognition of your exceptional technical community leadership. We appreciate your outstanding contributions in the following technical communities during the past year: Cloud and Datacenter Management **I want to thank everyone for their support, the incredible Community and the teams at Microsoft :bow: In the last y ..read more
Visit website

Follow LazyWinAdmin on FeedSpot

Continue with Google
Continue with Apple
OR