PowerShell
773 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Configure Windows Firewall Rules For Remote Access | PowerShell
By: Mohammed Shamim

Suppose, your firewall is enabled on your Windows server, but you want to access your server using 'Remote Desktop'
Link
👍1
PowerShell 7.3 General Availability
By: PowerShell Team

General availability of PowerShell 7.3
Link
PSScriptAnalyzer (PSSA) 1.21.0 has been released
By: Jim Truher

Announcing the release of PSScriptAnalyzer 1.21
Link
Nightmare Fuel with I am Jakoby
By: The Powershell Podcast

In this episode, we talk with ethical hacker I am Jakoby who gives us insights into the many ways someone can get access to your systems. We talked about how he started his journey into ethical hacking, and the support he got when he submitted for hak5.
Link
👍1
Today's cmdlet ‣ New-Service
Creates a new Windows service.

Example's Remarks:
• This command uses `Get-CimInstance` to get the Win32_Service object for the new service.
• This object includes the start mode and the service description.

#tutorial
👍2
Today's tip ‣ Basic concepts: Scopes

”Unless dot source notation is used, each of the following creates a new scope:
- A script file
- A script block
- A function or filter”

#tip
CodeConversion
By: Ironman Software, LLC

Orginally a feature of PowerShell Pro Tools, this module provides the ability to convert between C# and PowerShell. No license required.
Link
👍2
Today's cmdlet ‣ Disable-PSBreakpoint
Disables the breakpoints in the current console.

Example's Remarks:
• The `Set-PSBreakpoint` cmdlet creates a breakpoint on the `$Name` variable in the `Sample.ps1` script and saves the breakpoint object in the `$B` variable.
• The `Disable-PSBreakpoint` cmdlet disables the new breakpoint.
• It uses a pipeline operator (`|`) to send the breakpoint object in `$B` to the `Disable-PSBreakpoint` cmdlet.

#tutorial
Convert to and from Windows and Unix timestamps with PowerShell
By: Darren Robinson

In this post I detail a module I've just published that is another of those I've done this before, but how do I find it again moments. Converting from Windows and Unix timestamps with PowerShell.
Link
Lessons Learned from Using Azure Automation with PowerShell Scripts
By: Tony Redmond

I've spent some time investigating Azure Automation PowerShell recently. In this article, I discuss three learnings that might be of interest to others. Debugging, cost, and tracking the use of Azure Automation PowerShell might not interest everyone, but they've certainly helped me to understand how the platform works.
Link
Write great AWS Lambda PowerShell functions
By: Alex Neihaus

In this post, I share some tips I use when I write AWS Lambda PowerShell functions. You can find lots of help writing .Net end user functions for Lambda. By end user, I mean things that are part of an application system, like kicking off Glue jobs, working with Redshift and so on.
Link
Today's cmdlet ‣ Remove-Item
Deletes the specified items.

Example's Remarks:
• In the `Get-ChildItem` command, Path has a value of (`*`), which represents the contents of the current folder.
• It uses Include to specify the CSV file type, and it uses Recurse to make the retrieval recursive.
• If you try to specify the file type the path, such as `-Path *.csv`, the cmdlet interprets the subject of the search to be a file that has no child items, and Recurse fails.

#tutorial
👍1
Invoke-AKSH and easily manage your local lab
By: Uday Mittal

Having worked on AKSH (my Discord bot) and witnessing how easy it made deploying and managing a lab on AWS, I wanted something similar for my local lab as well. On my local machines I use VMWare Workstation to create and manage virtual labs. Even though it has an intuitive GUI, it lacks a mechanism to perform actions (start, stop, snapshot, revert etc.) on multiple virtual machines via single click (maybe that's where vSphere comes in!). However, to compensate for that, it exposes a command line interface (vmrun.exe) that can aid in automating actions on multiple virtual machines.
Link
Hackers use new stealthy PowerShell backdoor to target 60+ victims
By: Bill Toulas

A previously undocumented, fully undetectable PowerShell backdoor is being actively used by a threat actor who has targeted at least 69 entities.
Link
Reporting Teams Channel Email Addresses
By: Tony Redmond

No Microsoft 365 admin portal will tell you about the set of email addresses assigned to Teams channels. Fortunately, it's relatively easy to create a report with PowerShell and just a little Graph magic.
Link
5 Ways to install PowerShell 7 on Windows
By: Patrick Gruenauer

PowerShell 7 is the successor to PowerShell 5.1. It's fast, reliable and it is cross-platform. Without a doubt, PowerShell 7 is the future.
Link
👍1