Adam Bertram avatar

How to Export Active Directory Users to CSV and Build Reports

2 days ago | Adam Bertram

Learn how to export active directory users to CSV with PowerShell by querying AD with the Get-ADUser cmdlet and invoking Export-CSV!

Matthew Dowst avatar

PowerShell Weekly – October 22, 2021

2 days ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Jeff Hicks avatar

Removing Obsolete PowerShell Remoting Configurations

4 days ago | Jeff Hicks

I’m pretty sure I’ve discussed this before, but Microsoft is scheduled to release PowerShell 7.2 soon, I thought it might be good to revisit this topic. Here’s the potential issue. If you’ve been installing PowerShell 7 releases for a while, and have been enabling PowerShell remoting, you most likely have a list of remoting session...

Thomas Lee avatar

Patching and PowerShell 7

5 days ago | Thomas Lee

 Many of you reading that blog know I'm a big supporter of PowerShell 7. I hope that many of you share my enthusiasm. After writing several books on PowerShell, and two on PowerShell 7, I find it a pretty good product.One of the challenges which PowerShell brings to the enterprise is updates. Like most software products, there are bugs and vulnerabilities in PowerShell. I was reminded again of this fact reading an article from my Powershell Paper.

Tommy Maynard avatar

PowerShell Copy, Shallow and Deep

9 days ago | Tommy Maynard

Back in March, when I started this post, I was reading over some Python code. Yeah,… you read that right. As I did that, I was introduced to a term I don’t think I’ve seen before: It was “deepcopy.” The Python module import looked like this: from copy import deepcopy. Deepcopy, what is that? I […] The post PowerShell Copy, Shallow and Deep appeared first on tommymaynard.

Jeff Hicks avatar

Friday Fun: A PowerShell Welcome

9 days ago | Jeff Hicks

I realized it had been a while since I wrote a Friday Fun post. These posts are intended to demonstrate PowerShell in a fun and often non-practical way. The end result is generally irrelevant. The PowerShell scripting techniques and concepts I use are the real takeaways. The task is nothing more than a means to...

Matthew Dowst avatar

PowerShell Weekly – October 15, 2021

9 days ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Jeff Hicks avatar

Finding Modified Files with PowerShell

10 days ago | Jeff Hicks

Here’s another task that I seem to be constantly fiddling with using PowerShell. What files did I work on yesterday? Or what files were modified in the last 48 hours? Obviously, Get-ChildItem is going to be the primary command. It is simple enough to get files based on an extension from a given folder path,...

Kelvin Tegelaar avatar

Automating with PowerShell: A much better partner portal

10 days ago | Kelvin Tegelaar

This is my super secret project that I have been working on for some weeks. A lot of my time outside of work was sunk into this effort. Somewhere last year I made a post about a better partner portal. This was super well received and I got a lot of amazing feedback on it.... Read More The post Automating with PowerShell: A much better partner portal appeared first on CyberDrain.

Shane O'Neill avatar

T-SQL Tuesday #143 – Short code examples

12 days ago | Shane O'Neill

Time to read: ~ 2 minutes Words: 328 Welcome to T-SQL Tuesday, the monthly blog post invitational where we’re given a topic and asked to write about it. This month we have John McCormack (Blog | Twitter) asking, “What are your go-to handy scripts“? For this post, I’m going to break these down into different … Continue reading "T-SQL Tuesday #143 – Short code exam

Jeff Hicks avatar

Update Registry OS ProductName with PowerShell

12 days ago | Jeff Hicks

I expect many of you are like me and have done, or will do, an in-place upgrade from Windows 10 to Windows 11. It is easy enough to run a PowerShell expression like this to see the operating system name. I get a value like Windows 11 Pro. However, operating system information is also stored...

Jeff Hill avatar

T-SQL Tuesday #143 - Short Code Examples

12 days ago | Jeff Hill

My go to scripts for day-to-day tasks.

Bradley Wyatt avatar

From Standard User to Elevated Administrator: Run Elevated PowerShell Commands with PowerShell Studio and Impersonation

14 days ago | Bradley Wyatt

I recently had a request to create a small applet/windows form that would allow regular end users to perform an administrative task. For example, restart the Print Spooler service. We did not want to grant the user any elevated rights, only to give them a program that would allow them to perform the single task and nothing more. PowerShell to the rescue – Beginning with Windows Vista, the administrator security token split with the standard user token.

Bradley Wyatt avatar

