Полезные ссылки
-
https://www.microsoft.com/net/core/preview#linuxfedora .NET Core 2.0 Preview 1
- Linux + PowerShell = Awesome, Not Awkward …
https://www.microsoft.com/net/core/preview#linuxfedora .NET Core 2.0 Preview 1
function Get-SystemInfo {
<#
.SYNOPSIS
.DESCRIPTION
.EXAMPLE
"comp1","comp2","comp3" | ? { Test-Connection $_ -Count 1 -ea SilentlyContinue } | Get-SystemInfo
#>
[CmdletBinding( SupportsShouldProcess = $true )]
param (
[Parameter(ValueFromPipelineByPropertyName=$True,
ValueFromPipeline=$True)]
[string[]]$ComputerName = $env:COMPUTERNAME
)
begin {
if ($PSBoundParameters.Verbose) {$VerbosePreference = "Continue"}
function PIDDecoderFromRegistry($digitalProductId) {
New-Variable -Name base24 -Value 'BCDFGHJKMPQRTVWXY2346789' -Option Constant ## <24> символа …