Computer Technos

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 8 November 2009

Windows 7 Built-in Applications - Windows PowerShell

Posted on 14:27 by Unknown
In Windows 7, the Windows PowerShell application is included by default. The Windows PowerShell is an extensible command-line shell application that executes applications written in its associated scripting languages, allowing IT administrators to easily automate and administer their IT infrastructure. Think of Windows PowerShell as the command prompt (with which most Windows users are familiar) on steroids—a very powerful one indeed. Windows PowerShell is available as a separate download for Windows XP and Vista users.

To launch Windows PowerShell, type “Windows PowerShell” in the Start menu text box.

Using the Windows PowerShell, you can issue commands that you normally use with your command prompt window, such as dir:

Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Users\Wei-Meng Lee> dir

Directory: C:\Users\Wei-Meng Lee
Mode LastWriteTime Length Name
---- ------------- ------ ----
d-r-- 5/2/2009 2:49 PM Contacts
d-r-- 6/22/2009 6:48 AM Desktop
d-r-- 6/20/2009 2:28 PM Documents
d-r-- 6/19/2009 12:02 PM Downloads
d-r-- 5/20/2009 9:06 AM Favorites
d-r-- 5/2/2009 2:49 PM Links
d-r-- 5/2/2009 2:49 PM Music
d-r-- 6/14/2009 10:07 PM Pictures
d-r-- 5/2/2009 3:42 PM Saved Games
d-r-- 6/9/2009 2:33 PM Searches
d---- 6/28/2009 9:49 AM Tracing
d-r-- 5/2/2009 2:49 PM Videos
d-r-- 6/20/2009 1:51 PM Virtual Machines

PS C:\Users\Wei-Meng Lee>


When you issue the dir command, PowerShell actually translates it into the name of a cmdlet (Windows 7 has more than 100 cmdlets), which is a programming script. The dir command is an alias of the Get-ChildItem cmdlet.

The following example shows how you can take the directory listing of the Windows directory and then pipe it into another cmdlet named format-list, which displays in detail the information of each directory and file:

PS C:\Windows> dir | format-list

Directory: C:\Windows
Name : addins
CreationTime : 4/22/2009 4:55:52 PM
LastWriteTime : 4/22/2009 4:55:52 PM
LastAccessTime : 4/22/2009 4:55:52 PM
Name : AppCompat
CreationTime : 4/22/2009 2:17:25 PM
LastWriteTime : 5/16/2009 6:47:19 AM
LastAccessTime : 5/16/2009 6:47:19 AM
Name : AppPatch
CreationTime : 4/22/2009 2:17:25 PM
LastWriteTime : 4/22/2009 5:01:13 PM
LastAccessTime : 4/22/2009 5:01:13 PM
Name : assembly
CreationTime : 4/22/2009 2:17:25 PM
LastWriteTime : 5/28/2009 3:25:15 AM
LastAccessTime : 5/28/2009 3:25:15 AM
Name : Boot
CreationTime : 4/22/2009 2:17:26 PM
LastWriteTime : 4/22/2009 4:55:52 PM
LastAccessTime : 4/22/2009 4:55:52 PM
Name : Branding
CreationTime : 4/22/2009 2:17:26 PM
LastWriteTime : 4/22/2009 4:55:52 PM
LastAccessTime : 4/22/2009 4:55:52 PM
...
...
Name : write.exe
Length : 9216
CreationTime : 4/22/2009 11:39:18 AM
LastWriteTime : 4/22/2009 1:19:45 PM
LastAccessTime : 4/22/2009 11:39:18 AM
VersionInfo : File: C:\Windows\write.exe
InternalName: write

OriginalFilename: write
FileVersion: 6.1.7100.0 (winmain_win7rc.090421-1700)
FileDescription: Windows Write
Product: Microsoftr Windowsr Operating System
ProductVersion: 6.1.7100.0
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language: English (United States)
Name : _default.pif
Length : 707
CreationTime : 4/22/2009 9:29:14 AM
LastWriteTime : 3/20/2009 11:42:51 PM
LastAccessTime : 4/22/2009 9:29:14 AM
VersionInfo : File: C:\Windows\_default.pif
InternalName:
OriginalFilename:
FileVersion:
FileDescription:
Product:
ProductVersion:
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language:


