You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
162 lines
6.5 KiB
162 lines
6.5 KiB
<script language="jscript">
|
|
var oDoc = external.Document;
|
|
var oSnapins = oDoc.Snapins;
|
|
var oScopeNamespace = oDoc.ScopeNamespace;
|
|
var oView = oDoc.Views.Item(1);
|
|
var oConsoleRoot = oScopeNamespace.GetRoot();
|
|
var L_NotInConsole_ErrorMessage = "This snap-in is designed for the Server Management console and might not function properly in another console. To open Server Management, click Start, point to Administrative Tools, and then click Server Management.";
|
|
var L_UserNode_Text = "Users";
|
|
var L_PrinterNode_Text = "Printers";
|
|
var L_ShareNode_Text = "Shares (Local)";
|
|
var L_BackupNode_Text = "Backup";
|
|
|
|
function managerSnapin(nodeName)
|
|
{
|
|
var oFirstNode = oScopeNamespace.GetChild(oConsoleRoot);
|
|
|
|
// Looking for the Home Page Snap-in
|
|
while( oFirstNode != null )
|
|
{
|
|
// Is this the Home-page snapin?
|
|
if( oFirstNode.Nodetype == "{316A1EEA-C249-44E0-958B-00D2AB989D2F}" )
|
|
{
|
|
var oSecondNode;
|
|
try
|
|
{
|
|
oScopeNamespace.expand(oFirstNode);
|
|
oSecondNode = oScopeNamespace.GetChild(oFirstNode);
|
|
}
|
|
catch(e)
|
|
{
|
|
break;
|
|
}
|
|
|
|
while( oSecondNode != null )
|
|
{
|
|
if( oSecondNode.Name == nodeName )
|
|
{
|
|
oView.ActiveScopeNode = oSecondNode;
|
|
return;
|
|
}
|
|
|
|
try
|
|
{
|
|
oSecondNode = oScopeNamespace.GetNext(oSecondNode);
|
|
}
|
|
catch (e)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
try
|
|
{
|
|
oFirstNode = oScopeNamespace.GetNext(oFirstNode);
|
|
}
|
|
catch (e)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
|
|
alert(L_NotInConsole_ErrorMessage);
|
|
}
|
|
</script>
|
|
|
|
<html>
|
|
<head>
|
|
<title>Microsoft Servers - Server Management - Microsoft Servers</title>
|
|
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" text="#000000" bgcolor="#FFFFFF" link="#0066CC" vlink="#666666">
|
|
<a name="TOP"></a>
|
|
<basefont id="BASEFONT_FONT" face="Arial,Helvetica,Sans Serif" size="3">
|
|
<!-- end StandardHead.inc -->
|
|
<!-- begin Masthead -->
|
|
<!-- Start: ToolBar V2.0-->
|
|
<script language="JavaScript" src="/library/toolbar/toolbar.js" type="text/javascript"></script>
|
|
<script language="JavaScript" src="/library/toolbar/en-us/global.js" type="text/javascript"></script>
|
|
<!-- Start: ToolBar For old browsers-->
|
|
<span id="TBDownLevelDiv">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
|
|
<tr>
|
|
<td align="left" border="1" background="images/bg.gif">
|
|
<img src="images/nt_brand.gif"></td>
|
|
</tr>
|
|
</table>
|
|
</span>
|
|
<!-- End: ToolBar For old browsers-->
|
|
<script language="JavaScript" type="text/javascript">
|
|
<!--// Hide from old browsers
|
|
|
|
var ToolBar_Supported = ToolBar_Supported;
|
|
if( ToolBar_Supported != null && ToolBar_Supported == true )
|
|
{
|
|
TBDownLevelDiv.style.display ='none';
|
|
drawToolbar();
|
|
var fBrowserOK = true;
|
|
}
|
|
|
|
//-->
|
|
</script>
|
|
<!-- End: ToolBar V2.0-->
|
|
<!-- end MastHead -->
|
|
<!-- begin Body Table -->
|
|
<style type="text/css">
|
|
<!--
|
|
.HIGHTABLE {BORDER:1px SOLID;}
|
|
.RELTABLE {BORDER:1px SOLID;}
|
|
-->
|
|
</style>
|
|
<p> </p>
|
|
<div align="left">
|
|
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="78%" id="AutoNumber1" align="left">
|
|
<tr>
|
|
<!-- Users Task -->
|
|
<td width="13%" valign="top">
|
|
<blockquote>
|
|
<a href="javascript:managerSnapin(L_UserNode_Text)"><img border="0" src="images/cysuser.gif"></a>
|
|
</blockquote></td>
|
|
|
|
<td width="30%" valign="top" id="user_task">
|
|
<font size="2"><b><a href="javascript:managerSnapin(L_UserNode_Text)">Users</a></b></font>
|
|
<br>
|
|
<font size="1">Add and manage user accounts.</font></td>
|
|
|
|
<!-- Printers Task -->
|
|
<td width="13%" valign="top">
|
|
<blockquote>
|
|
<a href="javascript:managerSnapin(L_PrinterNode_Text)"><img border="0" src="images/cysprint.gif"></a>
|
|
</blockquote></td>
|
|
|
|
<td width="30%" valign="top" id="Printers_task">
|
|
<font size="2"><b><a href="javascript:managerSnapin(L_PrinterNode_Text)">Printers</a></b></font>
|
|
<br>
|
|
<font size="1">Add and manage printers.</font></td>
|
|
|
|
<tr>
|
|
<!-- Folders Task -->
|
|
<td width="23%" valign="top">
|
|
<blockquote>
|
|
<a href="javascript:managerSnapin(L_ShareNode_Text)"><img border="0" src="images/folder.gif"></a>
|
|
</blockquote></td>
|
|
|
|
<td width="30%" valign="top" id="Folders_task">
|
|
<font size="2"><b><a href="javascript:managerSnapin(L_ShareNode_Text)">Shared Folders</a></b></font>
|
|
<br>
|
|
<font size="1">Add and manage shared folders.</font></td>
|
|
|
|
<!-- Backup Task -->
|
|
<td width="23%" valign="top">
|
|
<blockquote>
|
|
<a href="javascript:managerSnapin(L_BackupNode_Text)"><img border="0" src="images/backup.gif"></a>
|
|
</blockquote></td>
|
|
|
|
<td width="30%" valign="top" id="Backup_task">
|
|
<font size="2"><b><a href="javascript:managerSnapin(L_BackupNode_Text)">Backup</a></b></font><br>
|
|
<font size="1">Backup and restore critical files of your system.</font></td>
|
|
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|