CODE
$Strg=Read-Host “insert string”
$Strg.toupper()
CODE
Get-WmiObject -List | where{$_.name -like “win32_B*”}
CODE
Get-WmiObject win32_bootconfiguration | fl
PS C:\newpowershell> Get-WmiObject -Class win32_share
Name Path Description
—- —- ———–
E$ E:\ Default share
IPC$ Remote IPC
G$ G:\ Default share
F$ F:\ Default share
ADMIN$ C:\WINDOWS Remote Admin
C$ C:\ Default share