Skip to content

Instantly share code, notes, and snippets.

@mr-aleks
mr-aleks / wget-files-cyrillic-friendly.sh
Created June 8, 2018 17:48 — forked from DmitrySandalov/wget-files-cyrillic-friendly.sh
Download all files from website using wget (+encoding)
#!/bin/zsh
wget -m -p -E -k -K -np --restrict-file-names=nocontrol http://site/path/
@mr-aleks
mr-aleks / Get-WindowsVersion.ps1
Created May 8, 2018 20:55 — forked from SMSAgentSoftware/Get-WindowsVersion.ps1
Finds the Windows version including Edition, Version and OS Build numbers for local or remote computers
[CmdletBinding()]
Param
(
[Parameter(Mandatory=$false,
ValueFromPipelineByPropertyName=$true,
ValueFromPipeline=$true
)]
[string[]]$ComputerName = $env:COMPUTERNAME
)