Jeff Hicks avatar

Creating a PowerShell Backup System – Part 3

9 hours ago | Jeff Hicks

Let’s continue exploring my PowerShell based backup system. If you are just jumping in, be sure to read part 1 and part 2 first. At the end of the previous article I have set up a scheduled job that is logging changed files in key folders to CSV files. The next order of business is... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershell-resources/

Mike Kanakos avatar

Video: Configuring PowerShell Remoting security & logging

12 hours ago | Mike Kanakos

Remoting in PowerShell unfairly gets a bad rap in the security world. When done right; PowerShell remoting is equal to SSH.

Jeff Hicks avatar

Creating a PowerShell Backup System Part 2

3 days ago | Jeff Hicks

Yesterday I began a series of articles documenting my PowerShell based backup system. The core of my system is using the System.IO.FileSystemWatcher as a means to track daily file changes so I know what to backup. However there are some challenges. I need to watch several folders, I need to have an easy way to... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-pow

Jeff Hicks avatar

Creating a PowerShell Backup System

4 days ago | Jeff Hicks

If you follow me on Twitter, you know that I have a monthly tweet reminder about running and testing backups. I have to say that the concept of a backup is different today than it was when I started in IT. Now we have cheap disk storage and cloud services. In some ways, our data... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershell-resources/

Mike Robbins avatar

Using PowerShell to Retrieve Exchange Mailbox Statistics for Office 365 Migrations

4 days ago | Mike Robbins

Recently, I’ve been working on trying to finish up a migration from Exchange Server 2010 to Office 365. There are potentially numerous mailboxes that aren’t used and those won’t be migrated to Office 365 because there’s no sense in paying for licensing for them. How do you determine what mailboxes are in use? First, use implicit remoting to load the Exchange cmdlets locally.

Rob Sewell avatar

Create Azure Data Studio SQL Notebooks with PowerShell

4 days ago | Rob Sewell

At PASS Summit today I gave a presentation about SQL Notebooks in Azure Data Studio for the DBA. I demo’d the PowerShell module ADSSQLNotebook. which you can also find on GitHub (where I will be glad to take PR’s to improve it 🙂 ) This module has 3 functions This module contains only 3 commands […]

Mateusz Czerniawski avatar

Microsoft Monitoring Agent - Clear cache and HybridWorker Group

5 days ago | Mateusz Czerniawski

The Issue Some time ago I wrote how to clear cache of Microsoft Monitoring Agent on your on-premises servers. A few days back I experienced a weird issue with Azure Automation. Currently I have around 200 OSes (mainly VMs) connected to one of our workspaces. Some of them partialy lost connectivity. They could report back to Azure Automation about patch status, but were unable to receive any jobs - including patch deployment schedules! Those machines were stuck in Failed to start status: I’ve checked network connectivity, run on-premises troubleshooting script, but that didn’t get me anywhere.

Alexander Koehler avatar

Office 365 E-Mail Attacke Weiterleitung über Posteingangsregel

5 days ago | Alexander Koehler

Ein Kunde rief mich vor zwei Wochen an, dass er von Kunden das Feedback bekommen hatte, er würde komische Mails versenden. Also habe ich einen Blick in das O365 Center geworfen und im Sicherheitscenter einige interessante Entdeckungen gemacht. Einige Benutzer hatten eine Weiterleitung über eine Posteingangsregel eingerichtet, welche alle Mails zu einer Gmail Adresse weiterleiteten […] Der Beitrag Office 365 E-Mail Attacke Weiterleitung über Posteingangsregel erschien zuerst auf it-koehler-blog.

PowerShell Notebooks are Available in Azure Data Studio

6 days ago | Aaron Nelson

PowerShell Notebooks are now available in the November release of Azure Data Studio. Back in March I requested this feature be added to Azure Data Studio and it has become the most popular feature...

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 7, Utilising PowerShell DSC

6 days ago | Jonathan Medd

In Part 7 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how utilise PowerShell DSC. If you or your team already own some automation created using PowerShell DSC then it is possible to re-use that via an Ansible Playbook. Or maybe you think that you or they would … Continue reading Ansible, Windows and PowerShell: the Basics – Part 7, Utilisi

