The latest release of the insiders edition of Azure Data Studio brings the first edition of PowerShell Notebooks! You can download the latest insiders edition from the link above, it can be installed alongside the stable release. To access many of the commands available use F1 to open the command palette (like many of my […]
In Part 4 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how we can use Ansible to invoke PowerShell code directly. Our job template in AWX to test out the possible different scenarios is _3_invoke-powershell The contents of _3_invoke-powershell.yml are are follows: There are three main options we … Continue reading Ansible, Windows and Power
The below post was based off of conversations that occurred in the community, and what can only be considered at best to be incomplete information. It’s important to me that I’m part of a solution to the miscommunication problems that got us to this point.
James Petty, who is the CEO of the DevOps Collective just issued a post on this subject that clears up a lot of the misconceptions and miscommunications.
One of the new features I've worked on was connecting Diagrams with Tables. Someone suggested, and I thought it would be cool to be able to click on the Diagram node and find more details about it in a table next to it. But then I thought it would be even cooler if you could have multiple tables linked to one Diagram. For example, below, I've created two tables with Users and Computers and populated Diagram with that data.
Iron Scripter grew out of the scripting games at PowerShell Summit and the quote below comes from the introductory post
on the Iron Scripter site.
The Chairman has decided that it is in the best interests of his Iron Scripters, and those that wish to attain that
valued designation, that training continue year-round. To that end, he has commissioned a series of PowerShell
Hello Readers, Prateek here…. I’m so excited to announce that this article is first one of its kind “a deep dive” written by friend and guest Author ‘Akshi Srivastava’. I’m...
The post Deep Dive: PowerShell Loops and Iterations appeared first on Ridicurious.
I’ve been trying to increase my Linux skills, especially as I begin to write PowerShell scripts and tools that can work cross-platform. One very important concept I want to make sure you don’t overlook is that even when scripting for non-Windows platforms, you must still be thinking about objects. The assumption is that you are […]
Check out my PowerShell Essentials page https://jdhitsolutions.
In Part 3 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how we can use Ansible to prepare servers with Windows Roles and Features. The PowerShell story around support for Windows Roles and Features can be a little confusing, since there are two different sets of PowerShell cmdlets … Continue reading Ansible, Windows and PowerShell: the Basic
By, you’ve most likely heard about the new -parallel parameter with ForEach-Object in the latest preview of PowerShell 7 Personally. I’ve been waiting for this for a long time. I used to only use PowerShell workflows because it offered a way to run commands in parallel. Having this feature as part of the language is […]
Check out my PowerShell Essentials page https://jdhitsolutions.
Create PowerShell Hashtable PowerShell Hashtables are compact data structures, which are very popular and come handy in a lot of use cases. They are capable to store one or more...
The post 11 Ways to Create HashTable in PowerShell appeared first on Ridicurious.
In Part 2 of this series we’ll move on from the introductory topics and look at how we can use Ansible to prepare servers with any external PowerShell Modules they need from the PowerShell Gallery. Our job template in AWX is _1_install-psmodule The contents of _1_install-psmodule.yml are are follows: We can use the native Ansible … Continue reading Ansible, Windows and PowerShell: the
Here’s my PowerShell.org posts for September 2019. September 2019 AWS UserData Multiple Run Framework Part IV (a) AWS Vendor-Written Generated Code AWS UserData Multiple Run Framework Part IV (b) Read-Only and Constant Variables
Vielen Dank an Planet PowerShell für die Aufnahmen in diese großartige Community. Nun darf ich meinen Blog offiziell „Planet PowerShell Featured Community Blog“ nennen. Ich hoffe dass meine Artikel auch weiterhin Menschen erreichen und eventuell bei der Problemlösung unterstützen. https://www.planetpowershell.com/authors Es ist mir eine große Ehre neben großartigen PowerShell Göttern erwähnt zu werden.
Earlier this week a new version of the MicrosoftPowerBIMgmt module was made available on the PowerShell Gallery. Two new cmdlets were included in the module Remove-PowerBIReport and Get-PowerBIActivityEvent. The Remove-PowerBIReport cmdlet was written by...
This one seems confusing for most, as it might be the area where most Windows sysadmins rely on the GUI. If you ask (almost) any sysadmin how to change the IP on a server, they are going to answers how to get to the network adapters in the settings. Things like this seem to be to be one of the...
A few months ago, when I was working on PSWriteWord and PSWriteHTML, I thought to myself that in 2020 if I'll get time, I'll try to create PSWriteVisio. While I wasn't sure I would be able to make it past some concept, it was in my plans for 2020. It's still 2019 though, and while working on Testimo for Active Directory Healthchecks, I thought it would be nice to have a visual representation of network, forest schema or replication.
In this article, we are going to see how we can leverage Azure Key Vault for storing local administrator passwords configured on Windows Servers. Before we get started, let us have a quick overview of what Azure Key Vault is.
Azure Key Vault
Azure Key Vault is a tool for securely storing and accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, or certificates.
You wish to have information about the Powershell Gallery? you are in the right place, with the powerShell module PSGalleryModule thanks @LxleChat for its module which is a prerequisite for this tool WPF. There are three ways to get Authors statistics by Module name or Powershell script or globally by...
In Part 1 of this series we’ll warm up by taking a look at the lab setup I am using, configuring some basics in AWX and what’s possible with the Ansible win_service module to configure Windows services. Lab details: For Ansible, I’m using AWX deployed in containers based from the example documented here. Additionally, I … Continue reading Ansible, Windows and PowerShell: th
Have you ever wanted to test against VMware vCenter, but didn’t have a lab environment available? How about in an automated fashion, every time you commit new code?
My prior post in this series introduces consuming the govcsim project via Docker. With a containerized vCenter Simulator (VCSIM), not only can you locally test your VMware code without a lab environment, but you can get cute running automated tests as well.
There are two new options for automating your SQL Notebooks with your SQL Servers. Earlier this month, the Insiders build of Azure Data Studio received the ability to add SQL Notebooks in SQL Agent....
I have written several articles on using PowerShell to send alerts and notifications to Microsoft Teams, but up until now they were set up using only the task scheduler. As more and more companies move to the cloud I wanted to see how I could do cloud infrastructure alerting as well. In this article I am using an Azure RunBook to connect to my Office 365 tenant, parse my licenses, and return any that need reconciliation.
Back in June of this year I presented a session at PowerShell Southampton on using Ansible and PowerShell together. There was a fair amount of interest in this topic both at the event and online afterwards, so I decided to follow it up here with a series of posts looking at the basics for someone … Continue reading Ansible, Windows and PowerShell: the Basics – Introduction →
In this article, we discuss how to grant users simple admin rights temporarily like installing software. This helps keep IT from getting bogged down. One of the more frequent conflicts between an IT department and an end user is the use of administrative privileges. End users are used to having this permission on their personal+ Read More
The post Using Make Me Admin For Administrator Privilege appeared first on WinSysBlog.
In enterprise environments, you will usually find an array of different Windows operating systems, hardware and of course software. Typically, machines are managed and configured with group policy and SCCM, or perhaps other more modern methods like Chef or Puppet. One of the symptoms of an unhealthy Windows computer is the amount of time it+ Read More
The post Measuring Reboot Time With PowerShell appeared first on WinSysBlog.
Vielleicht habt ihr meinen Artikel zum Thema RDS Meldungen für alle verbundenen Benutzer gelesen. Wer diese Funktion gerne permanent innerhalb der Powershell einsetzen würde kann sich nun mein neues Modul auf dem Server installieren. Dies kann dann dazu verwendet werden alle Benutzer bei eventuellen Problemen oder Änderungen zu benachrichtigen. In diesem Artikel erkläre ich die […]
Der Beitrag Installation des Modules „Send-RDMessage“ auf einem RDServer erschien zuerst auf it-koehler-blog.
As part of some automated deployment work for ESXi I was assisting a colleague with, they had hit an issue with an out of the box deployment of ESXi beginning with a blank password for the root account. The automation tool of choice Ansible was using an SSH connection to ESXi to make the initial … Continue reading Connecting To An ESXi Host With No Root Password Set →
The call for speakers for the 2020 PowerShell + DevOps Global Summit is open until October 1st. I can definitely speak from experience when I say that this is the best PowerShell conference in North America if you’re interested in PowerShell and networking with other like-minded people. I’ve attended every year since its inception and have spoken at it about half as many times. While I’m in no way affiliated with the organizers, based on their site, they’re not only looking for deep-dive content but also intermediate sessions.
Nothing fancy here. For a given set of usernames, show me the common groups that they are *all* in. EG; if I have a list of 20 usernames, I need to check all of their group memberships and find the common thread(s) that run between every user. There are probably a dozen of ways to... Continue reading →
Setting up a new Active Directory is an easy task. You download and install Windows Server, install required roles and in 4 hours or less have a basic Active Directory setup. In an ideal world that would be all and your only task would be to manage users, computers, and groups occasionally creating some Group Policies. Unfortunately, things with Active Directory aren't as easy as I've pictured it. Active Directory is a whole ecosystem and works well ranging from small companies with ten users to 500k users or more (haven't seen one myself - but so they say!).
I'm a big fan of PowerShellGallery. It's easy to use, Microsoft owned, a place to host your PowerShell modules. Every time I release a new PowerShell module, it's readily available for me or anyone with a single command Install-Module. No need to host it yourself, no need to prepare anything - plug & play. Additionally, if your PowerShell module has any dependencies, it will download and install them, so it directly works out of the box.