* Set-Execution policy so profile works
* Added New Options in menu * Fixed 4 items that didn't install due to typos * Found a dirty method to install best explorer alternative I've found * Minor prettification * Install NFS Tools and Mount my shares
This commit is contained in:
parent
0af5e2f681
commit
aad6373538
@ -23,6 +23,14 @@ Make sure windows is up-to-date by checking for updates in settings
|
|||||||
|
|
||||||
Check for updates from the Microsoft store
|
Check for updates from the Microsoft store
|
||||||
|
|
||||||
|
Windows 11 doesn't play nice if you don't want to use OneDrive... First command will help find some folders that need to be **FIXED**
|
||||||
|
|
||||||
|
`Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\"
|
||||||
|
|
||||||
|
Second is just an example of some one of them.
|
||||||
|
|
||||||
|
`Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\" -Name "Personal" -Value "$HOME\Documents"`
|
||||||
|
|
||||||
### Second ###
|
### Second ###
|
||||||
|
|
||||||
```ps1
|
```ps1
|
||||||
|
25
TODO.md
25
TODO.md
@ -1,27 +1,16 @@
|
|||||||
# TO-DO #
|
# TO-DO #
|
||||||
|
|
||||||
[] Install NFS Client features
|
[X] Install NFS Client features
|
||||||
[] Map my typical network driver?
|
[X] Map my typical network driver?
|
||||||
[X] Create SSH KEY
|
[X] Create SSH KEY
|
||||||
[X] Start SSH Agent
|
[X] Start SSH Agent
|
||||||
[] Open notepad with instructions to where to put ssh key, possibly log as well?
|
[] Open notepad with instructions to where to put ssh key, possibly log as well?
|
||||||
[] i.e. both servers, git.theflyingfool.com, linode, etc
|
[] i.e. both servers, git.theflyingfool.com, linode, etc
|
||||||
[] .alias file created and filled with some things?
|
[X] .alias file created and filled with some things?
|
||||||
[] Syu
|
[X] Syu
|
||||||
[] Touch
|
[X] Touch
|
||||||
[] Other Linux type mappings?
|
[X] Other Linux type mappings?
|
||||||
[] https://cdn.files.community/files/download/Files.Stable.exe
|
[X] https://cdn.files.community/files/download/Files.Stable.exe
|
||||||
|
|
||||||
|
|
||||||
## NOTES ##
|
## NOTES ##
|
||||||
|
|
||||||
I believe this is required for utilizing NFS features via powershell:
|
|
||||||
|
|
||||||
PowerShell 7.4.2
|
|
||||||
|
|
||||||
Add-WindowsCapability -Online -Name Rsat.ServerManager.Tools~~~~0.0.1.0
|
|
||||||
|
|
||||||
PS C:\Users\nick> Dism /Online /Add-Capability /CapabilityName:Rsat.ServerManager.Tools~~~~0.0.1.0
|
|
||||||
|
|
||||||
Capability Identity : Rsat.ServerManager.Tools~~~~0.0.1.0
|
|
||||||
State : Not Present
|
|
37
setup.ps1
37
setup.ps1
@ -27,7 +27,7 @@ $settingsJson = @{installBehavior = @{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$settingsJson | ConvertTo-Json | Out-File $settingsPath -Encoding utf8
|
$settingsJson | ConvertTo-Json | Out-File $settingsPath -Encoding utf8
|
||||||
|
Set-ExecutionPolicy bypass
|
||||||
winget search test --accept-source-agreements
|
winget search test --accept-source-agreements
|
||||||
|
|
||||||
function InstallTheApps() {
|
function InstallTheApps() {
|
||||||
@ -98,11 +98,12 @@ do {
|
|||||||
Write-Host '5 - Remove Crap'
|
Write-Host '5 - Remove Crap'
|
||||||
Write-Host '6 - Create SSH Key'
|
Write-Host '6 - Create SSH Key'
|
||||||
Write-Host '7 - Grab WinDot'
|
Write-Host '7 - Grab WinDot'
|
||||||
|
Write-Host '8 - Testing Features here'
|
||||||
Write-Host '9 - Exit'
|
Write-Host '9 - Exit'
|
||||||
Write-Host ''
|
Write-Host ''
|
||||||
$answer = Read-Host 'Select number(s)'
|
$answer = Read-Host 'Select number(s)'
|
||||||
|
|
||||||
$ok =$answer -in @(1..7; 9)
|
$ok =$answer -in @(1..8; 9)
|
||||||
} until ($ok)
|
} until ($ok)
|
||||||
|
|
||||||
if ($answer -eq 9) { break }
|
if ($answer -eq 9) { break }
|
||||||
@ -147,14 +148,9 @@ do {
|
|||||||
@{name = 'Vivaldi.Vivaldi'}
|
@{name = 'Vivaldi.Vivaldi'}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
InstallTheApps $Apps
|
InstallTheApps $Apps
|
||||||
# Update-Profile # With moving profile and alias to git this is no longer the way
|
Invoke-WebRequest https://cdn.files.community/files/download/Files.Stable.exe -OutFile $HOME/Downloads/Files.Stable.exe
|
||||||
|
& "$HOME\Downloads\Files.Stable.exe"
|
||||||
# In theory this will grab my dot files and start using them
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
"2" {
|
"2" {
|
||||||
@ -174,12 +170,13 @@ do {
|
|||||||
@{name = 'SteelSeries.SteelSeriesEngine' },
|
@{name = 'SteelSeries.SteelSeriesEngine' },
|
||||||
@{name = 'Corsair.iCUE.5' },
|
@{name = 'Corsair.iCUE.5' },
|
||||||
@{name = 'Asus.ArmouryCrate'},
|
@{name = 'Asus.ArmouryCrate'},
|
||||||
@{name = 'Nvidia.GeForceExperience '},
|
@{name = 'Nvidia.GeForceExperience '}
|
||||||
@{name = 'Samsung.SamsungMagician'}
|
#@{name = 'Samsung.SamsungMagician'}# As of 6.13.2024 was a super old version
|
||||||
)
|
)
|
||||||
InstallTheApps $Apps
|
InstallTheApps $Apps
|
||||||
}
|
}
|
||||||
"4" { $apps = @( ## LAPTOP
|
"4" {
|
||||||
|
$apps = @( ## LAPTOP
|
||||||
@{name = 'Intel.IntelDriverAndSupportAssistant' },
|
@{name = 'Intel.IntelDriverAndSupportAssistant' },
|
||||||
@{name = '9WZDNCRFJ4MV'; source = 'msstore' }, # Lenovo Vantage from MS Store
|
@{name = '9WZDNCRFJ4MV'; source = 'msstore' }, # Lenovo Vantage from MS Store
|
||||||
@{name = 'j5create.Driver-JUA365' } ## Not sure if this is correct yet!
|
@{name = 'j5create.Driver-JUA365' } ## Not sure if this is correct yet!
|
||||||
@ -210,6 +207,22 @@ do {
|
|||||||
}
|
}
|
||||||
'7'{
|
'7'{
|
||||||
Get-Windot
|
Get-Windot
|
||||||
|
}
|
||||||
|
'8'{
|
||||||
|
Add-WindowsCapability -Online -Name "ServicesForNFS-ClientOnly"
|
||||||
|
Add-WindowsCapability -Online -Name "ClientForNFS-Infrastructure"
|
||||||
|
Add-WindowsCapability -Online -Name "NFS-Client"
|
||||||
|
Add-WindowsCapability -Online -Name "RSAT-NFS-Admin"
|
||||||
|
Add-WindowsCapability -Online -Name "Rsat.ServerManager.Tools~~~~0.0.1.0"
|
||||||
|
|
||||||
|
New-PSDrive -Name "X" -PSProvider "FileSystem" -Root "\\192.168.1.185\mnt\Local_4X\media"
|
||||||
|
New-PSDrive -Name "Y" -PSProvider "FileSystem" -Root "\\192.168.1.185\mnt\Movies\Movies"
|
||||||
|
New-PSDrive -Name "Z" -PSProvider "FileSystem" -Root "\\192.168.1.185\mnt\HBA\Media"
|
||||||
|
New-PSDrive -Name "Q" -PSProvider "FileSystem" -Root "\\192.168.1.185\mnt\Local_4X\qBit_DL"
|
||||||
|
New-PSDrive -Name "B" -PSProvider "FileSystem" -Root "\\192.168.1.185\mnt\Local_4X\VW_BUP"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} until ( $answer -eq '9' )
|
} until ( $answer -eq '9' )
|
||||||
|
Loading…
Reference in New Issue
Block a user