Adam Bertram avatar

Get-ADObject: Reporting on Active Directory with PowerShell

6 days ago | Adam Bertram

Learn how to use the Get-ADObject PowerShell cmdlet to query, filter and create reports from Active Directory!

Alex Neihaus avatar

Retrieve ARM template output in PowerShell

6 days ago | Alex Neihaus

Using PowerShell and ARM together is better than either alone

Mike Kanakos avatar

WMI vs CIM: What's the difference?

7 days ago | Mike Kanakos

Learn the difference between WMI and CIM and why one is more secure than the other when using PowerShell.

Rob Sewell avatar

My current VS Code Extensions and using a workspace file

10 days ago | Rob Sewell

I have been asked a couple of times recently what my Visual Studio Code extensions are at the moment so I thought I would write a quick post and also look at workspaces and how you can enable and disable extensions within them Listing Extensions From the command line you can list your extensions using […]

Alexander Koehler avatar

AD Delegierung mit TXT Dateien (Benutzer aus Text Dateien in AD Gruppen automatisch importieren)

10 days ago | Alexander Koehler

Vor einiger Zeit hatte ich beim Kunden folgende Anfrage: es sollte einen speziellen Bereich auf dem Dateiserver geben, welcher nur von Keyuser einsehbar ist um dort per Textdatei AD Gruppenzuweisungen zu machen. Hörte sich ganz interessant an, also habe ich mich hingesetzt und folgendes Skript geschrieben. Es sollte an Hand des Dateinames die entsprechende AD […] Der Beitrag AD Delegierung mit TXT Dateien (Benutzer aus Text Dateien in AD Gruppen automatisch importieren) erschien zuerst auf it-koehler-blog.


Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 6, Displaying Output from PowerShell Code

13 days ago | Jonathan Medd

In Part 6 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how we can display output from code in PowerShell scripts back in Ansible to help track the progress of a task. The following example will demonstrate how to send log info from a PowerShell script back to … Continue reading Ansible, Windows and PowerShell: the Basics – Part 6, Displayin

Jeff Hicks avatar

Creating a Spooky Windows Terminal Theme

13 days ago | Jeff Hicks

With Halloween fast arriving, I thought I’d share some more holiday-themed fun. Today’s entry isn’t necessarily PowerShell related but you might use it with your PowerShell work. If you’ve been kicking the tires on the Windows Terminal project from Microsoft, you might enjoy this. Here’s the finished product and then I’ll show you how to... Check out my PowerShell Essentials page https://jdhitsolutions.

Adam Bertram avatar

Build Better Scripts with PowerShell ArrayLists and Arrays

13 days ago | Adam Bertram

Get back to PowerShell basics learning how to use PowerShell arraylists and basic arrays in this how-to walkthrough!

Jeff Hicks avatar

The PowerShell Magic 8 Ball

14 days ago | Jeff Hicks

Last year I shared some PowerShell code on Twitter about this time of year. I have a short script that uses Windows Presentation Foundation (WPF) to create a spooky graphical prompt that allows you to ask questions of a Magic 8 Ball (this name may be trademarked or otherwise protected). For those of you who... Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powers

Mike Kanakos avatar

Managing Scheduled Jobs with PowerShell

14 days ago | Mike Kanakos

Learn how to manage PowerShell scheduled jobs. Learn the benefits of managing scheduled jobs from the command line.

Adam Bertram avatar

PowerShell ValidateSet: Choosing from a List

19 days ago | Adam Bertram

Learn how to implement PowerShell best practices and use the ValidateSet parameter attribute to ensure only specific values are passed to parameters.

Adam Bertram avatar

New-ADUser: Creating Active Directory Users with PowerShell

20 days ago | Adam Bertram

Learn how to automate create Active Directory user accounts with New-ADUser and PowerShell!

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 5, Example PowerShell Error Handling

20 days ago | Jonathan Medd

