Questions Related to technology
-
\$Keys = Get-ChildItem HKLM:\Software\Microsoft\Windows\CurrentVersion\Installed \$Items = \$keys |foreach-object {Get-ItemProperty \$_.PsPath}
-
\$Keys = Get-ChildItem HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall \$Items = \$keys |foreach-object {Get-ItemProperty \$_.PsPath}
-
\$Keys = Get-ChildItem HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall \$Items = \$keys |foreach-object {Get-ChildItem \$_.PsPath}
-
None of the above
-
\$strComputer = "Computer name" \$colRAM = Get-WmiObject -Class "win32_PhysicalMemory" -namespace "root\CIMV2"-computerName \$strComputer Foreach (\$objRAM In \$colRAM) { "Memory Installed: " + \$objRAM.DeviceLocator &quo
-
\$strComputer = "Computer name" \$colRAM = Get-WmiObject -Class "win32_PhysicalMemoryArray" -namespace "root\CIMV2"-computerName \$strComputer Foreach (\$objRAM In \$colRAM) { "Memory Installed: " + \$objRAM.DeviceLocator
-
\$strComputer = "Computer name" \$colRAM = Get-WmiObject -Class "win32_PhysicalMemorySize" -namespace "root\CIMV2"-computerName \$strComputer Foreach (\$objRAM In \$colRAM) { "Memory Installed: " + \$objRAM.DeviceLocator
-
None of the above
-
Get-WMIObject -List| Where{$_.name -match "^Win32_"} | Sort Name | Format-Table Name
-
Get-WMIObject -Table| Where{$_.name -match "^Win32_"} | Sort Class | Format-Table Name
-
Get-WMIObject -List| Where{$_.name -notlike "^Win32_"} | Sort Name | Format-Table Name
-
Get-WMIObject -List| Where{$_.name -like "^Win32_*"} | Sort Name | Format-Table Name
-
Get-Process | Where { $_.Name -Eq “ProcessName” } | Terminate
-
Get-Process | Where { $_.Name -neq “ProcessName” } | Kill
-
Get-Process | Where { $_.Name -like “ProcessName” } | Terminate
-
Get-Process | Where { $_.Name -Eq “ProcessName” } | Kill
-
get-wmiobject -Class "win32_Desktop" -namespace "root\CIMV2"-computername $computername | Format-List *
-
get-wmiobject -Class "win32_Enviornmanet" -namespace "root\CIMV2"-computername $computername | Format-List *
-
get-wmiobject -Class "win32_TimeZone" -namespace "root\CIMV2"-computername $computername | Format-List *
-
get-wmiobject -Class "win32_TimeZoneSetting" -namespace "root\CIMV2"-computername $computername | Format-List *
-
Something
-
1
-
Error
-
No output
-
Mandatory
-
Named
-
Generic
-
Positional
-
Measure-CommandLet
-
Measure-Command
-
Measure-Time
-
None of the above
-
Out-Null
-
Out-Default
-
Out-Host
-
Out-Buffer
-
$strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterConfiguration" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = TRUE" Write-Host "MAC Address: " $objItem.MacAddress Write-Ho
-
$strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterDetails" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = TRUE" Write-Host "MAC Address: " $objItem.MacAddress Write-Host &qu
-
$strComputer ="Compuet name" $colItems = GWMI -cl "Win32_NetworkAdapterConfiguration" -name "root\CimV2"-comp $strComputer -filter "IpEnabled = FALSE" Write-Host "MAC Address: " $objItem.MacAddress Write-H
-
$strComputer ="Compuet name" $colItems = GWMI -cl "Win32_ NetworkAdapterDetails " -name "root\CimV2"-comp $strComputer -filter "IpEnabled = FALSE" Write-Host "MAC Address: " $objItem.MacAddress Write-Host