Fork me on GitHub

Other articles

  1. PowerShell основы

    Полезные ссылки

    read more
  2. PowerShell: получение данных о компьютерах

    Получение данных о компьютерах

    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> символа …
    read more

Page 1 / 1

social