Showing results for David O’Brien - Scripting Blog [archived]

Oct 27, 2015
0
0

PowerTip: Encode String and Execute with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to encode a string into base64 and execute it with Windows PowerShell.  How can I encode a string into base64 and then run it via Windows PowerShell?  Use these commands: $string = {(Get-WindowsFeature).Where{$PSItem.Installed}}.ToString() $encodedcommand = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($...

Scripting Guy!Windows PowerShellPowerTip
Oct 27, 2015
0
0

Using WinRM on Linux

Doctor Scripto
Doctor Scripto

Summary: Microsoft MVP, David O’Brien, talks about using the pywinrm module to execute Windows PowerShell from Linux. Microsoft Scripting Guy, Ed Wilson, is here. Today Windows PowerShell MVP, David O’Brien, talks about executing Windows PowerShell on Linux. Hi. I’m David O’Brien, Microsoft MVP for Windows PowerShell, and I ...

Scripting Guy!Windows PowerShellguest blogger

Feedback