Uninstall the built-in Chat from Microsoft Teams in Windows 11 with Intune

15 days ago | Bradley Wyatt

Windows 11 comes with Chat from Microsoft Teams which is ‘a signature, lightweight experience brought right to the Taskbar to let Teams personal account users quickly start a video call or chat with friends and family.’1 The problem with this is that it is only available for Personal accounts and not for Work or School accounts.  The new Teams experience on Windows 11 and Chat are intended for personal Microsoft accounts and will be available only to individuals using such accounts.

Tommy Maynard avatar

Using PowerShell for Docker Confidence

16 days ago | Tommy Maynard

It’s been a while since I’ve written. I went from writing approximately six posts per month to nothing since last May. That’s unheard of, but alas, it’s true. A lot has changed in that time, including starting a new job, where there isn’t time for working in PowerShell nearly as much. There is, however, a […] The post Using PowerShell for Docker Confidence appeared first on tommymaynard.

Matthew Dowst avatar

PowerShell Weekly – October 8, 2021

16 days ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Kelvin Tegelaar avatar

Automating with PowerShell: Disabling anonymous reports for Office365

18 days ago | Kelvin Tegelaar

It’s been a while since I’ve blogged! I’ve been super busy with a secret project I am hoping to release soon. This blog is dedicated to a friend of mine. His question was “Can we disable the anonymous report functionality in M365?” This functionality gives users a pseudo-anonymous ID in the M365 portal when reporting... Read More The post Automating with PowerShell: Disabling anonymous reports for Office365 appeared first on CyberDrain.

Shane O'Neill avatar

The Surprising Working of TrimEnd

19 days ago | Shane O'Neill

Time to read: ~ 2 minutes Words: 397 A couple of days ago, I was running some unit tests across a piece of PowerShell code for work and a test was failing where I didn’t expect it to. After realising that the issue was with the workings of TrimEnd and my thoughts on how TrimEnd … Continue reading "The Surprising Working of TrimEnd"

Jerome Bezet-Torres avatar

New video VMware vSphere 7 Administration

20 days ago | Jerome Bezet-Torres

A short post today to announce the second video on VMware vSphere 7 administration is available on the Editions ENI website. To complete the suite after the introduction to virtualization with VMware vSphere 7 for a 2h34 training. Decription on ENI EDTION website link Discover my new course the administration of VMware vSphere 7 with this time a 3h35 training Decription on ENI EDTION website link 1.

Jeff Hill avatar

Search SQL Server Errorlog with PowerShell

23 days ago | Jeff Hill

Search SQL Server’s errorlog for problems with PowerShell using community tools

Matthew Dowst avatar

PowerShell Weekly – October 1, 2021

23 days ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Darren Robinson avatar

Interactive Authentication to Microsoft Graph using MSAL with PowerShell and Delegated Permissions

25 days ago | Darren Robinson

Previously I’ve written about using MSAL and PowerShell with Application Permissions and Client Credentials and Certificate based authentication. Also with Delegated Permissions and Device Code flow authentication. The one I haven’t written a post on is performing interactive authentication to Microsoft Graph using MSAL with PowerShell and Delegated Permissions.… keep reading The post Interactive Authentication to Microsoft Graph using MSAL with PowerShell and Delegated Permissions appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Jeff Hicks avatar

There’s a File in My PowerShell Bucket

26 days ago | Jeff Hicks

If there’s one task I’ve never stopped doing, it is finding files. I am constantly creating new ways to organize files and display them in a meaningful format. Naturally, PowerShell is a great tool for this task. Get-ChildItem is obviously the proper starting point. The cmdlet works fine in getting only files from a folder...

Przemyslaw Klys avatar

Configuring Office 365 settings using PowerShell – The non-supported way

28 days ago | Przemyslaw Klys

Office 365 is a huge beast. It has so many services that it's hard to track all of them. It's even harder if you want to manage Office 365 using PowerShell. Microsoft makes many different PowerShell modules available for you, such as AzureAD, AzureADPreview, ExchangeOnline, MicrosoftTeams, and recently, Microsoft.Graph. But even with so many different modules, there are still tasks that Microsoft won't let you do from PowerShell.

Jeff Hicks avatar

I Need a PSDrive Now!

one month ago | Jeff Hicks

I hope you’ve been enjoying the last few posts on working with PSDrives. To round out the set, I thought I’d remind you of a command in the PSScriptTools module that I use often, especially when teaching a live class or presenting at a conference. As you’ve seen, I use PSDrives as shortcuts to commonly...

