June 21st, 2010

Specifying a View in TechNet and MSDN URIs

PowerShell Team
PowerShell Team

[This isn’t only a PowerShell topic, but I’ve been asked a few times, so I thought I post the answer here.]

If you’ve visited TechNet or MSDN lately, you’ll notice that there are new view options for the pages. TechNet has a new ScriptFree view, in addition to the familiar Classic view. MSDN has two new views, ScriptFree and Lightweight.

When you change your page view, your preference is saved and new pages that you open are shown in the saved view until you change your view again.

If you are linking to a page, you can specify a view in the link. This allows you to determine how users see the linked page. For example, the lightweight view might make MSDN reference pages easier for non-programmers to read. However, using a view-specific link changes the user’s view preference, so some users might not appreciate your efforts.

To specify a view in a URI link, add a view specifier in parentheses before the .aspx.

· To specify Classic view: (classic)
For example, http://technet.microsoft.com/en-us/library/dd347576(classic).aspx

· To specify ScriptFree view: (loband)
For example, http://technet.microsoft.com/en-us/library/dd347576(loband).aspx

· To specify Lightweight view (MSDN only): (lightweight)
For example, http://msdn.microsoft.com/en-us/library/system.io.fileinfo(lightweight).aspx

To change your page view:

· In Classic or ScriptFree view, in the upper right corner of the page, click the view name.

· In Lightweight view, in the upper right corner of the page, click Preferences, and then click the view name.

We haven’t yet found a way to specify a view in a redirectible link, such as http://go.microsoft.com/fwlink/?LinkID=113309, but if you find a method that works, please add it to the comments below and I’ll update the blog.

June Blender [MSFT]
Windows PowerShell Documentation

Category
PowerShell

Author

PowerShell Team
PowerShell Team

PowerShell is a task-based command-line shell and scripting language built on .NET. PowerShell helps system administrators and power-users rapidly automate tasks that manage operating systems (Linux, macOS, and Windows) and processes.

0 comments

Discussion are closed.