this post was submitted on 10 May 2024
9 points (84.6% liked)

Powershell

1020 readers
7 users here now

PowerShell (POSH) is a a task automation command-line shell and scripting language created by Microsoft. It became part of the FOSS community in 2016 and is now available across Windows, Linux, and macOS

Resources:


Rules:

Self-promotion rules:


founded 1 year ago
MODERATORS
 

Announcements!

  • Windows Terminal Preview 1.21 Release
    Windows Terminal is back with another preview release! Windows Terminal Preview 1.21 introduces long-awaited features like Buffer Restore and fontfall back as well as new experimental features like Scratchpad and the ability to load up an image as a texture. There’s also a LOT MORE stuff so check out the rest of this blog post to learn more!

Blogs, Articles, and Posts

  • Upload a file to Connectwise and Attach it to a Service Ticket with PowerShell
    I have recently been automating a lot within Connectwise PSA. One of the items I set out to do is to upload a file and attach it to a service ticket. This led me to the following article, but after doing some testing, I found that some file types were not properly rendering on the Connectwise side, making me believe there was something wrong with the encoding.
  • More Microsoft Graph PowerShell SDK Problems
    Some problems emerged in V2.17 and V2.18 of the Microsoft Graph PowerShell SDK. In one case, Microsoft changed cmdlet names. In another, it's an identity issue caused by incompatible assemblies. In both cases, questions have to be asked about the level of testing done by Microsoft before they release a new module. Bugs do happen, but testing should catch the obvious problems.
  • Using $using in PowerShell for local variables in remote sessions
    When running scripts that connect to remote systems using Invoke-Command, you can use your local variables in the remote session which makes things a lot easier. In this blog post, I will show you how :)
  • Read, Modify, and Parse JSON File (Object) with PowerShell
    JSON is a popular text-based format for representing and transmitting structured data based on JavaScript object syntax. There are two cmdlets in PowerShell that allow you to work with the…
  • Report SharePoint Online Files Using the Microsoft Graph PowerShell SDK
    This article describes creating a SharePoint Online files report using the Microsoft Graph PowerShell SDK. While keeping digital debris online might have been unimportant in the past, it's something that can wreak havoc in the era of generative AI when tools like Copilot for Microsoft 365 are happy to consume obsolete and inaccurate material.
  • Get-FileHash of 100G files
    An interesting thread on reading file hashes.
  • Finding the specific day of the month with PowerShell
    Advanced usage of PowerShell's Get-Date function for finding dates

Projects, Scripts, and Modules

Books, Media, and Learning Resources

Community

Fun

  • PixelPoSH
    PixelPoSH is a PowerShell module that generates customizable graphical backgrounds using System.Drawing in .NET. This tool allows users to create images with various graphical patterns like bubbles, concentric circles, stripes, and squares. It's perfect for quickly generating backgrounds for desktops, websites, or any project that could use a splash of color and creativity.

Check out psweekly.dowst.dev for all past editions as well as a searchable archive.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here