dism /online /Enable-Feature /FeatureName:TelnetClient
Categories
- Education (6)
- Fix IT (30)
- Information Technology (53)
- Tips (7)
- Uncategorized (7)
Tags
dism /online /Enable-Feature /FeatureName:TelnetClient
This Powershell script ist playing with an “athook” object based on an array having different named properties .
$Array = @() Foreach ($vol In GET-WMIOBJECT win32_logicaldisk) { $obj = New-Object PSObject $Value = $vol.DeviceID $obj | Add-Member -MemberType NoteProperty -Name "Drive" -value $Value $Value = $vol.Volumename $obj | Add-Member -MemberType NoteProperty -Name "Name" -value $Value $value = [math]::round(( $vol.Size/ 1073741824),0) $obj | Add-Member -MemberType NoteProperty -Name "SizeGB" -value $Value $value = [math]::round(( $vol.FreeSpace/ 1073741824),0) $obj | Add-Member -MemberType NoteProperty -Name "FreeGB" -value $Value $array += $obj } $array | out-gridview |
Security Watch The Most Misunderstood Windows Security Setting of All Time
https://technet.microsoft.com/en-us/library/2006.08.securitywatch.asp