02 Flashcards
What are the commands used to identify if your on a VM?
ipconfig /all, system info, task list
What command identifies the MAC address of a VM?
ipconfig /all
How can you tell if a MAC address belongs to an VM?
First Octet has 00
What command lets you see the system manufacturer/system model info on a VM?
systeminfo
What command will let you see installed NICs ona VM?
systeminfo
What command will let you see all the processes on windows?
tasklist
Windows _________ is an object-oriented, interactive command environment with script language features
Powershell
The __________ cmdlet lets you see all of the parameters and arguments for a particular cmdlet
get-help
Required and optional parameters for a particular cmdlet may change depending on the version of PS T/F?
T
________ parameters are specified by name with the cmdlet
named
___________ lets PS assume the parameter name associated with an argument based on the position of the argument in syntax
positional notation
What are common parameters in PS and what do they represent
-name states the name of an object (exp username, cmdlet name, path name)
-computername state the name/IP on whiich to perform the action
-Path state the path of the directory
-examples use with get-help to show syntax examples
Parameters can be
__________
__________
_________
________
Required
Optional
Named
Positional notation
_________ define additional information associated with a parameter name
What are some common __________?
Arguments
-Path
-Name
__________ refers to the process of passing the results of one cmdlet as input into a second cmdlet
piping
The ____ cmdlet sends data in two directions simultaneously
What an example of it?
Tee-Object
Tee-Log.txt
When using the get-childitem in PS how would I filter only the name and time of creation of the files pulled?
select lets you search for specific parameters
select name, *time
_________ gives a complete list of aliased commands and their associated PS cmdlet
Get-Alias
________ are packages of PS commands, consisting of cmdlet, functions, variables, and aliases
modules
How do you view modules imported in a PS session?
Get-Module
__________ queries a computer system for information about the manufacturer and model PS cmdlet
get-wmiobject win32_computersystem
What is the new version of get-wmiobject?
get-ciminstance
__________ enables a user to gather data and change settings on one or more remote computers using certain PS cmdlets that have a ______________ parameter
PS remoting, -computername
What are some cmdlets that include the -computername parameter option?
Restart-computer
Test-connection
Clear-eventlog
Get-WMIObject
Get-HotFix
Get-Service
Get-WinEvent
What are the two uses of variables in scripting PS?
store information for later use in a script
store information that is a result of a script
________ is a way for the OS and its services and applications to record important actions, post status messages, and track security events.
logging