Shared Points

items of some interest

Browse by Tags

Related Posts
  • Blog Post: Windows - what version of PS is on the machines?

    function GET-PSVERSIONINFO ([string[]] $TargetComputers) { $HKLM = [Microsoft.Win32.RegistryHive]::LocalMachine $PowerShellRegistry="SOFTWARE\Microsoft\PowerShell" $KeyItem = "\PowerShellEngine" $Version = "PowerShellVersion" $OldErrorActionPreference = $ErrorActionPreference $ErrorActionPreference...