In Part 5 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how we can lay out code in PowerShell scripts in order to return error codes to Ansible to determine the success or failure of a task. In my experience different automation and orchestration toolsets can require you … Continue reading Ansible, Windows and PowerShell: the Basics – Part 5

Adam Bertram avatar

Running PowerShell Scripts With Jenkins and Git

25 days ago | Adam Bertram

Learn how to set up Jenkins to execute all your PowerShell scripts in one place and get rid of scheduled tasks forever!

Rob Sewell avatar

PowerShell Notebooks in Azure Data Studio

25 days ago | Rob Sewell

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 […]

Adam Bertram avatar

PowerShell ValidateScript: Running Validation Code

26 days ago | Adam Bertram

Learn how to use PowerShell ValidateScript parameter validation and how you can make your functions better with parameter validation!

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 4, Invoking PowerShell Code

27 days ago | Jonathan Medd

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

Adam Bertram avatar

The DRY Principle: Writing Better PowerShell Code

27 days ago | Adam Bertram

Learn how to use the DRY principle with PowerShell in this PowerShell best practices article.

Get the Governance Data You Need Out of Your Power BI Gateways with PowerShell

27 days ago | Aaron Nelson

OK, before anyone yells at me: Yes, I know the On-Premises Data Gateways are now part of Power Platform, not just Power BI. I learned how to do everything in this post because of...

Thomas Rayner avatar

What’s going on with the PowerShell Summit recordings?

27 days ago | Thomas Rayner

Important Update 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.

Przemyslaw Klys avatar

Nested Tabs, Diagram Updates, Diagram Events, Calendar Object and more in PSWriteHTML

29 days ago | Przemyslaw Klys

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.

Dave Carroll avatar

PowerShell Beginners Have to Start Somewhere

29 days ago | Dave Carroll

Introduction 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 challenges.

Prateek Singh avatar

Deep Dive: PowerShell Loops and Iterations

one month ago | Prateek Singh

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.

Jeff Hicks avatar

PowerShell Scripting for Linux is Still About the Objects

one month ago | Jeff Hicks

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.

Alex Neihaus avatar

Select an Azure subscription easily

one month ago | Alex Neihaus

Out-GridView is back in PowerShell 7

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 3, Windows Roles and Features

one month ago | Jonathan Medd

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

Jeff Hicks avatar

Making Sense of Parallel ForEach-Object in PowerShell 7

one month ago | Jeff Hicks

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.com/

Josh King avatar

Quick Ternary Operator Revisit: Can It Elseif?

one month ago | Josh King

I was thinking about the new Ternary Operator and had a random thought... can it handle elseif logic?

Prateek Singh avatar

11 Ways to Create HashTable in PowerShell

one month ago | Prateek Singh

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.

Jonathan Medd avatar

Ansible, Windows and PowerShell: the Basics – Part 2, Install PowerShell Modules

one month ago | Jonathan Medd

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

Tommy Maynard avatar

PowerShell.org New Posts – 09/2019

one month ago | Tommy Maynard

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

Alex Neihaus avatar

Display enabled Azure subscriptions

one month ago | Alex Neihaus

A PowerShell function to list enabled Azure subscriptions

Alexander Koehler avatar

Planet PowerShell: Community Blog Feed

one month ago | Alexander Koehler

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.

Download Power BI Audit Logs with the New Get-PowerBIActivityEvent cmdlet

one month ago | Aaron Nelson

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...

Josh King avatar

Roll Your Sleeves Up, It's Hacktoberfest Time!

one month ago | Josh King

I'm gearing up for my fourth Hacktoberfest event, and so should you. You could even come away from this month with a fancy new t-shirt!

Roberth Strand avatar

PowerShell and how to work with network settings

one month ago | Roberth Strand

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...

Przemyslaw Klys avatar

Easy way to create diagrams using PowerShell and PSWriteHTML

one month ago | Przemyslaw Klys

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.

Jan Egil Ring avatar

Using Azure Key Vault for local administrator password rotation

one month ago | Jan Egil Ring

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.

Jerome Bezet-Torres avatar

Powershell Gallery Statistic

one month ago | Jerome Bezet-Torres

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...