programming4us
programming4us
DESKTOP

Windows 7 : Configuring Remote Management

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
7/28/2011 3:21:49 PM
There are a few ways that you can help Windows 7 users remotely. A couple of ways, Remote Assistance and Remote Desktop. But there are some other tools that you can use to help manage Windows 7—such as Windows Remote Management and Windows PowerShell.

1. Windows Remote Management

The Windows Remote Management (WinRM) utility is Microsoft's version of the WS-Management Protocol. The WS-Management Protocol is an industry standard protocol that allows different vendor operating systems and hardware to work together. There are three main ways to access the WinRM utility:

  • WinRM command-line toot

  • WinRM scripting objects

  • Windows Remote Shell command-line tool

The WinRM utility allows you to remotely execute commands and obtain management data from local and remote computers. You can use the WinRM utility on both Windows-based operating systems and non-Windows-based operating systems.

Table 1 shows the different command-line WinRM commands and descriptions of what each command will accomplish.

Table 1. WinRM Commands and Descriptions
CommandDescription
WinRM g or WinRM getRetrieves management information
WinRM s or WinRM setModifies management information
WinRM c or WinRM createCreates a new instance on the managed resources
WinRM d or WinRM deleteRemoves an instance from a managed resource
WinRM e or WinRM enumerateLists all instances of a managed resource
WinRM i or WinRM invokeExecutes a method on a managed resource
WinRM I d or WinRM identityDetermines whether a WS-Management implementation is running on a remote machine
WinRM quickconfigConfigures a machine to accept WS-Management commands from a remote machine
WinRM configSDDLModifies an existing security descriptor for a Uniform Resource Identifier (URI)
WinRM he1pmsgDisplays error messages for an error code

Now that you have looked at WinRM, let's take a look at how to remotely manage a Windows 7 machine by using the Windows PowerShell utility.

2. Windows PowerShell

Windows PowerSbeil is a command-line scripting utility that allows you to remotely execute commands on a Windows 7 machine. Windows PowerShell is a command line utility that was specifically designed for system administrators to allow for remote administration.

One of the advantages of Windows PowerShell is that Windows PowerShell introduced the concept of a cmdlet. A cmdlet is a command that is built into Windows PowerShell. There are over 100 built-in cmdlets, and you can build your own cmdlets and allow others to use these homemade cmdlets.

Another advantage of Windows PowerShell is that Windows PowerShell allows you to gain access to a file system on a computer. Windows PowerShell also allows you to access the Registry, digital certificate stores, and other data stores.

Table 2 defines a few of the cmdlets in Windows PowerShell.

Table 2. Windows PowerShell cmdlets
cmdletDefinition
Clear-Hi storyDeletes entries from the command history
Invoke-commandRuns commands on local or remote computers
Start-jobStarts a Windows PowerShell background job
Stop-jobStops a Windows PowerShell background job
Remove-jobDeletes a Windows PowerShell background job
Import-ModuleAdds modules to the current session
Receive-jobGets the results of a Windows PowerShell background job
Format-tableShows the results in a table format
Out-fileSends the job results to a file
Get-DateGets the date and time
Set -DateSets the system time and date on a computer
Get-eventGets an event in the event queue
New-eventCreates a new event
Trace -commandConfigures and starts a trace of a command on a machine

Complete Exercise 1 to start the Windows PowerShell utility.

Exercise 1: Starting the Windows PowerShell

  1. Start the Windows PowerShell utility by clicking Start => All Programs => - Accessories => Windows PowerShell 'r Windows PowerShell. The utility is just called Windows PowerShell 3nd it is under the Windows PowerShell folder.



  2. When the Windows PowerShell utility starts, type Help and press Enter. This will show you the Windows PowerShell syntax and some of the commands included with Windows PowerShell.

  3. At the Windows PowerSHell command prompt, type Get-Date This will show you the system's date and time.

  4. At the Windows command prompt, type Help *. This will show you all the cmdlet commands that you can use.

  5. Close the Windows PowerShell utility.


Using the WinRM and Windows PowerShell utilities gives you the ability to remotely configure and administer a Windows 7 machine. 
Other  
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
REVIEW
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us
programming4us
 
 
programming4us