Skip to content

Commit 822c6c7

Browse files
author
Jiajun Wang
authored
Merge pull request #147 from Microsoft/staging
3.18.9.0 Release
2 parents 0ab25e5 + 2059446 commit 822c6c7

File tree

458 files changed

+7460
-6470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

458 files changed

+7460
-6470
lines changed

AssemblyInfo/SharedAssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
using System.Reflection;
55

66
[assembly: AssemblyCompany("Microsoft")]
7-
[assembly: AssemblyVersion("3.18.6.0")]
7+
[assembly: AssemblyVersion("3.18.9.0")]

ProtoSDK/RDMA/resource.h renamed to AssemblyInfo/resource.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#define _BLDVER_H_
88
#define COMPANY_NAME "Microsoft"
9-
#define BUILD_VERSION "3.18.6.0"
10-
#define INET_VER 3,18,6,0
9+
#define BUILD_VERSION "3.18.9.0"
10+
#define INET_VER 3,18,9,0
1111

1212
#endif

CommonScripts/Add-DFSFolder.ps1

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
#############################################################################
2+
## Copyright (c) Microsoft. All rights reserved.
3+
## Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
##
5+
## Microsoft Windows Powershell Scripting
6+
## File: Add-DFSFolder.ps1
7+
## Purpose: Add a DFS folder.
8+
## Version: 1.1 (26 Jun, 2008)
9+
##
10+
##############################################################################
11+
12+
param(
13+
[Parameter(Mandatory=$true)]
14+
[string]$nsPath,
15+
[Parameter(Mandatory=$true)]
16+
[string]$folderPath
17+
)
18+
19+
#----------------------------------------------------------------------------
20+
# Print execution information
21+
#----------------------------------------------------------------------------
22+
Write-Host "EXECUTING [Add-DFSFolder.ps1] ..." -foregroundcolor cyan
23+
Write-Host "`$nsPath = $nsPath"
24+
Write-Host "`$folderPath = $folderPath"
25+
26+
#----------------------------------------------------------------------------
27+
# Function: Show-ScriptUsage
28+
# Usage : Describes the usage information and options
29+
#----------------------------------------------------------------------------
30+
function Show-ScriptUsage
31+
{
32+
Write-host
33+
Write-host "Usage: Add a DFS folder. "
34+
Write-host "Parm1: The NS path. (Required)"
35+
Write-host "Parm2: The folder path. (Required)"
36+
Write-host
37+
Write-host "Example: .\Add-DFSFolder.ps1 \\pt3test014\test\a \\pt3wtt004\test"
38+
Write-host
39+
}
40+
41+
#----------------------------------------------------------------------------
42+
# Show help if required
43+
#----------------------------------------------------------------------------
44+
if ($args[0] -match '-(\?|(h|(help)))')
45+
{
46+
Show-ScriptUsage
47+
return
48+
}
49+
50+
#----------------------------------------------------------------------------
51+
# Add DFS folder
52+
#----------------------------------------------------------------------------
53+
cmd.exe /c dfscmd /map $nsPath $folderPath /restore 2>&1 | Write-Host
54+
55+
#----------------------------------------------------------------------------
56+
# Print exit information
57+
#----------------------------------------------------------------------------
58+
Write-Host "Verifying [Add-DFSFolder.ps1] ..." -foregroundcolor Yellow
59+
Write-Host "EXECUTE [Add-DFSFolder.ps1] FINISHED (NOT VERIFIED)." -foregroundcolor Yellow

CommonScripts/Get-Parameter.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#############################################################################
2-
##Copyright (c) Microsoft Corporation. All rights reserved.
2+
## Copyright (c) Microsoft. All rights reserved.
33
## Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
##
55
## Microsoft Windows Powershell Scripting

0 commit comments

Comments
 (0)