Skip to content

Merging latest updates into Live #1863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Nov 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2a3ccf3
Update the example of `Where-Object -IsNot` (#1841)
matt9ucci Nov 7, 2017
f778a37
Update Example 5 in Group-Object.md (#1845)
matt9ucci Nov 8, 2017
1357977
removing @{Text=} tags
Nov 7, 2017
efba651
fixing UTF8 characters
Nov 7, 2017
b93a6ba
removed empty H3
Nov 7, 2017
ec505bf
added H3 for input and output types
Nov 7, 2017
c2abb44
removed mangled UTF8 character
Nov 8, 2017
bbffd77
updating Out-* commands with -NoNewLine per Issue 1739
Nov 9, 2017
2bdb9e6
Fix the example of `Format-Table -DisplayError` (#1848)
matt9ucci Nov 9, 2017
61cb77d
Fix the example of `Format-Wide -DisplayError` (#1850)
matt9ucci Nov 10, 2017
882b0e8
Fix the example of `Format-Custom -DisplayError` (#1849)
matt9ucci Nov 10, 2017
67db02a
updating set-acl docs per PR#901
Nov 7, 2017
9799c2b
using semantic link breaks
Nov 10, 2017
a5f21c5
Fix the example of `Format-Wide -ShowError` (#1851)
matt9ucci Nov 13, 2017
9467262
Fixed Test-ScriptFileInfo example (#1852)
alan-null Nov 13, 2017
b5d12a3
fixing issue 1768
Nov 7, 2017
b04197f
Formatting, example fix for Body parameter (#1847)
ebrucucen Nov 13, 2017
b6b156a
fixing style consistency across articles
Nov 13, 2017
e03a354
fixing conflicts
Nov 13, 2017
07b21b0
Fix example numbers in Resume-Job.md (#1857)
matt9ucci Nov 14, 2017
348ed70
Fixes typo $WebSiteName in separatingEnvData.md (#1856)
DexterPOSH Nov 14, 2017
b04a75a
Updates configurations.md (#1855)
DexterPOSH Nov 14, 2017
484d598
Fix typo in comment (#1854)
ciriarte Nov 14, 2017
e46d3a1
Merge pull request #1846 from sdwheeler/sdw-issue1739
zjalexander Nov 14, 2017
f42a62f
Updating the help content for v6. (#1853)
adityapatwardhan Nov 15, 2017
eade8e4
Fix example numbers in about_Transactions.md (#1859)
matt9ucci Nov 15, 2017
518fde2
Update Alias-Provider.md (#1831)
doctordns Nov 15, 2017
248e283
Add documentation of new -AsHashtable switch for ConvertFrom-Json int…
bergmeister Nov 15, 2017
bcedaf0
Fix example numbers in Invoke-WebRequest.md (#1862)
matt9ucci Nov 16, 2017
8e4ac81
Merge branch 'live' into staging
Nov 16, 2017
1f54577
reformatting and integrating changes from PR#1831 (#1860)
Nov 16, 2017
aeeb091
Fix example numbers in Get-Help.md (#1869)
matt9ucci Nov 17, 2017
83b1241
Fix example numbers in Import-Module.md (#1868)
matt9ucci Nov 17, 2017
99be9ad
Fix example number in ConvertTo-Html.html (#1867)
matt9ucci Nov 17, 2017
919d940
Update dscCiCd.md (#1865)
tomlarse Nov 17, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dsc/authoringResourceComposite.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Configuration xVirtualMachine
DependsOn = "[File]ParentVHDFile"
}

# Creae VM specific diff VHD
# Create VM specific diff VHD
foreach ($Name in $VMName)
{
xVHD "VHD$Name"
Expand Down
5 changes: 1 addition & 4 deletions dsc/configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Configuration MyDscConfiguration {
}
}

MyDscConfiguration
```

Save the script as a .ps1 file.
Expand Down Expand Up @@ -62,7 +61,6 @@ Configuration MyDscConfiguration {
}
}

MyDscConfiguration
```

In this example, you specify the name of the node by passing it as the **ComputerName** parameter when you compile the configuraton. The name defaults to "localhost".
Expand Down Expand Up @@ -99,7 +97,7 @@ MyDscConfiguration
Directory: C:\users\default\Documents\DSC Configurations\MyDscConfiguration
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 10/23/2015 4:32 PM 2842 TEST-PC1.mof
-a---- 10/23/2015 4:32 PM 2842 localhost.mof
```

If the configuration takes a parameter, as in the second example, that has to be provided at compile time. Here's how that would look:
Expand Down Expand Up @@ -140,7 +138,6 @@ Configuration DependsOnExample {
}
}

DependsOnExample
```

## Using new resources in Your configuration
Expand Down
2 changes: 1 addition & 1 deletion dsc/dscCiCd.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ and stores the results in the `InfraDNS/Tests/Results/*.xml` folder.
**\Integration\**
```

1. Set **TargetFolder** to `$(BuildArtifactStagingDirectory)\`
1. Set **TargetFolder** to `$(Build.ArtifactStagingDirectory)\`

This step copies the build and test scripts to the staging directory so that the can be published as build artifacts by the next step.

Expand Down
3 changes: 2 additions & 1 deletion dsc/separatingEnvData.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ We'll define the development and production environment data in a file namd `Dev
SQLServerName = "MySQLServer"
SqlSource = "C:\Software\Sql"
DotNetSrc = "C:\Software\sxs"
WebSiteName = "New website"
},

@{
Expand Down Expand Up @@ -218,7 +219,7 @@ Configuration MyWebApp
{

Ensure = 'Present'
Name = $WebSiteName
Name = $Node.WebSiteName
State = 'Started'
PhysicalPath = $Node.SitePath
DependsOn = '[File]WebContent'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ $t.tostring()

Windows PowerShell

# EXAMPLE 7: MANAGING MULTI-SUBSCRIBER TRANSACTIONS
# EXAMPLE 8: MANAGING MULTI-SUBSCRIBER TRANSACTIONS


When you start a transaction while another transaction is in
Expand Down Expand Up @@ -663,7 +663,7 @@ RollbackPreference SubscriberCount Status
------------------ --------------- ------
Error 0 Committed

# EXAMPLE 8: MANAGING INDEPENDENT TRANSACTIONS
# EXAMPLE 9: MANAGING INDEPENDENT TRANSACTIONS


When you start a transaction while another transaction is in
Expand Down
6 changes: 3 additions & 3 deletions reference/3.0/Microsoft.PowerShell.Core/Get-Help.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,15 @@ PS C:\> Get-Help Get-Member -Online
```

This command displays the online version of the help topic for the Get-Member cmdlet.
### Example 14
### Example 12
```
PS C:\> Get-Help remoting
```

This command displays a list of topics that include the word "remoting."

When you enter a word that does not appear in any topic title, **Get-Help** displays a list of topics that include that word.
### Example 15
### Example 13
```
The first command uses the **Path** parameter of **Get-Help** to specify the provider path. This command can be entered at any path location.
PS C:\> Get-Help Get-Item -Path SQLSERVER:\DataCollection
Expand Down Expand Up @@ -282,7 +282,7 @@ The example shows two ways of getting the provider-specific help for **Get-Item*

You can also get provider-specific help for cmdlets online in the section that describes the provider.
For example, for provider-specific online help for the New-Item cmdlet in each WSMan provider path, see http://go.microsoft.com/fwlink/?LinkID=158676http://go.microsoft.com/fwlink/?LinkID=158676.
### Example 16
### Example 14
```
PS C:\> Get-Help C:\PS-Test\MyScript.ps1
```
Expand Down
4 changes: 2 additions & 2 deletions reference/3.0/Microsoft.PowerShell.Core/Import-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ This command imports the PSWorkflow module.
It uses the **MinimumVersion** (alias=Version) parameter of **Import-Module** to import only version 3.0.0.0 or greater of the module.

You can also use the **RequiredVersion** parameter to import a particular version of a module, or use the **Module** and **Version** parameters of the **#Requires** keyword to require a particular version of a module in a script.
### Example 10
### Example 11
```
The first command uses the New-PSSession cmdlet to create a remote session (PSSession) to the Server01 computer. The command saves the PSSession in the $s variable
PS C:\> $s = New-PSSession -ComputerName Server01
Expand Down Expand Up @@ -365,7 +365,7 @@ This command uses the Implicit Remoting feature of Windows PowerShell.

When you import modules from another session, you can use the cmdlets in the current session.
However, commands that use the cmdlets actually run in the remote session.
### Example 11
### Example 12
```
The first command uses the **New-CimSession** cmdlet to create a session on the RSDGF03 remote computer. The session connects to WMI on the remote computer. The command saves the CIM session in the $cs variable.
PS C:\> $cs = New-CimSession -ComputerName RSDGF03
Expand Down
Loading