Matthew Dowst avatar

PowerShell Weekly – September 24, 2021

one month ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Michael Militoni avatar

Build VM from Template: Interactive PowerCLI Script – VM-Builder-T.ps1

one month ago | Michael Militoni

Introduction Hi Guys,In today’s post nothing special 🙂 , I just wanted to share a script I wrote that will build a VM in VMware vSphere environment from a template.In this post I will detail the workflow and pieces of… Continue reading →

Jeff Hicks avatar

Extending PowerShell PSDrives

one month ago | Jeff Hicks

Yesterday I shared some PowerShell code I use to managing my PSDrive assignments. My code works for me in my environment. But that doesn’t mean it is necessarily right for you and your environment. There are plenty of ways to use PowerShell to achieve the same results as my code. This is something you should...

Jeff Hicks avatar

Fun with Mapping PowerShell Drives

one month ago | Jeff Hicks

Because I spend my day working from a PowerShell prompt, I rely heavily on PSDrives to quickly access files and folders. And because I am mobile, I might be working at my desk in my home office, or I might be on the road with my trusty Thinkpad. Of course, this means, I want an...

Kelvin Tegelaar avatar

Automating with PowerShell: Deploying default Intune configurations

one month ago | Kelvin Tegelaar

So I’ve been kind of Intune focused lately, mostly because I’m just really enjoying the technology. I also see that a lot of MSPs are still struggling with deploying a default autopilot configuration and are kind of avoiding it with the worries that you make a total mess of things. 🙂 To help, this time... Read More The post Automating with PowerShell: Deploying default Intune configurations appeared first on CyberDrain.

Jeff Hicks avatar

Cleaning Up PowerShell Jobs

one month ago | Jeff Hicks

I am a heavy user of PowerShell jobs. Not only background jobs but also scheduled jobs. They are a critical element in my daily workflow. Every time a job runs, especially scheduled jobs, a job artifact remains which you can see using Get-Job. For scheduled jobs, I try to keep this to a minimum by...

Matthew Dowst avatar

PowerShell Weekly – September 17, 2021

one month ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Alexander Koehler avatar

Exchange Online: Postfachgrößen und hinzugefügte mobile Geräte auslesen

one month ago | Alexander Koehler

Viele Kunden fragen mich, ob es möglich ist eine Übersicht über die aktuellen Postfachgrößen aus Exchange Online zubekommen. Natürlich sage ich dann, “ja das ist mit PowerShell möglich”. Aus diesem Grund habe ich ein kleines PowerShell Skript geschrieben, welches eine CSV Datei erstellt mit folgenden Daten: Postfachgröße und verbundene Active Sync Geräte also Handys. Damit […] Der Beitrag Exchange Online: Postfachgrößen und hinzugefügte mobile Geräte auslesen erschien zuerst auf it-koehler-blog.

Przemyslaw Klys avatar

Encrypting and decrypting PGP using PowerShell

one month ago | Przemyslaw Klys

Some time ago, I decided that having an easy-to-use PGP PowerShell module is a way to kill my boredom. Four months have passed, and I decided to share it with the world, as it may be helpful to some of you.  Today I would like to introduce you to PSPGP - PowerShell module that provides PGP functionality in PowerShell. The post Encrypting and decrypting PGP using PowerShell appeared first on Evotec.

Matthew Dowst avatar

PowerShell Weekly – September 10, 2021

one month ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Kelvin Tegelaar avatar

Automating with PowerShell: uploading your RMM application to all Intune tenants

one month ago | Kelvin Tegelaar

This script is based on some earlier work I’ve done for uploading general applications to Intune tenants, but I’ve transformed this into a module to allow a easy synchronization between your RMM system and M365. There’s some prework that’ll need to be performed for each supported RMM system. Check out the Github page for the... Read More The post Automating with PowerShell: uploading your RMM application to all Intune tenants appeared first on CyberDrain.

Darren Robinson avatar

Get Certificates from a YubiKey using PowerShell

one month ago | Darren Robinson

Last week Yubico announced the general availability of their desktop .NET SDK for YubiKeys. I jumped over to their GitHub repo to check out what functionality the .NET SDK exposed. The good news is that the Personal Identity Verification (PIV) slots used for certificates are accessible.… keep reading The post Get Certificates from a YubiKey using PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.

Guido Oliveira avatar

Minicurso Azure Bicep – Aula 2 Parametros

one month ago | Guido Oliveira

