Skip to main content

How to launch Windows PowerShell with administrative privileges

If you want to work with the Windows PowerShell, you’ll open a console Window by clicking Start, All Program, Accessories and then Windows PowerShell. If you follow these steps, the Windows PowerShell will be opened with the standard user privileges rather than the Administrator privileges. Therefore, you can’t perform all of the Administrative tasks. If you want to open the Windows PowerShell with Administrative privileges, it is required to click on the Start, point to All Programs, point to Accessories, point to Windows PowerShell, right-click Windows PowerShell, and select “Run As Administrator”.
At the same time, there are some other ways to open a Windows PowerShell console. One of them is from the Search Box in the Start Menu by typing “powershell”. Using these techniques, you can pass your arguments to Windows PowerShell comprising switches that control how Windows PowerShell works and parameters that execute additional commands. For an example, using the startup command powershell -nologo feature, you can begin the Windows PowerShell in no-logo mode. If you start the Windows PowerShell via the Command Shell, the Windows PowerShell will run and then exist. At the same time, if you want Windows PowerShell to execute a command and not to terminate, just type powershell /noexit followed by the command text.

Here we’ve given the list of available startup parameters.

•    Command – is used to specify the command text to execute as though it was typed at the PowerShell command prompt.
•    EncodedCommand – is used to specify the base64-encoded command text to execute.
•    ExecutionPolicy – is able to set the default execution policy for the console session.
•    File – is able to set the name of a script file to execute.
•    InputFormat – is able to set the format for data sent to PowerShell as either text string or serialized XML. The default format is XML. Valid values are text and XML.
•    NoExit – will not exit after running startup commands. This parameter is useful when you run PowerShell commands or scripts via the command prompt (cmd.exe).
•    NoLogo - begins the PowerShell console without displaying the copyright banner.
•    Noninteractive - begins the PowerShell console in non-interactive mode. In this mode, PowerShell does not present an interactive prompt to the user.
•    NoProfile – let us know the PowerShell console not to load the current user’s profile.
•    OutputFormat – is able to set the format for output as either text string or serialized XML. The default format is text. Valid values are text and XML.
•    PSConsoleFile – is able to load the specified Windows PowerShell console file. Console files end with the .psc1 extension and can be used to ensure that specific snap-in extensions are loaded and available. You can create a console file using Export-Console in Windows PowerShell.
•    Sta - begins PowerShell in single-threaded mode.
•    Version – is able to set the version of Windows PowerShell to use for compatibility, such as 1.0.
•    WindowStyle - is able to set the window style as Normal, Minimized, Maximized, or Hidden. The default is Normal.

By

Popular posts from this blog

New Micro battery, power packed for high performance

For a size of a few millimetres, the new micro-batteries are powerful enough to jump start a car battery and then quickly charge the cell phone. Researchers from the University of Illinois have developed the micro batteries which can be used to drive compact electronic devices and new applications for radio communications. The micro batteries are so good that they can even out power the super capacitors. The results were published in ‘Nature Communications’ in the April 16 issue. The micro batteries have energy and power and with the researchers tweaking the structure of the micro batteries a little bit, its use can be for wide range applications.

The high performance of the micro battery is based on its 3-dimensional micro-structure. Based on the design of fast charging cathode by Professor Paul Braun’s group, researchers developed the matching anode and integrated it with the fast charging cathode at a micro-scale and made a complete battery with high performance. These batteries cou…

HTC Touch Diamond SmartPhone!

The phones design is an innovative in which the user has the geometric form language to make sure a clutter-free environment for screening content. The San Francisco based studio One & Co collaborated with HTC Taiwan Design team to create Diamond HTC smartphone.







The HTC phone is quite wonderful with design and the rapid development in the smartphone market the HTC has taken innovative steps to capture the SmartPhone market HTC develops these kind of new inventive designs.
Inspired

How to Automatically Convert any RSS Feed to an iPhone Web app!

For iPhone users this is another web app which converts any well formed XML RSS feed to an iPhone version. It is possible because it is worked with the typical sliding style interface to suit the iPhone optimized version. For instance if you had the iPhone right now here is the Google News Feed




Jim Liddle, one of the creators of the service, told iPhone Atlas “You can book mark the generated site and use it to host your own content and reference it from your own. It seems that these feed on your iPhone is quiet usable.