3 Powershell Getting Started m3 Slides
3 Powershell Getting Started m3 Slides
Michael Bender
Itsallgeek2mike.com | @michaelbender
What We’ll Cover
Identify the
D
Issues
o
c
u
Verify
Troubleshooting
Find Root m
Results Cause
e
n
t
Determine
and
Implement
a Solution
Gathering Information with PowerShell
Computer
and Networking Registry
Hardware
Active
Files and
Directory
Printers
Objects
Gathering Info Process
Get-‐Command
Help
Get-‐Member
Gathering Operating System Information
WMI Repository
§ Windows Management
Instrumentation (WMI) CIMv2
- Get-WMIobject
§ Common Information Model (CIM) WIN32_Processor
- Get-CimInstance
Device ID Name
Gathering Operating System and
Hardware Information with PowerShell
Get-‐Counter
Get-‐WMIObject
Get-‐CIMInstance
Get-‐Eventlog
Gathering Networking Information
Ipconfig
Get-‐NetIPAddressConfiguration
Get-‐SMBMapping
New-‐SMBMapping
Gathering Registry Information with
PowerShell
Get-‐PSProvider
Get-‐Item
Get-‐ItemProperty
Set-‐ItemProperty
This is a registry key
property. Use Get-‐
ItemProperty to view
http://www.pluralsight.com/courses/windows-server-administration-fundamentals-part2
Wrap Up