Databases Reference
In-Depth Information
an immediate restart. This cmdlet does not require Windows PowerShell remoting unless you use the
AsJob parameter.
Restart-Service cmdlet: Sends a stop message and then a start message to the Windows Service Con-
troller for a specified service. If a service was already stopped, then it is started without notifying you
of an error. You can specify the services by their service names or display names, or you can use the
InputObject parameter to pass an object that represents each service you want to restart.
Restore-Computer cmdlet: Restores the local computer to the specified system restore point. A
Restore-Computer command restarts the computer. The restore is completed during the restart operation.
Resume-Service cmdlet: Sends a resume message to the Windows Service Controller for each of the
specified services. If they have been suspended, then they resume service. If they are currently running,
then the message is ignored. You can specify the services by service name or display name, or you can
use the InputObject parameter to pass a service object that represents the services you want to resume.
Set-Content cmdlet: A string-processing cmdlet that writes or replaces the content in the specified
item, such as a file. Whereas the Add-Content cmdlet appends content to a file, Set-Content replaces
the existing content. You can type the content in the command or send content through the pipeline to
Set-Content .
Set-Item cmdlet: Changes the value of an item, such as a variable or registry key, to the value specified
in the command.
Set-ItemProperty cmdlet: Changes the value of the property of the specified item. You can use the
cmdlet to establish or change the properties of items. For example, you can use Set-ItemProperty to set
the value of the IsReadOnly property of a file object to true. You also use Set-ItemProperty to create and
change registry values and data. For example, you can add a new registry entry to a key and establish or
change its value.
Set-Location cmdlet: Sets the working location to a specified location. That location could be a directory,
a subdirectory, a registry location, or another location stack.
Set-Service cmdlet: Changes the properties of a local or remote service, including status, description,
display name, and start mode. You can use this cmdlet to start, stop, or suspend (pause) a service. To
identify the service, enter its service name or submit a service object, or pipe a service name or service
object to Set-Service .
Show-EventLog cmdlet: Opens Event Viewer on the local computer and displays in it all of the classic
Event logs on the local computer or a remote computer. To open Event Viewer on Windows Vista and
later versions of Windows, the current user must be a member of the Administrators group on the local
computer. The EventLog cmdlets work only on classic Event logs. To get events from logs that use the
Windows Eventing technology in Windows Vista and later versions of Windows, use Get-Event .
Split-Path cmdlet: Returns only the specified part of a path, such as the parent directory, a child direc-
tory, or a file name. It also can display the items that are referenced by the split path and indicate whether
the path is relative or absolute. You can use this cmdlet to display or submit only a selected part of a path.
Start-Process cmdlet: Starts one or more processes on the local computer. To specify the program
that runs in the process, enter an executable file or script file, or a file that can be opened by using a
Search WWH ::




Custom Search