Olá pessoal, Dando sequencia ao curso gratuito de Azure Bicep, vamos ver como utilizar parametros.   Código mostrado no video: @description('Nome da Storage Account') @maxLength(24) @minLength(3) […] The post Minicurso Azure Bicep – Aula 2 Parametros appeared first on Guido Oliveira.

Guido Oliveira avatar

Minicurso Azure Bicep – Aula 1 Introducao

one month ago | Guido Oliveira

Olá pessoal, Decidi começar um minicurso gratuito de Azure Bicep para ajudar quem teve dificuldade com a documentação. Bicep é um DSL(Domain Specific Language) criado pela […] The post Minicurso Azure Bicep – Aula 1 Introducao appeared first on Guido Oliveira.

Matthew Dowst avatar

PowerShell Weekly – September 3, 2021

one month ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Christian Hoejsager avatar

How To Setup a Private Powershell Repository

one month ago | Christian Hoejsager

In this blog post, I will walk through the process of setting up a private Powershell repository using Azure DevOps Nuget Feed. After this tutorial, you will be able to upload and download your Powershell modules and scripts from the repository over the internet securely. Everybody who is just a bit familiar with Powershell knows the PowerShell Gallery. This is the main repository hosted by Microsoft, from which you can download thousands of different packages such as Powershell modules and scripts.

Jeff Hill avatar

Stop or Start SQL Server With PowerShell

one month ago | Jeff Hill

How to stop a SQL Server service with PowerShell

Przemyslaw Klys avatar

Easy way to connect to FTPS and SFTP using PowerShell

one month ago | Przemyslaw Klys

FTPS and SFTP are two ways to send and receive files from remote sources. While the name suggests both do the same thing, those are different protocols, in the end, having the same goal. A few weeks back, I had to make sure I can reliably download files from FTPS server using PowerShell, and since I couldn't find anything straightforward to use, I decided to write my own. Transfertto is a new PowerShell module that supports both FTPS and SFTP protocols.

Kelvin Tegelaar avatar

Monitoring with PowerShell: Monitoring interactive system execution

one month ago | Kelvin Tegelaar

So this is a bit of a weird one, and more of an experimental idea than something I actually use in production. A friend of mine is using my PSexec monitoring script. He just has a couple of issue with that; he’s running an application that actively uses psexec to create some elevation. That’s quite... Read More The post Monitoring with PowerShell: Monitoring interactive system execution appeared first on CyberDrain.

Kelvin Tegelaar avatar

Automating with PowerShell: Setting up application consent

one month ago | Kelvin Tegelaar

Application consent for M365 is a pretty cool feature – users can’t add their own applications but they are able to request an administrator to approve applications they need. That means the risk of OAuth applications gaining access to mailboxes is a lot lower. We’re going to cover two things; number one is to setup... Read More The post Automating with PowerShell: Setting up application consent appeared first on CyberDrain.

Matthew Dowst avatar

PowerShell Weekly – August 27, 2021

one month ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Jeff Hicks avatar

Getting CIMInstance by Path

2 months ago | Jeff Hicks

I am a member of the PowerShell Cmdlet Working Group. We’ve been looking into this issue and it is an intriguing one. Enough so that I spent some time looking into it and writing up some test code. If you work with WMI/CIM this might be of interest to you. Personally, I never have had...

Matthew Dowst avatar

PowerShell Weekly – August 20, 2021

2 months ago | Matthew Dowst

Here is your weekly round up of what is happening in the world of PowerShell. Do you have a suggestion for this post? Do you know something that should be included? Let me know in the comments below, or on twitter.

Andy Levy avatar

PASS Data Community Summit 2021 – I’m Speaking!

2 months ago | Andy Levy

I am thrilled to announce that I will be speaking at this year’s PASS Data Community Summit! This year’s event runs November 8th through 12th. I am thrilled to announce that I will be speaking at this year’s PASS Data Community Summit! As November approaches, the schedule as well as the details of my session… The post PASS Data Community Summit 2021 – I’m Speaking! appeared first on FLX SQL with Andy Levy.

Darren Robinson avatar

DevOps for SailPoint IdentityNow with PowerShell

2 months ago | Darren Robinson

This is the accompanying blogpost for my SailPoint Navigate Developer presentation DevOps for SailPoint IdentityNow with PowerShell from August 19 2021. If you are registered you can go direct to the presentation with this link. A summary of what I showed in the demonstration is below.… keep reading The post DevOps for SailPoint IdentityNow with PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.