4 days ago
In this post, I want to show you how to remove a User from an Azure Role in Azure Resource Group with PowerShell using Azure Rest API. (+)(-)
4 days ago
It includes 500+ useful cross-platform PowerShell scripts located in the Scripts subfolder - for the command-line interface (CLI), for remote control via SSH, for automation (e.g. AutoHotkey or Jenkins), for context menus, for voice commands (e.g. talk2windows), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. (+)(-)
4 days ago
|
Harm Veenstra
Last year, I wrote a blog post about updating your modules to the latest version, including removing the older versions here. This blog post will show you how to check for updated modules. (+)(-)
4 days ago
Why on earth you want to create an Escape Room with PowerShell as backend?
4 days ago
|
Bradley Wyatt
I recently met with a company that was looking for a better way to get contacts to their employee's work phones. Currently, they are sending a .vcf file and then having the employees manually save the contacts. While this works, the problem is if you need to send a new contact, you now need to send a new .vcf file to every employee and instruct them on how to save it. Similarly, if you ever need to remove a contact, you need to instruct your employees to manually delete that contact.
4 days ago
One of the lesser-known but very useful features of Azure PowerShell is the ability to manage Azure PowerShell global settings using the PowerShell cmdlets Get-AzConfig, Update-AzConfig, Export-AzConfig, Import-AzConfig, and Clear-AzConfig. (+)(-)
4 days ago
In our latest PowerShell Podcast, we had an insightful discussion with Miriam Wiesner, a renowned Senior Security Researcher at Microsoft and the author of "PowerShell Automation and Scripting for Cybersecurity." Miriam, who is juggling her roles as a security expert, an author, and a mom, shed light on her journey at Microsoft, talking about the ups and downs she faced. She extended the conversation to her book-writing experience, wherein she balanced work-life pressures to deliver this authoritative guide on PowerShell Automation and Scripting.
4 days ago
The $Error Variable in PowerShell contains all error objects of the current session. In this blog post I will carry out some tasks with $Error and show you how $Error can help [...] (+)(-)
6 days ago
|
Harm Veenstra
Last year, I wrote a blog post about updating your modules to the latest version, including removing the older versions here. This blog post will show you how to check for updated modules.
8 days ago
|
Bradley Wyatt
I recently met with a company that was looking for a better way to get contacts to their employee’s work phones. Currently, they are sending a .vcf file and then having the employees manually save the contacts. While this works, the problem is if you need to send a new contact, you now need to send a new .vcf file to every employee and instruct them on how to save it. Similarly, if you ever need to remove a contact, you need to instruct your employees to manually delete that contact.
12 days ago
|
Harm Veenstra
It was first introduced in Windows Server 2012, and back then, I was amazed by it, really liked it, and... It's still there, even in Windows Server 2022. I will show you what it is and how it works in this blog post.
17 days ago
|
Ryan Yates
This is part of a series called Using PowerShell in testing in which I intend to showcase lots of different ways that PowerShell can used for all sorts of testing. A prior example would be Building A Lab using Hyper-V and Lability - The End to End Example.
First things first, if you are writing code then you will have built up a series of preferences over the years in how you have your machine configure, or actually for many of us that is actually not just one machine but a collection of physical and virtual machines.
19 days ago
|
Harm Veenstra
One of our customers wanted to know per device which the real Primary User was and the user logon date of every user that used that device. (They have some shared devices.) In this blog post, I will show you how to retrieve that information from Intune and export it.
22 days ago
|
Alexander Koehler
Taking care for local Active Directory (if it is still present) is one of the most important tasks, so you may need also cleanup disabled users from groups. Sometimes you don’t want to delete users but only removing them from AD groups is required (often for licensing issues etc.) I’ve had that case and wrote …
Read more "Cleanup Active Directory groups with PowerShell"
Articel Cleanup Active Directory groups with PowerShell available first on IT koehler blog.
22 days ago
|
Przemyslaw Klys
In today's digital age, the ability to create compelling and informative HTML reports and documents is a crucial skill for professionals in various fields. Whether you're a data analyst, a system administrator, a developer, or simply someone who wants to present information in an organized and visually appealing manner, having the right tools at your disposal can make all the difference. That's where the PSWriteHTML PowerShell module steps in, offering an array of possibilities to suit your reporting needs.
26 days ago
|
Harm Veenstra
I recently bought a Govee lamp for my desk, which I can control using my Google Home Assistant. But... It also has API support. :) In this blog post, I will show you how to control it using PowerShell in a Function to turn it Red, Orange, or Green so you can use it for a visual outcome of your PowerShell script.
one month ago
|
Jeff Hicks
Time to get back to the to blog. I’ve been working through my backlog of projects. These are things that I started writing or updating but then got pushed to the back of the line. One of these projects is a PowerShell module I wrote as a teaching tool. The idea was to create short...
one month ago
|
Harm Veenstra
There are a few PowerShell EventLogs and some files containing your PowerShell history and the commands, script blocks, etc., that you have used. This can be very helpful if your computer or servers are hacked at your office. Or, if you just want to check things ;) In this blog post, I will show you how to retrieve all those events locally and remotely and save those in an Excel sheet.
one month ago
|
Przemyslaw Klys
As part of my daily development, I create lots of code that I subsequently comment on and leave to ensure I understand what I tried, what worked, and what didn't. This is my usual method of solving a problem. Sure, I could commit it to git and then look it up, and I do that, but that doesn't change my behavior where I happen to have lots of "junk" inside of my functions that stay commented out. While this works for me, and I've accepted this as part of my process, I don't believe this should be part of the production code on PowerShellGallery or when the code is deployed.
one month ago
|
Harm Veenstra
You can install Visual Studio code on your device (Windows/Mac/Linux), but you can also use it from within your browser. In this blog post, I will show three ways to start your Visual Studio Code session.
one month ago
|
Przemyslaw Klys
Today I saw an article from Christian Ritter, "PowerShell: Creating an "empty" PSCustomObject" on X that got me curious. Do people create empty objects like Christian proposes? I want to offer an alternative to Christian's article, which uses OrderedDictionary and converts to PSCustomObject.
The post Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects appeared first on Evotec.
one month ago
|
Przemyslaw Klys
I was scrolling X (aka Twitter) today and saw this blog post, "PowerShell: Report On-Premises Active Directory Accounts that are Synchronized with Azure AD Connect" by Kevin Trent. I like reading blog posts as I tend to learn some new things and see how people tend to solve their problems.
The post Report Active Directory Accounts that are Synchronized with Azure AD appeared first on Evotec.
one month ago
|
Bas Wijdenes
My best practices, tips and tricks working with PowerShell This is a blog post that is not deeply technical. I will not go deep into the tips and tricks, because you will learn this automatically when you have more experience & when you are ready. I have a seperate blog post about best practices, tips … Continue reading How to optimize and speed up your PowerShell scripts
The post How to optimize and speed up your PowerShell scripts appeared first on Bas Wijdenes.
one month ago
|
Harm Veenstra
Looking back at the scripts I created the last year, certain things always come back in most of them. In this blog post, I will show you a few and explain them.
one month ago
|
Przemyslaw Klys
I had a long day today when my long-running script (10 hours) gave me weird errors with Microsoft Graph for Teams. Finally, I solved my mistakes and reran the hand to see if the report would be complete this time. Surprisingly, it gave me an error I'd never seen before. "Function cannot be created because function capacity 4096 has been exceeded for this scope". The error is at least weird because it's shown on a production server where I've just a handful of PowerShell modules installed, and I've never seen it on my development machine where I've over 200 modules.
one month ago
|
Mike Kanakos
POSH is a new module built by James Brundage. It brings smart color formatting to areas of your PowerShell console in ways that you haven't seen before.
2 months ago
|
Darren Robinson
Over two years ago I authored a PowerShell Module that enabled the automation of 1Password. I created the module because I wanted to be able to:
Securely store locally a configuration for accessing a 1Password online Vault
Automate authentication and retrieve a Session Token for interaction with a 1Password online Vault
Automatically renew the Session Token if it expires
Have multiple profile configurations for multiple 1Password Accounts
Work in Windows PowerShell (5.
2 months ago
|
Harm Veenstra
I saw these two console tools for PowerShell in my newsfeed, and I like them :) This blog post will show you what they are and how they work.
2 months ago
|
Darren Robinson
Buried in my PowerShell Snippets Vol 4 post from 2021 is the PowerShell script and a link to a PowerShell Module I authored named AzureADTenantID. Its sole purpose was to take a domain name (e.g., darrenjrobinson.com) and lookup return any associated Azure AD (now Entra ID) TenantID.… keep reading
The post Entra ID Tenant ID & Custom Domains PowerShell Module appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.
2 months ago
|
Przemyslaw Klys
I had this little issue today when I tried to schedule the Microsoft Graph script to run as a service account on a certificate. To my surprise, even tho I had all permissions required, I was getting this error message: Connect-MgGraph: Keyset does not exist. Something that didn't show up for my user.
The post Connect-MgGraph: Keyset does not exist appeared first on Evotec.
2 months ago
|
Harm Veenstra
Sometimes you search for cmdlets in your Modules and don't know what they do. You can use Get-Help *something* to find them and Get-Help afterward for more information on those results. That or using Google for more information... In this blog post, I will show you a way to create a report with all that information in one overview :)
2 months ago
|
Bas Wijdenes
FIX: The term ‘AZ.ACCOUNTS CMDLET‘ is not recognized as a name of a cmdlet, function, script file, or executable program I’m getting several errors in an Azure Automation runbook job, all of which amount to the same thing. I made a seperate error messages section, because it’s too much for the intro section! But the … Continue reading FIX: Import-Module Az.Accounts in Azure Automation sandbox
The post FIX: Import-Module Az.
2 months ago
|
Alexander Koehler
Long time, there was no way to change the send mail address from primary to alias mail addresses. So sending address was forced by administration. Even if users have multiple smtp-addresses there was no official way to accomplish this. January 2022 changed this statement, now it is possible to use the secondary mail address. More …
Read more "Exchange Online send mails with E-Mail alias"
Articel Exchange Online send mails with E-Mail alias available first on IT koehler blog.
2 months ago
|
Faris Malaeb
Outlook users may face an issue when trying to connect to Exchange Server, where Outlook won’t start and instead shows the following error message “Cannot Start Microsoft Outlook. Cannot open the Outlook Window. The set of folders cannot be opened. The attempt to log on to Microsoft Exchange has failed“ In this post, you will...
The post QuickFix: Cannot Start Microsoft Outlook. The set of Folder cannot be opened, using PowerShell appeared first on Faris Malaeb.
2 months ago
|
Mike Robbins
This article is a brief introduction designed to raise awareness about the *-AzConfig cmdlets in Azure PowerShell. These cmdlets, introduced in the Az PowerShell module version 9, are used to configure your global settings for Azure PowerShell.
For the official Microsoft documentation, see Configure Azure PowerShell global settings.
Getting started For the best and most feature-rich experience, always use the latest version of Azure PowerShell.
3 months ago
|
Kieran Jacobsen
Hi Everyone,I was a long-term user of Monitor-io, and I was saddened to hear that had planned to shutdown their services on April 15, 2023. I was excited to hear that unlike many IoT vendors, Monitor-io had made the decision to provide an option for their customers to continue to use their devices in a standalone manner.
A Monitor-io showing its local IP address
The Monitor-io unit consists of an Orange PI One and an LCD screen.
3 months ago
|
Alex Neihaus
A simple PowerShell script to format AD FS WAP logins
The post Format AD FS web application proxy logs first appeared on Thinking aloud.
3 months ago
|
Luc Fullenwarth
Display Active Directory, Registry, VMWare, File System, and more trees with PowerShell...
4 months ago
|
Przemyslaw Klys
PasswordSolution uses the DSInternals PowerShell module to gather Active Directory hashes and then combines that data into a prettified report. If you have ever used DSInternals, you know that while very powerful, it comes with raw data that is hard to process and requires some skills to get it into a state that can be shown to management or security.
The post Strengthening Password Security in Active Directory: A PowerShell-Powered Approach appeared first on Evotec.
4 months ago
|
Faris Malaeb
The Get-IISAppPool cmdlet helps to access and configure Internet Information Services (IIS) application pools. This cmdlet is available within the IISAdministration PowerShell module. It enables users to retrieve information, such as application pool name, .Net framework version, runtime version, state, and recycling settings of an existing IIS application pool. This cmdlet examines the applicationHost.
4 months ago
|
Jeff Hicks
Earlier this Spring, I released a new function called Get-TypeMember. The function is in the PSScriptTools module. I wrote about that release here. This command is an alternative to Get-Member that includes more details. The other day I pushed a new version that makes it easier to identify properties that are enumerations. The function has...
4 months ago
|
Faris Malaeb
This is a quick, simple post. The requirement is simple. Get a report from all the computers in the network reporting the last Windows update date, Windows update installed KB, and the Windows uptime. The script gets the content from a file containing all the computer names as an array and saves the result on...
The post QuickScript: Get installed Update and Machine Uptime Using PowerShell. appeared first on Faris Malaeb.
4 months ago
|
Xajuan Smith
Ever find yourself looking for ways to use powerShell? maybe that’s just me. Hahaha Recently I was supporting some EC2 in the cloud testing some new AWS features and services and I found my self locked out and released this machine was not domain joined but I couldn’t login. With the windows PowerShell cmdlets swirlingContinue reading "AWS EC2 powerShell tips"
4 months ago
|
Luke Murray
There may be circumstances, you need to open up multiple Microsoft Team instances, a reason for this - maybe to chat and join meetings across multiple accounts.
Microsoft are working on a version of Microsoft Teams that supports multiple-accounts, but until thats released - you can use a PowerShell script to open up another version of Microsoft Teams in another profile (or multiple, if you update the profilename).
4 months ago
|
Alexander Koehler
If you follow the latest digital news you may probably heard about ChatGPT and other OpenAI tools. Tools like ChatGPT can be integrated in our daily work with PowerShell. See this short manual with the most important steps. First step is to create an API-Key within the ChatGPTP Portal. So you need to sign in …
Read more "Use ChatGPT OpenAI with PowerShell"
Articel Use ChatGPT OpenAI with PowerShell available first on IT koehler blog.
5 months ago
|
Darren Robinson
Unless you’ve been off the grid on a long sabbatical the last six months you’ve surely heard of ChatGPT. Like many I started exploring the possibilities of OpenAI ChatGPT when it hit the world by storm last year. Pretty quickly I saw the power of it, but also wondered about using it via API.… keep reading
The post Generative AI (ChatGPT) with PowerShell appeared first on darrenjrobinson - Bespoke Identity and Access Management Solutions.
5 months ago
|
Bradley Wyatt
Windows Local Administrator Password Solution (Windows LAPS) is a Windows Feature that allows IT Administrators to secure and protect local administrator passwords. This includes automatic rotation of passwords as well as backing up the passwords to Azure Active Directory or Active Directory. You can configure Windows LAPS on your Windows endpoints using Microsoft Intune.
Pre-requisites
To use Windows LAPS in Intune, ensure you’re using a supported Windows platform:
Windows 10 20H2 and later with April 11, 2023 security updates installed
Windows 11 21H2 and later with April 11, 2023 security updates installed
Windows Server 2019 and later with April 11, 2023 security updates installed
You might also have to enable Azure AD Local Administrator Password Solution (LAPS) within your Azure Tenant.
5 months ago
|
Przemyslaw Klys
I am a pretty big fan of Ubiquiti and their Unifi products line. Whether it's network equipment or their camera systems, Unifi Protect, I have it all, and I'm pretty happy with how it works. However, over the last two years, some of their stocks in the store were very hard to find. For example, I've searched for Unifi Protect G4 Doorbell Pro for over six months. I've tried local shops all around Europe, even in the Ubiquiti Europe store, to never found any of them.
5 months ago
|
Doug Finke
Fixing JSON Syntax Errors with the PowerShellAI Module
This is fast, simple, and easy. It’ll increase your productivity, save you time and effort, and is super accurate when working with JSON data.
In this blog post, I will explore how to use the ai function in the PowerShellAI module to help fix JSON syntax errors. The PowerShellAI module leverages the power of OpenAI’s GPT-4 language model to assist with a variety of tasks, including identifying and correcting syntax issues in JSON strings or objects.
5 months ago
|
Shane O'Neill
Words: 1,283 Time to read: ~ 7 minutes Welcome to T-SQL Tuesday, the monthly blogging party where a host provides a topic, and we blog about it. This month we have Reitse Eskens ( blog | twitter | mastadon ) asking us to talk about something fun we have done with T-SQL. It has been … Continue reading "T-SQL Tuesday 161: Having Fun with SQL"