CsWin32
PSKoans
Our great sponsors
CsWin32 | PSKoans | |
---|---|---|
23 | 56 | |
1,887 | 1,646 | |
5.2% | - | |
9.4 | 0.0 | |
about 1 month ago | about 1 year ago | |
C# | PowerShell | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CsWin32
-
[OC] I made a program for Windows which lets you create sticky preview thumbnails
This was mostly a project for fun, to dive into CsWin32 - a PInvoke source generator as well to fiddle around with the DWM API.
-
Change Secondary screen rotation using CMD
If you haven't seen the CsWin32 project, you can use it to generate all your bindings as well. It generates the raw extern bindings, and then friendly wrappers for C# (where possible) that also work really well with PowerShell.
-
Audio routing using C#
My best guess would be to use CsWin32 to wrangle the audio sinks used by variious WASAPI sessions.
-
Hello. Can someone please give me some fun and cool projects for powrshell? Thank you.
If you're looking for something different, try out writing windows programs using Win32 via CsWin32. You can generate a DLL that you Add-Type into PowerShell that lets you access all of Win32.
-
PInvoke.net: the interop wiki
Also worth mentioning is this C# source generator for generating P/Invoke methods for win32 APIs: https://github.com/microsoft/CsWin32
-
WPF Roadmap 2023
Idk what all the hubub is about FolderBrowserDialog, it's pretty easy to make the Win32 calls (you can even code generate the interop calls).
-
C# to C Struct
You could try this to auto-generate it.
- Any existing windows API wrappers?
-
Need help with WPF
If all you need is Win32 stuff from a WPF application, you can use P/Invoke to call the unmanaged code from C# (see: https://learn.microsoft.com/en-us/dotnet/standard/native-interop/pinvoke). Microsoft also recently added features for making working with Win32 from C# easier (see: https://github.com/microsoft/CsWin32).
-
Best resource to learn c# COM?
There's this helpful repo for people trying to P/Invoke WinAPI
PSKoans
-
If you have no experience, learn Powershell (or Python)
PSKoans
-
Best resource to learn PowerShell?
PSKoans: https://github.com/vexx32/PSKoans
- I'm brushing up on powershell, but I've got no projects to apply it to at the moment.
- Good tutorial sites: I need to learn Powershell for work, asking for help..
-
The weird world of Windows file paths
It's worth learning at any age, especially now that it is an open-source, cross-platform shell. The PS Koans [1] that recently showed up on HN seemed an interesting way to try to learn it.
[1] https://github.com/vexx32/PSKoans
- PSKoans: A simple, fun, and interactive way to learn the PowerShell language
- GitHub - vexx32/PSKoans: A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing.
What are some alternatives?
ClangSharp - Clang bindings for .NET written in C#
Mailozaurr - Mailozaurr is a PowerShell module that aims to provide SMTP, POP3, IMAP and probably some other ways to interact with Email. Underneath it uses MimeKit and MailKit libraries written by Jeffrey Stedfast.
SRWE - Simple Runtime Window Editor
PSWritePDF - PowerShell Module to create, edit, split, merge PDF files on Windows / Linux and MacOS
Vanara - A set of .NET libraries for Windows implementing PInvoke calls to many native Windows APIs with supporting wrappers.
psfalcon - PowerShell for CrowdStrike's OAuth2 APIs
pinvoke - A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
DalamudPlugins - This repository hosts plugins for XIVLauncher/Dalamud
terrafx.interop.windows - Interop bindings for Windows.
Posh-ACME - PowerShell module and ACME client to create certificates from Let's Encrypt (or other ACME CA)
cheat-engine - Cheat Engine. A development environment focused on modding
boxstarter - Repeatable, reboot resilient windows environment installations made easy using Chocolatey packages