yarn add -D bulma sass svelte-preprocess
rollup.config.js
using System; | |
public static class DateExtensions | |
{ | |
static DateTime PreventWeekend(this DateTime dateTime) | |
{ | |
switch (dateTime.DayOfWeek) | |
{ | |
case DayOfWeek.Saturday: | |
return dateTime.AddDays(2); |
[CmdletBinding()] | |
Param( | |
[Parameter()] | |
[string]$remoteServer, | |
[Parameter()] | |
[PSCredential]$credential | |
) | |
Write-Host "Checking Domain Controller Availability... `n" -ForegroundColor DarkGreen | |
$session = New-PSSession -ComputerName $remoteServer -Credential $credential -Authentication Credssp | |
Invoke-Command -Session $session -ScriptBlock { Import-Module ActiveDirectory } |
"contributes": { | |
"snippets": [ | |
{ | |
"language": "javascript", | |
"path": "./snippets/js/objects.json" | |
}, | |
{ | |
"language": "javascript", | |
"path": "./snippets/js/arrays.json" | |
} |
[CmdletBinding()] | |
Param( | |
[Parameter()] | |
[string]$path = ".\computer-info.txt" | |
) | |
$bios = Get-CimInstance Win32_BIOS | Select-Object -Property Manufacturer,Name,SerialNumber,Version | |
$os = Get-CimInstance Win32_OperatingSystem | Select-Object -Property Version,BuildNumber,RegisteredUser,SerialNumber | |
$qfe = Get-CimInstance Win32_QuickFixEngineering | Select-Object -Property Description,HotFixID,InstalledOn | |
$products = Get-CimInstance Win32_Product | Select-Object -Property Name,Vendor,Version,Caption | Format-List |
{ | |
"globals" : | |
{ | |
"alwaysShowTabs" : true, | |
"defaultProfile" : "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"initialCols" : 120, | |
"initialRows" : 30, | |
"keybindings" : | |
[ | |
{ |