Prolific Programmer
Microsoft MVP in Azure / PowerShell
https://mrpowershell.com/
https://github.com/StartAutomating
https://github.com/PowerShellWeb
NB, Neurodivergent, Nerdy, Newsjunkie.
Ask me anything.
For a _long_ time, I've been metaprogramming UI via #PowerShell parameters:
Basically: if I can enumerate your input I can build you a UI.
Might be fun / interesting to make this work with #Discord.
Open a lot of doors to a lot of people.
For a _long_ time, I've been metaprogramming UI via #PowerShell parameters:
Basically: if I can enumerate your input I can build you a UI.
Might be fun / interesting to make this work with #Discord.
Open a lot of doors to a lot of people.
Done a fair amount of #WebDev but haven't done #discord yet...
discord.com/developers/d...
Got an #OpenAPI?
Basically, looks like I send some JSON messages to an endpoint. This a webhook? Please give me the 101 for using this.
Done a fair amount of #WebDev but haven't done #discord yet...
discord.com/developers/d...
Got an #OpenAPI?
Basically, looks like I send some JSON messages to an endpoint. This a webhook? Please give me the 101 for using this.
It's a PowerShell module that performs an INTENSIVE analysis of your tenant and provides guidance on how to remediate and secure your tenant.
It's a PowerShell module that performs an INTENSIVE analysis of your tenant and provides guidance on how to remediate and secure your tenant.
What part are they saying you can't use? PowerShell? Visual Studio 2013? Tools? 🤔
What part are they saying you can't use? PowerShell? Visual Studio 2013? Tools? 🤔
I've been working these angles for a while and everything needs help to get over the finish line and out into the community.
🙏 help build some cool #PowerShell #WebDev projects 😉
I've been working these angles for a while and everything needs help to get over the finish line and out into the community.
🙏 help build some cool #PowerShell #WebDev projects 😉
Been working at this for a while.
1000 foot "here's how"
1. PowerShell has an object pipeline, events, and thread jobs; use them.
2. Everything fast goes thru HTTP / WebSockets on randomized loopback ports.
3. Everything else goes thru .NET api or CLI parsing.
80% there
Been working at this for a while.
1000 foot "here's how"
1. PowerShell has an object pipeline, events, and thread jobs; use them.
2. Everything fast goes thru HTTP / WebSockets on randomized loopback ports.
3. Everything else goes thru .NET api or CLI parsing.
80% there
As someone who has been doing #Terminal dev and #WebDev with #PowerShell for a long time, I think we should talk.
A bunch of stuff coming down my pike hits a bunch of points in your essay.
As someone who has been doing #Terminal dev and #WebDev with #PowerShell for a long time, I think we should talk.
A bunch of stuff coming down my pike hits a bunch of points in your essay.
Array subexpression will turn everything into an array without assigning an intermediate variable
Subexpressions can have conditions and loops within them.
So very slightly faster but way more flexible.
Array subexpression will turn everything into an array without assigning an intermediate variable
Subexpressions can have conditions and loops within them.
So very slightly faster but way more flexible.
#PowerShell #WebDev is a thing
Which vaguely reminds me....
May I pick your brain on Discord UI newness, so as to figure out how to integrate it into some #PowerShell ?
#PowerShell #WebDev is a thing
Which vaguely reminds me....
May I pick your brain on Discord UI newness, so as to figure out how to integrate it into some #PowerShell ?
The timeline on languages is _long_.
Basic "dying" took somewhere between the 1980s and now.
PowerShell came out in 2006.
I'd say we have at least 40 years.
Also realizing with some horror:
#PowerShell will outlive me
Our languages will outlive us
😱
The timeline on languages is _long_.
Basic "dying" took somewhere between the 1980s and now.
PowerShell came out in 2006.
I'd say we have at least 40 years.
Also realizing with some horror:
#PowerShell will outlive me
Our languages will outlive us
😱
List expressions are very useful for when you want to force things to be an array.
List expressions are very useful for when you want to force things to be an array.
Basically keys is a enumerable, not indexable.
Because .keys could change at any time.
To work around this, force into an array.
@($table.keys)[0]
You might also enjoy using this range indexing #PowerShell #Trick:
$table[$table.Keys -match 'pattern']
Hope this helps!
Basically keys is a enumerable, not indexable.
Because .keys could change at any time.
To work around this, force into an array.
@($table.keys)[0]
You might also enjoy using this range indexing #PowerShell #Trick:
$table[$table.Keys -match 'pattern']
Hope this helps!
Bonus points for #PowerShell #requires :
You can easily detect this with the AST and auto-install the module in a #GitHub #Workflow.
~~~PowerShell
(Get-Command ./SomeScript.ps1).ScriptBlock.Ast.ScriptRequirements
~~~
Bonus points for #PowerShell #requires :
You can easily detect this with the AST and auto-install the module in a #GitHub #Workflow.
~~~PowerShell
(Get-Command ./SomeScript.ps1).ScriptBlock.Ast.ScriptRequirements
~~~
A brief bit of recon reveals it is not a zip file in a trenchcoat 🤔
I don't know of any API off the top of my head, but there _might_ be a COM api.
Looking forward to seeing what you produce.
Glad I don't use publisher 😉
A brief bit of recon reveals it is not a zip file in a trenchcoat 🤔
I don't know of any API off the top of my head, but there _might_ be a COM api.
Looking forward to seeing what you produce.
Glad I don't use publisher 😉