# OSDPad

OSDPad is a PowerShell GUI containing a TextBox and a Run button.  This allows you to write a PowerShell script and execute it in a new PowerShell Window.  By itself, this is not entirely useful at all, and it is certainly not considered an "Editor" since there is no syntax highlighting ... but that's not the main goal of OSDPad ... so keep reading

## OSDPad

To run OSDPad, simply use either of the following commands

```
OSDPad
Get-OSDPad
```

{% hint style="warning" %}
If you receive an error when running either command, update the OSD Module in your OS and WinPE to 21.8.10.3 or newer
{% endhint %}

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MgkWoND5oa4GovTbujD%2F-MgkZ-irn3rHA84Nng0X%2Fimage.png?alt=media\&token=988d33b9-6d25-4f56-8be9-fd97950895cb)

Like I mentioned earlier, not the most useful in Windows, but in WinPE it fills a gap where PowerShell ISE isn't an option

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MgkWoND5oa4GovTbujD%2F-MgkdVLXl48WIAV7a73Q%2Fimage.png?alt=media\&token=cc87280e-f080-4696-a086-b1d28b11ee1f)

## GitHub Integration

Where OSDPad shines is its ability to pull PowerShell script from GitHub, as simple as 1-2-3

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MgkWoND5oa4GovTbujD%2F-MgkeEV4icFAcpbXsd-p%2Fimage.png?alt=media\&token=efb47186-c89f-463f-8564-b7615d0f4914)

With this, I can pull any public GitHub Repo containing PowerShell scripts into OSDPad using either of the following commands

```
OSDPad OSDeploy OSDHelp OSDCloudDeploy
Get-OSDPad -RepoOwner OSDeploy -RepoName OSDHelp -RepoFolder OSDCloudDeploy
```

And here is how things look in WinPE.  I'm able to review, edit, and run whatever I need. &#x20;

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MgkWoND5oa4GovTbujD%2F-Mgkf3YMjP52Ijd5Extp%2Fimage.png?alt=media\&token=378c8e7c-8f16-45df-85b4-8e109da8fdbb)

## Workflow Improvement

I develop and test on multiple devices (physical and virtual), and in WinPE, OOBE, and full Windows.  OSDPad has removed my need for mapping a Network Drive or plugging in a USB to get PowerShell  scripts that I'm working on.  This has led to an incredible amount of time savings and increased my productivity

## Dumb IT

I've mentioned before about how I believe that Supes that automate too much, while increasing productivity, also end up 'dumbing down' down support staff.  For example, I doubt any of my support staff can run Get-WindowsAutopilotInfo manually as they are well versed in AutopilotOOBE

{% embed url="<https://twitter.com/SeguraOSD/status/1392389774929969152>" %}

The great thing about OSDPad is it brings the PowerShell Script that is needed to solve a problem front and center where it can be seen, reviewed, edited, and executed.  This gives an opportunity to learn and understand the solution

## Instant GUI

Having an instant GUI available without having to actually make a GUI makes things easier to get released.  In the screenshot below, I have all my OOBE scripts ready for me to test ... and I can work on a GUI when I have time

![Start-OSDPad -RepoOwner OSDeploy -RepoName OSDPad -RepoFolder OOBE](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MgkiX_SThffpB21LsWF%2F-MgkjYonqiwuVcNLrx6T%2Fimage.png?alt=media\&token=c76e4640-51e0-45d9-b3cb-1dfe5a1d9486)

## Collaboration

Finally, OSDPad makes it easy to collaborate and share your PowerShell scripts with the Community.  I'll be using this during my next Teams meeting or Presentation to easily make my scripts available to share

## Customization

So you're not so keen on the default look and color?  Change it up

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MgkjeNCh_ST4OOq5z83%2F-MgkpFCsxO3JGzW6hziZ%2Fimage.png?alt=media\&token=7f2ddb3a-8ecb-4f8c-bc00-1ac237e3c3ef)

Don't want to show your script to your support staff?  Hide it.

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MgkjeNCh_ST4OOq5z83%2F-MgkqQA3V7ryawHidXIL%2Fimage.png?alt=media\&token=58b9943b-8baf-414f-a053-f9310c893211)

Whatever you do, have fun with it!

## Sponsor

{% embed url="<https://www.recastsoftware.com/?utm_source=osdeploy&utm_medium=ad&utm_campaign=web>" %}
OSDeploy is sponsored by Recast Software
{% endembed %}
