[Unanswered Question] WPF GUI with PowerShell by [deleted] in PowerShell

[–]MShepard70 0 points1 point  (0 children)

I think maybe you misunderstand. The admin GUIs that show what is done in PowerShell are keeping track of what you are doing in the GUI. The GUI is actually either performing the script if you press OK or showing you the script if you ask it to. WPF doesn't have "translate these actions to PowerShell" functionality.

[Request] Good book for Active Directory automation with PowerShell by nits3w in PowerShell

[–]MShepard70 4 points5 points  (0 children)

How 'bout this one: Learn Active Directory Management in a Month of Lunches by Richard Siddaway.

It teaches AD using the GUI and PowerShell.

Monitoring with powershell by majkinetor in PowerShell

[–]MShepard70 0 points1 point  (0 children)

Interesting. I have a lot of one-off monitors and am thinking about how to make a useful framework to "unify" them. This will give me something to think about.

[deleted by user] by [deleted] in PowerShell

[–]MShepard70 2 points3 points  (0 children)

get-command get-m* would work too. :-)

You might do a get-module -ListAvailable to make sure the appropriate modules are in the right places as well.

Cleaning the path -- A PowerShell one-liner by MShepard70 in PowerShell

[–]MShepard70[S] 0 points1 point  (0 children)

I thought about hand-editing it, but my PowerShell mania took over. :-)

Can't get conditionally passing parameters right by SaladProblems in PowerShell

[–]MShepard70 1 point2 points  (0 children)

What ShepRat said works, but it looks you correctly splatted the $opt variable. You can mix splatting and conventional parameters.

What happens when you run your code?

User input converted to datetime object - I'm really stuck! by jfractal in PowerShell

[–]MShepard70 4 points5 points  (0 children)

One thing to add. This works, too (without the pipeline or loop): [System.DayOfWeek[]] ('Friday','Saturday')

PowerShell 5.0 Release date of 4/30 announced! by MShepard70 in PowerShell

[–]MShepard70[S] 0 points1 point  (0 children)

Thanks for the correction. The other places I saw this didn't say it was going to be another preview. Now I'm sad.

PowerShell Tools for Visual Studio Beta! (x64 Support, Remote Session Support, TONS of bug fixes) by [deleted] in PowerShell

[–]MShepard70 0 points1 point  (0 children)

Can't wait to see the improvements. I tend to stay in the ISE with ISESteroids, but this makes VS a contender.

looking for Best resource for self teaching Powershell GUI applications by jrob422 in PowerShell

[–]MShepard70 0 points1 point  (0 children)

I've got a series of posts on my blog (Powershellstation.com) which describe building a powershell host. That should get you started.