PowerShell
774 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Permissions Required to Run Microsoft Graph Cmdlets
By: damian

Introduction When connecting to Microsoft Graph PowerShell, it is important to determine what permissions are needed for that connection as it could determine which cmdlets we are able to run as well as what access is granted to manage objects with Graph PowerShell. Microsoft does provide a hand pair of cmdlets for determining cmdlets to...
Link
HistoryNinja v1.0.3
By: Josh Kelley

This module parses browser history files and extracts page titles, URLs, and timestamps. It also parses the history file for download history, returning the file path, timestamp, and size of the downloaded item.
Link
🔥1🤔1
Recreate Desktop and Start Menu shortcuts #ASRmageddon
By: Harm Veenstra

It's just a beautiful Friday 13th, due to a Windows Defender update that removed shortcuts from many machines with Attack Surface Reduction enabled for Macros. (Work-around 'Setdefender ASR rule 92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b to audit only unit issue is resolved.') This blog post describes how you can recreate the missing shortcuts and deploy this using Intune or run it manually on the affected system(s).
Link
Social is Hard
By: Jeff Hicks

Social media has been a great asset to my career. It has helped me build new relationships, keep on top of trends in IT, and generally be that co-worker sitting across from me. I have worked from home for at least as long as I worked from an office. I often miss the social aspect.
Link
👍1
PowerShell Tab Completion: The Ultimate Guide
By: Jeff Brown

Adding tab completion to your PowerShell parameters (or arguments) is a great way to enhance the user experience. You provide the user with possible values or build a dynamic list of values so the user knows what they can use. This article will teach you five ways to add tab completion to PowerShell functions. Using [...]
Link
The PowerShell While Loop : A Back to Basic Guide
By: Nicholas Xuan Nguyen

Discover the many ways to utilize the PowerShell while loop and take control of your applications flow with this ATA Learning tutorial!
Link
ForestManagement v1.5.54
By: Friedrich Weinmann

Infrastructure module to build and maintain forest configuration
Link
Move Azure Arc-enabled Server to a different resource group or subscription
By: Thomas Maurer

This is just a quick post on how you can change and move your Azure Arc-enabled server to a different resource group or subscription. To do this, you can use the Azure PowerShell module and the Move-AzResource cmdlet. You can find more about the Move-AzResource cmdlet on Microsoft Learn. The Move-AzResource cmdlet moves existing resources to a ...
Link
Today's cmdlet ‣ Get-Date
Gets the current date and time.

Example's Remarks:
• A variable, `$DST` stores the result of `Get-Date`.
• `$DST` uses the IsDaylightSavingTime method to test if the date is adjusted for daylight savings time.

#tutorial
Today's cmdlet ‣ Debug-Process
Debugs one or more processes running on the local computer.

Example's Remarks:
• This command attaches a debugger to all processes that have names that begin with SQL.

#tutorial
Windows Terminal is now the Default in Windows 11
By: Kayla Cinnamon

The day has finally come! Windows Terminal is now the default command line experience on Windows 11 22H2! ?? This means that all command line applications will now automatically open in Windows Terminal. This blog post will go into how this setting is enabled,
Link
👍4
Deploy Windows 365 via Powershell
By: Niels Kok

Stefan Dingemanse and I built a Powershell Module to deploy Windows 365 more easily.
Link
Visual Studio Spell Checker Preview Now Available
By: Dante Gagne

We know developers like you take pride in your code! Many of the features in Visual Studio are designed to help you write the code you want. Visual Studio helps you ensure your code compiles and can even help with code styling.
Link
How to Deal with Common Errors when Running Graph Commands with PowerShell
By: Tony Redmond

It's great to be able to run Graph API requests in PowerShell scripts if everything goes right. This article describes why some common Graph API errors occur in scripts and what to do when the errors happen. Most errors are due to permissions assigned to the Azure AD apps used to run scripts and getting the basics will resolve those problems.
Link
Today's cmdlet ‣ Add-Type
Adds a Microsoft .NET class to a PowerShell session.

Example's Remarks:
• The `$Source` variable stores the source code for the class.
• The type has a static method called `Add` and a non-static method called `Multiply`.

#tutorial
👍2