Source of Information : Oreilly Windows 7 Up and Running
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Windows 7 | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Windows 7 Shortcut Keys
    Longtime users of Windows have probably grown accustomed to navigating around the Windows user interface using the keyboard. This especially...
  • Windows on Mac: Virtualization Solutions
    If you’d prefer to join the ever-increasing ranks of Mac switchers—you traitor, you—you can still run Windows and, more important, Windows a...
  • Customizing Library Folders in Windows 7
    In your library folders, you can customize view options based on the contents. In the toolbar of the Pictures and Music library folders, Win...
  • Windows 7 BitLocker Drive Encryption
    In Windows Vista, you had the BitLocker Drive Encryption feature that allowed you to encrypt the content of entire volumes. In Windows 7, Mi...
  • Using Windows 7’s Performance Options
    While all the performance tools are available individually throughout the system, Windows 7 introduces a nice list of available tools, if yo...
  • Windows 7 - Installing and Configuring a Printer
    If your printer is already installed and operational at this point, you can skip this section and skim ahead for others that may be of inter...
  • Considering Centralized versus Group Sharing
    One of the most important preparation steps for your server is determining how to store the data you create. The two common methods are cent...
  • Berkeley Motes
    The Berkeley motes are a family of embedded sensor nodes sharing roughly the same architecture. Let us take the MICA mote as an example. The...
  • Using Windows 7 Ease of Access Tools
    If you have difficulty using a mouse or typing, have slightly impaired vision, or are deaf or hard of hearing, you can adjust the appearance...
  • Troubleshooting Boot and Startup Problems - Driver Loading in Safe Mode
    How does Windows know which device drivers and services are part of standard and networking-enabled safe mode? The answer lies in the HKLM\S...

Categories

  • Access 2010
  • BlackBerr
  • BlackBerry
  • Computer Science
  • Cyber Security
  • Exchange Server 2010
  • File Utilities
  • Foursquare
  • Google
  • Hardware
  • Internet
  • iPad
  • Linux
  • Lync Server
  • Microsoft Virtualization
  • Mobile Web
  • Networking
  • News
  • Security
  • Server Architectures
  • Smartphone
  • Ubuntu Linux
  • Windows
  • Windows 7
  • Windows Home Server
  • Windows Security
  • Windows Server 2008
  • Windows Server 2008 Hyper-V
  • Windows XP
  • Wireless

Blog Archive

  • ►  2012 (66)
    • ►  August (5)
    • ►  July (9)
    • ►  June (9)
    • ►  May (8)
    • ►  April (9)
    • ►  March (9)
    • ►  February (8)
    • ►  January (9)
  • ►  2011 (85)
    • ►  December (5)
    • ►  November (6)
    • ►  October (7)
    • ►  September (8)
    • ►  August (9)
    • ►  July (9)
    • ►  June (7)
    • ►  May (7)
    • ►  April (4)
    • ►  March (6)
    • ►  February (8)
    • ►  January (9)
  • ►  2010 (230)
    • ►  December (13)
    • ►  November (3)
    • ►  October (2)
    • ►  September (10)
    • ►  August (31)
    • ►  July (32)
    • ►  June (23)
    • ►  May (2)
    • ►  April (21)
    • ►  March (32)
    • ►  February (28)
    • ►  January (33)
  • ▼  2009 (119)
    • ►  December (33)
    • ▼  November (31)
      • Organizing and Finding Files in Windows 7
      • Adjusting to the Windows 7 Interface
      • Multibooting Windows 7
      • Upgrading Older Versions of Windows to Windows 7
      • Windows 7 Hardware Requirements
      • Windows 7 on the Corporate Network
      • Differences Among Windows 7 Versions
      • Windows 7 Entertainment
      • Windows 7 New, Improved Applications and Services
      • Windows 7 System Management and Stability
      • Windows 7 Networking
      • Windows 7 Power Management
      • Windows 7 New Accessories
      • Windows 7 Performance Improvements
      • Windows 7 Data Security Enhancements
      • Windows 7 Improved Web Browsing with IE 8
      • Windows 7 System Security Enhancements
      • Customizing Windows 7’s Desktop - power configuration
      • Getting a Better Understanding of Windows 7 Libraries
      • About Windows CardSpace
      • Stop Entering Password on Lockout
      • Customizing Windows 7’s Desktop - Navigating commo...
      • Customizing Windows 7’s Desktop - Navigating and c...
      • Windows 7 Built-in Applications - Windows PowerShell
      • Windows 7 Built-in Applications - Snipping Tool
      • Windows Live Essentials
      • Windows 7 Encrypting File System (NTFS Encryption)
      • Windows 7 BitLocker Drive Encryption
      • Windows 7 - The Credential Manager
      • Windows 7 User Account Control
      • Windows 7 File Sharing
    • ►  October (35)
    • ►  September (20)
Powered by Blogger.

About Me

Unknown
View my complete profile