| old/bootstrap.ps1 |
[deleted file] |
patch | blob | blame | history |
| pi/install/art.sh |
[moved from install/art.sh with 100% similarity] |
patch | blob | blame | history |
| pi/install/code.sh |
[moved from install/code.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/install/exfat_pi.sh |
[moved from install/exfat_pi.sh with 100% similarity] |
patch | blob | blame | history |
| pi/install/geek-life_pi.sh |
[moved from install/geek-life_pi.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/install/i3.sh |
[moved from install/i3.sh with 100% similarity] |
patch | blob | blame | history |
| pi/install/i3_basics.sh |
[moved from pi/install_i3_basics.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/install/powershell7_pi.sh |
[moved from install/powershell7_pi.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/install/rdp.sh |
[moved from install/pi/rdp.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/install/website.sh |
[moved from install/website.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/install/wtfutil_pi.sh |
[moved from install/wtfutil_pi.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/install/x16_deps.sh |
[moved from pi/x16_deps.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/setup/retropi_joystick_selection.ps1 |
[moved from install/retropi.ps1 with 98% similarity] |
patch | blob | blame | history |
| pi/setup/vice_pi.sh |
[moved from install/vice_pi.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/setup/x16.sh |
[moved from pi/x16.sh with 100% similarity, mode: 0644] |
patch | blob | blame | history |
| pi/start_pi.md |
[moved from start_pi.md with 100% similarity] |
patch | blob | blame | history |
| win/install/ansible.ps1 |
[moved from install/ansible.ps1 with 100% similarity] |
patch | blob | blame | history |
| win/install/dev.ps1 |
[moved from install/dev.ps1 with 100% similarity] |
patch | blob | blame | history |
| win/install/vim.ps1 |
[moved from install/vim.ps1 with 90% similarity] |
patch | blob | blame | history |
| win/more.md |
[new file with mode: 0644] |
patch | blob |
| win/rdp.md |
[new file with mode: 0644] |
patch | blob |
| win/setup/minion.ps1 |
[moved from install/minion.ps1 with 98% similarity] |
patch | blob | blame | history |
| win/start_windows.md |
[moved from start_windows.md with 100% similarity] |
patch | blob | blame | history |
+++ /dev/null
-<#
-.SYNOPSIS
-
-Setup my Windows PowerShell environment.
-
-.DESCRIPTION
-
-.NOTES
-
-Relies heavily on the Chocolatey package manager.
-
-#>
-
-param(
- # [Parameter(Mandatory=$true, HelpMessage="Install Development Tools")]
- [switch]$dev_tools,
- # [Parameter(Mandatory=$true, HelpMessage="Install Modeling Tools")]
- [switch]$archi,
- # [Parameter(Mandatory=$true, HelpMessage="Install Vim")]
- [switch]$vim,
- # [Parameter(Mandatory=$true, HelpMessage="Setup PowerShell Profile")]
- [switch]$profile,
- [switch]$fav_ps_modules
-)
-
-## Install SSH client
-Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
-
-## Always Install Chocolatey if missing
-$testchoco = powershell choco -v
-if(-not($testchoco)){
- Write-Output "Seems Chocolatey is not installed, installing now..."
- Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
-}
-
-# OWASP ZAP for web application security scanning
-if($false) {
- choco install zap
-}
-
-## TODO: Can I set this via command line: chrome://flags/#enable-force-dark
-
-if($doBootStrap) {
- # DONE!
- New-Item -ItemType File -Path $doneFlagFile
-}
-
-# ArchiMate for enterprise modeling
-if($archi) {
- choco install archi
-}
-
-# Install dev tools
-if($dev_tools){
- ./install/dev.ps1
-}
-
-if($vim){
- ./install/vim.ps1
-}
-
-if($profile){
- ./install/profile.ps1
-}
-
-if($fav_ps_modules) {
- Write-Host "Reminder: Need to install these modules with admin escalation."
- ./install/admin/favorite-ps-modules.ps1
-}
-\r
-## TODO: Would be clever to make this a DSC module: https://docs.microsoft.com/en-us/powershell/scripting/dsc/quickstarts/website-quickstart?view=powershell-7\r
-Write-Host "Adding ability to switch Joystick"\r
-# https://github.com/meleu/RetroPie-joystick-selection\r
-Write-Host "Enable SSH first via Raspi-Config"\r
-ssh pi@retropi -C 'wget -O- "https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh" | sudo bash'\r
+
+## TODO: Would be clever to make this a DSC module: https://docs.microsoft.com/en-us/powershell/scripting/dsc/quickstarts/website-quickstart?view=powershell-7
+Write-Host "Adding ability to switch Joystick"
+# https://github.com/meleu/RetroPie-joystick-selection
+Write-Host "Enable SSH first via Raspi-Config"
+ssh pi@retropi -C 'wget -O- "https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh" | sudo bash'
Write-Host "Now launch the script via RetroPi Setup - Configuration Tools - Joystick selection"
\ No newline at end of file
-<#\r
-.SYNOPSIS\r
-\r
-Install Vim for Windows\r
-\r
-.NOTES\r
-\r
-Requires Chocolatey package manager.\r
-\r
-#>\r
-\r
+<#
+.SYNOPSIS
+
+Install Vim for Windows
+
+.NOTES
+
+Requires Chocolatey package manager.
+
+#>
+
choco install vim
\ No newline at end of file
--- /dev/null
+
+Archimate
+`choco install archi`
+
+OWASP Zap
+`choco install zap`
\ No newline at end of file
--- /dev/null
+
+Enable incoming RDP.
+```powershell
+Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0
+Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
+Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1
+```
+
+Now reboot.
\ No newline at end of file
-cd c:\src\r
+cd c:\src
git clone https://github.com/edthedev/minion.git
\ No newline at end of file