This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const combiledStyleSheet = new CSSStyleSheet(); | |
| const allRules = [...document.styleSheets] | |
| .flatMap((ss) => { | |
| try { | |
| return [...ss.cssRules].map((rule) => rule.cssText); | |
| } catch { | |
| return []; // Skip cross-origin stylesheets | |
| } | |
| }) | |
| .filter(Boolean); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add-PsSnapin Microsoft.SharePoint.PowerShell | |
| Set-Location $home | |
| $subdomains = "epesb", "epehr" | |
| # CHANGE TTHE VARIABLE BELOW To AN APPROPRIATE BACKUP LOCATION. | |
| $backupdir = "C:\Users\SPFarm\Desktop" | |
| New-Item -Path $backupdir -ItemType directory | |
| ForEach ($subdomain in $subdomains) { |