Using PowerShell to Manage Azure AD Custom Security Attributes
By: Tony Redmond
Azure AD custom security attributes can mark user and service principal objects for special processing, which is how the app filter for conditional access policies works. It's nice to be able to interact with data through PowerShell and the Microsoft Graph PowerShell SDK cmdlets support setting, updating, and retrieval of Azure AD custom security attributes. Everything works, but it's a pity that it's a little clunky.
Link
By: Tony Redmond
Azure AD custom security attributes can mark user and service principal objects for special processing, which is how the app filter for conditional access policies works. It's nice to be able to interact with data through PowerShell and the Microsoft Graph PowerShell SDK cmdlets support setting, updating, and retrieval of Azure AD custom security attributes. Everything works, but it's a pity that it's a little clunky.
Link
Office 365 for IT Pros
Azure AD Custom Security Attributes PowerShell management
This article covers using PowerShell to manage Azure AD custom security attributes. including searching for objects assigned values in custom attributes.
Optimizing Visual Studio Code for Powershell Development by Justin Grote – YouTube
By: Justin Grote
I’ve used VSCode as my primary Powershell environment for over 3 years and have tried a lot of extensions and settings, and now is your turn to learn from my experience! Here are some examples of items we will cover:
Link
By: Justin Grote
I’ve used VSCode as my primary Powershell environment for over 3 years and have tried a lot of extensions and settings, and now is your turn to learn from my experience! Here are some examples of items we will cover:
Link
YouTube
Optimizing Visual Studio Code for Powershell Development by Justin Grote
PowerShell Summit videos are recorded on a "best effort" basis. We use a room mic to capture as much room audio as possible, with an emphasis on capturing the speaker. Our recordings are made in a way that minimizes overhead for our speakers and interruptions…
👍1
Today's cmdlet ‣ Get-WinEvent
Gets events from event logs and event tracing log files on local and remote computers.
Example's Remarks:
• The `Get-WinEvent` cmdlet gets log information from the computer.
• The ListProvider parameter specifies the provider, Microsoft-Windows-GroupPolicy .
• The expression is wrapped in parentheses and uses the Events property to get objects.
• The objects are sent down the pipeline to the `Format-Table` cmdlet.
• `Format-Table` displays the Id and Description of the event objects.
#tutorial
Gets events from event logs and event tracing log files on local and remote computers.
Example's Remarks:
• The `Get-WinEvent` cmdlet gets log information from the computer.
• The ListProvider parameter specifies the provider, Microsoft-Windows-GroupPolicy .
• The expression is wrapped in parentheses and uses the Events property to get objects.
• The objects are sent down the pipeline to the `Format-Table` cmdlet.
• `Format-Table` displays the Id and Description of the event objects.
#tutorial
Introduction to the Microsoft Graph PowerShell SDK Part II: Performing Common User and Group Operations
By: Sean McAvinue
This article dives deep into using the SDK to perform common day-to-day tasks to manage users and groups through the Graph. Be on the look out for the next part of this series!
Link
By: Sean McAvinue
This article dives deep into using the SDK to perform common day-to-day tasks to manage users and groups through the Graph. Be on the look out for the next part of this series!
Link
Practical 365
Introduction to the Microsoft Graph PowerShell SDK Part II: Performing Common User and Group Operations
This article dives deep into using the SDK to perform common day-to-day tasks to manage users and groups through the Graph.
Today's tip ‣ Types: Value types
”The switch type is used to constrain the type of a parameter in a command. If an argument having the corresponding parameter name is present the parameter tests $true; otherwise, it tests `$false`. In PowerShell, `switch` maps to `System.Management.Automation.SwitchParameter`.”
#tip
”The switch type is used to constrain the type of a parameter in a command. If an argument having the corresponding parameter name is present the parameter tests $true; otherwise, it tests `$false`. In PowerShell, `switch` maps to `System.Management.Automation.SwitchParameter`.”
#tip
How to Use Microsoft PowerShell Core on Linux Virtual Machines
By: Brien Posey
PowerShell was designed as a Windows management tool, but Microsoft has created cross-platform versions of PowerShell. That way, you can use a standard command line interface to manage a variety of system types. This article explains how to install PowerShell on a Linux virtual machine as well as the differences between PowerShell and PowerShell Core.
Link
By: Brien Posey
PowerShell was designed as a Windows management tool, but Microsoft has created cross-platform versions of PowerShell. That way, you can use a standard command line interface to manage a variety of system types. This article explains how to install PowerShell on a Linux virtual machine as well as the differences between PowerShell and PowerShell Core.
Link
TechGenix
How to Use Microsoft PowerShell Core on Linux Virtual Machines
Interested in learning how to run PowerShell on a Linux system? This article has all the answers.
Today's cmdlet ‣ Get-WinEvent
Gets events from event logs and event tracing log files on local and remote computers.
Example's Remarks:
• The `Get-Date` cmdlet uses the AddDays method to get a date that is seven days before the current date.
• The date object is stored in the `$StartTime` variable.
#tutorial
Gets events from event logs and event tracing log files on local and remote computers.
Example's Remarks:
• The `Get-Date` cmdlet uses the AddDays method to get a date that is seven days before the current date.
• The date object is stored in the `$StartTime` variable.
#tutorial
A WPF Countdown Timer
By: Jeffery Hicks
Last year I released a PowerShell module called PSClock. The module contains a command to create a transparent WPF form displaying a clock. Shortly after, someone posted a request for a countdown timer. Not an unreasonable request and one I finally got around to implementing.
Link
By: Jeffery Hicks
Last year I released a PowerShell module called PSClock. The module contains a command to create a transparent WPF form displaying a clock. Shortly after, someone posted a request for a countdown timer. Not an unreasonable request and one I finally got around to implementing.
Link
The Lonely Administrator
A WPF Countdown Timer • The Lonely Administrator
I've published an update to my PSTimers module with a new command that creates a WPF-based countdown timer. Great for presentations or classes.
🤮1
Enable Microsoft Sentinel Analytics Rules at Scale
By: Charbel Nemnom
Microsoft Sentinel comes with analytics rule built-in templates that you can turn into active rules by effectively creating a copy of them - that's what happens when you create a rule from a template.
Link
By: Charbel Nemnom
Microsoft Sentinel comes with analytics rule built-in templates that you can turn into active rules by effectively creating a copy of them - that's what happens when you create a rule from a template.
Link
CHARBEL NEMNOM - MVP | MCT | CCSP | CISM - Cloud & CyberSecurity
How To Enable Microsoft Sentinel Analytics Rules at Scale - CHARBEL NEMNOM - MVP | MCT | CCSP | CISM - Cloud & CyberSecurity
In this article, we will share with you how to enable and set Microsoft Sentinel Analytics Rules at Scale using PowerShell.
Audit Events in Your Azure Subscription with PowerShell
By: Trevor Jones
Update! v.1.1 released fixing a bug where the most recent events were not being returned (2022-09-13) A quick post - I just published a new script for retrieving activity log events for an Azure subscription as the current options for searching and retrieving events didn't satisfy me.
Link
By: Trevor Jones
Update! v.1.1 released fixing a bug where the most recent events were not being returned (2022-09-13) A quick post - I just published a new script for retrieving activity log events for an Azure subscription as the current options for searching and retrieving events didn't satisfy me.
Link
smsagent.blog
Audit Events in Your Azure Subscription with PowerShell
Update! v.1.1 released fixing a bug where the most recent events were not being returned (2022-09-13) A quick post – I just published a new script for retrieving activity log events for an Az…
Today's cmdlet ‣ Compress-Archive
Creates a compressed archive, or zipped file, from specified files and directories.
Example's Remarks:
• The Path parameter accepts specific file names and file names with wildcards, `*.vsd`.
• The Path uses a comma-separated list to get files from different directories.
• The compression level is Fastest to reduce processing time.
• The DestinationPath parameter specifies the location for the `Draft.zip` file.
• The `Draft.zip` file contains `Draftdoc.docx` and all the files with a `.vsd` extension.
#tutorial
Creates a compressed archive, or zipped file, from specified files and directories.
Example's Remarks:
• The Path parameter accepts specific file names and file names with wildcards, `*.vsd`.
• The Path uses a comma-separated list to get files from different directories.
• The compression level is Fastest to reduce processing time.
• The DestinationPath parameter specifies the location for the `Draft.zip` file.
• The `Draft.zip` file contains `Draftdoc.docx` and all the files with a `.vsd` extension.
#tutorial
PowerShell Secrets Management – Part 4: Backup/Export/Migrate Secrets
By: Roman Stadlmair
The PowerShell Secrets Management Module became one of my must-haves on every computer i use with PowerShell. I already wrote a couple of posts about it. First Look into the beta module 1-Introduction 2-Installation and first steps 3-Use secrets in scripts Recently i tested a Macbooc Air M1 and wanted to use the secrets i had on my main Windows machine. The approac was to simply generate a CSV-file from the secrets and import it on the Mac. As a reminder, lets summarize what Secrets Managemt Architecture is about. Secrets are stored in Vaults Secrets may occur in the form
Link
By: Roman Stadlmair
The PowerShell Secrets Management Module became one of my must-haves on every computer i use with PowerShell. I already wrote a couple of posts about it. First Look into the beta module 1-Introduction 2-Installation and first steps 3-Use secrets in scripts Recently i tested a Macbooc Air M1 and wanted to use the secrets i had on my main Windows machine. The approac was to simply generate a CSV-file from the secrets and import it on the Mac. As a reminder, lets summarize what Secrets Managemt Architecture is about. Secrets are stored in Vaults Secrets may occur in the form
Link
www.powershell.co.at
PowerShell Secrets Management - Part 4: Backup/Export/Migrate Secrets
The PowerShell Secrets Management Module became one of my must-haves on every computer i use with PowerShell. I already wrote a couple of posts about it.
Fir
Fir
HTML Reporting with Powershell Part 1 Creating the Basic Report
By: Chasse TAC
In tis video, we look at how to create an html report in powershell. This will shows the basics of how to create a multiple fragment body and why it's needed for more complex reports.
Link
By: Chasse TAC
In tis video, we look at how to create an html report in powershell. This will shows the basics of how to create a multiple fragment body and why it's needed for more complex reports.
Link
YouTube
HTML Reporting with Powershell Part 1 Creating the Basic Report
In tis video, we look at how to create an html report in powershell. This will shows the basics of how to create a multiple fragment body and why it's needed for more complex reports.
In the upcoming part 2 video, we'll then add css and html tag info into…
In the upcoming part 2 video, we'll then add css and html tag info into…
👍1
Updating and setting primary attributes in SuccessFactors with PowerShell
By: Darren Robinson
Approximately five years ago I rolled through a number of Identity and Access lifecycle management projects that used SAP SuccessFactors as the source of authority for user data. It isn't uncommon to use a HRM solution to source identity data, but it is never a one way street.
Link
By: Darren Robinson
Approximately five years ago I rolled through a number of Identity and Access lifecycle management projects that used SAP SuccessFactors as the source of authority for user data. It isn't uncommon to use a HRM solution to source identity data, but it is never a one way street.
Link
darrenjrobinson - Bespoke Identity and Access Management Solutions
Updating and setting primary attributes in SuccessFactors with PowerShell - darrenjrobinson - Bespoke Identity and Access Management…
Updating SuccessFactors with email addresses or phone numbers with PowerShell and setting them as Primary via API using upsert and purgeType.
Install, remove, list, and set default printer with PowerShell
By: Emanuel Halapciuc
With PowerShell, you can easily install a printer driver, add a printer to the repository, and then add a local or shared network printer to your Windows installation. In this post, I will also explain how you can list printers, add a printer port, set the default printer, and remove a printer with PowerShell.
Link
By: Emanuel Halapciuc
With PowerShell, you can easily install a printer driver, add a printer to the repository, and then add a local or shared network printer to your Windows installation. In this post, I will also explain how you can list printers, add a printer port, set the default printer, and remove a printer with PowerShell.
Link
👍1
PsInfo: Get disk space, installed applications, and other information about local and remote Windows systems
By: Leos Marek
PsInfo, a command-line tool that is part of the Sysinternals suite, gets key information about Windows systems, such as the type of installation, available disk space, installed applications, kernel build number, uptime, registered owner, and the number of processors.
Link
By: Leos Marek
PsInfo, a command-line tool that is part of the Sysinternals suite, gets key information about Windows systems, such as the type of installation, available disk space, installed applications, kernel build number, uptime, registered owner, and the number of processors.
Link
4sysops
PsInfo: Get disk space, installed applications, and other information about local and remote Windows systems
PsInfo, a command-line tool that is part of the Sysinternals suite, gets key information about Windows systems, such as the type of installation, available disk space, installed applications, kernel build number, uptime, registered owner, and the number of…
Format time and date output of PowerShell New-TimeSpan
By: Emanuel Halapciuc
My function, Get-TimespanPretty, allows you to view the time span-the difference between two time points or dates-in a compact, user-friendly format. It is built on top of the New-TimeSpan cmdlet, which offers details as output that you usually need. With Get-TimespanPretty, you can simply pipe the output (TimeSpan object) of New-TimeSpan or Measure-Command to Get-TimespanPretty. It's easy to use, and there's no need for complex reworking of scripts that may include such commands.
Link
By: Emanuel Halapciuc
My function, Get-TimespanPretty, allows you to view the time span-the difference between two time points or dates-in a compact, user-friendly format. It is built on top of the New-TimeSpan cmdlet, which offers details as output that you usually need. With Get-TimespanPretty, you can simply pipe the output (TimeSpan object) of New-TimeSpan or Measure-Command to Get-TimespanPretty. It's easy to use, and there's no need for complex reworking of scripts that may include such commands.
Link
4sysops
Format time and date output of PowerShell New-TimeSpan
My function, Get-TimespanPretty, allows you to view the time span—the difference between two time points or dates—in a compact, user-friendly format. It is built on top of the New-TimeSpan cmdlet, which offers details as output that you usually need. With…
🔥1
Using PowerShell on chromeOS Flex
By: Harm Veenstra
On an older laptop, I use chromeOS Flex. Easy to install, and for simple web browsing, it's a perfect solution without any license requirement. But yeah... I also wanted to use PowerShell on that, this blog post will show you how to install and use PowerShell on chromeOS Flex.
Link
By: Harm Veenstra
On an older laptop, I use chromeOS Flex. Easy to install, and for simple web browsing, it's a perfect solution without any license requirement. But yeah... I also wanted to use PowerShell on that, this blog post will show you how to install and use PowerShell on chromeOS Flex.
Link
PowerShell is fun :)
PowerShell is fun :) Using PowerShell on chromeOS Flex
On an older laptop, I use chromeOS Flex. Easy to install, and for simple web browsing, it’s a perfect solution without any license requirement. But yeah… I also wanted to use PowerShell…
Today's tip ‣ Arrays: Arrays as reference types
”As array types are reference types, a variable designating an array can be made to refer to any array of any rank, length, and element type.”
#tip
”As array types are reference types, a variable designating an array can be made to refer to any array of any rank, length, and element type.”
$a = 10,20 # $a refers to an array of length 2
$a = 10,20,30 # $a refers to a different array, of length 3
$a = "red",10.6 # $a refers to a different array, of length 2
$a = New-Object 'int[,]' 2,3 # $a refers to an array of rank 2
#tip