Skip to content

Instantly share code, notes, and snippets.

View fowl2's full-sized avatar

James May fowl2

  • Australia
  • 15:30 (UTC +10:00)
  • X @fowl2
View GitHub Profile
@fowl2
fowl2 / list app only.xml
Created May 8, 2019 04:15
Sharepoint Addin Permission Request XML - List Write
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="Write"/>
</AppPermissionRequests>
@fowl2
fowl2 / Install-WindowsRsat1809.ps1
Last active August 23, 2025 23:16
Install all Windows 10 Features on Demand (FOD) from ISO
Get-WindowsCapability -Online -LimitAccess `
| where { $_.Name -like 'rsat*' -and $_.State -eq 'NotPresent' } `
| Add-WindowsCapability -Online -LimitAccess -Verbose -Source e:
# step 1. mount (double click) the ISO
# step 2. run this powershell as admin. Change e: to the right drive letter
, (Get-WindowsCapability -Online -LimitAccess | where { $_.Name -like 'rsat*' -and $_.State -eq 'NotPresent' }) `
| % { $c = $_.Length; $_ `

Keybase proof

I hereby claim:

  • I am fowl2 on github.
  • I am fowl2 (https://keybase.io/fowl2) on keybase.
  • I have a public key whose fingerprint is 080B 6B79 90D1 6D7F BA10 17C1 A8FC 0D9D C97E FC85

To claim this, I am signing this object: