diff --git a/.vscode/cspell/psdocs/dictionaries/psdocs.txt b/.vscode/cspell/psdocs/dictionaries/psdocs.txt
index 42ff0a813ed6..075b049c38c7 100644
--- a/.vscode/cspell/psdocs/dictionaries/psdocs.txt
+++ b/.vscode/cspell/psdocs/dictionaries/psdocs.txt
@@ -12,6 +12,7 @@ autogenerated
autogenerates
autoload
autoloaded
+autoloading
autoloads
autosave
autosaved
@@ -36,6 +37,7 @@ callstack
carmonm
ccontains
CentOS
+Certmgr
cheatsheet
cheatsheets
checkboxes
@@ -43,6 +45,7 @@ cimv2
clike
cmatch
cmdlet
+cmdletbinding
cmdlets
cnotcontains
cnotlike
@@ -57,10 +60,12 @@ coreclr
CoreOS
CredSSP
creplace
+cscript
customizations
DACL
datacenter
datacenters
+DCOM
Debian
deserialization
deserialize
@@ -94,6 +99,7 @@ frontmatter
glob
globbing
globs
+gpedit
GUID
hardlink
hashtable
@@ -147,6 +153,7 @@ notmatch
nslookup
NTFS
NTLM
+ntoskrnl
nuget
nupkg
onboarding
@@ -154,7 +161,9 @@ openpublishing
openSUSE
pageable
parameterless
+PassThru
PATHEXT
+pbpaste
pltfrm
POSIX
PowerShell
@@ -168,6 +177,7 @@ prerelease
prereleases
psadapted
psbase
+pscredential
pscustomobject
PSES
psextended
@@ -196,6 +206,7 @@ remoting
reparse
RHEL
RIPEMD160
+robocopy
runbook
runbooks
runspace
@@ -226,6 +237,7 @@ Snover
SPACEBAR
Sqlcmd
SQLPS
+SQLSERVER
stepover
struct
subcontainer
@@ -233,7 +245,6 @@ subcontainers
subexpression
subexpressions
subfolder
-subfolder
subfolders
subkey
subkeys
@@ -250,6 +261,7 @@ taskbar
timespan
Titlecase
TMPDIR
+Traceroute
triaged
Ubuntu
UMCI
@@ -272,6 +284,7 @@ unregistering
unregisters
untrusted
updateable
+UPDATECHECK
USERMODE
USERROLE
userspace
@@ -285,4 +298,6 @@ WinCompat
wmicimv2
workgroup
workgroups
+wscript
wwwroot
+xclip
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md
index 4957724d6c7b..89b6f13d14a0 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md
@@ -230,7 +230,7 @@ in the `bash` process, outside of the PowerShell host, the output isn't
affected by **OutputRendering**.
```bash
-pwsh -noprofile -command 'Get-Childitem' > out.txt
+pwsh -noprofile -command 'Get-ChildItem' > out.txt
```
When you inspect the contents of `out.txt` you see the ANSI escape sequences.
@@ -239,7 +239,7 @@ By contrast, when redirection occurs within the PowerShell session,
**OutputRendering** affects the redirected output.
```bash
-pwsh -noprofile -command 'Get-Childitem > out.txt'
+pwsh -noprofile -command 'Get-ChildItem > out.txt'
```
When you inspect the contents of `out.txt` there are no ANSI escape sequences.
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md
index f24422ddebec..66405c4c2e61 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md
@@ -227,7 +227,7 @@ following example, the negative value can't be cast to an unsigned integer, and
the unsigned integer is too large to be cast to `Int32`:
```powershell
-([int32]::minvalue + [uint32]::maxvalue).gettype().fullname
+([int32]::minvalue + [uint32]::maxvalue).GetType().FullName
```
```output
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Comment_Based_Help.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Comment_Based_Help.md
index 15274405dc6c..dc02ac212b81 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Comment_Based_Help.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Comment_Based_Help.md
@@ -675,11 +675,11 @@ PS> .\Update-Month.ps1
.EXAMPLE
-PS> .\Update-Month.ps1 -inputpath C:\Data\January.csv
+PS> .\Update-Month.ps1 -InputPath C:\Data\January.csv
.EXAMPLE
-PS> .\Update-Month.ps1 -inputpath C:\Data\January.csv -outputPath `
+PS> .\Update-Month.ps1 -InputPath C:\Data\January.csv -outputPath `
C:\Reports\2009\January.csv
#>
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Data_Sections.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Data_Sections.md
index 4673e7cc6b50..f285108e5225 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Data_Sections.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Data_Sections.md
@@ -173,7 +173,7 @@ A single-quoted here-string that uses the `ConvertFrom-StringData` cmdlet:
```powershell
DATA {
- ConvertFrom-StringData -stringdata @'
+ ConvertFrom-StringData -StringData @'
Text001 = Windows 7
Text002 = Windows Server 2008 R2
'@
@@ -184,7 +184,7 @@ A double-quoted here-string that uses the `ConvertFrom-StringData` cmdlet:
```powershell
DATA {
- ConvertFrom-StringData -stringdata @"
+ ConvertFrom-StringData -StringData @"
Msg1 = To start, press any key.
Msg2 = To exit, type "quit".
"@
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Function_Provider.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Function_Provider.md
index 1b8f84a499e9..0ce0be66aa66 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Function_Provider.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Function_Provider.md
@@ -126,11 +126,11 @@ ${function:Clear-Host}
This command gets the `man` function from the `Function:` drive. It uses the
`Get-Item` cmdlet to get the function. The pipeline operator (`|`) sends the
result to `Format-Table`. The `-Wrap` parameter directs text that does not fit
-on the line onto the next line. The `-Autosize` parameter resizes the table
+on the line onto the next line. The `-AutoSize` parameter resizes the table
columns to accommodate the text.
```powershell
-Get-Item -Path man | Format-Table -Wrap -Autosize
+Get-Item -Path man | Format-Table -Wrap -AutoSize
```
### Working with Function provider paths
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md
index 310b2f6a1b77..9d7b8a40ed4d 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md
@@ -78,4 +78,4 @@ key. To scroll through a list of values, press the Tab key again.
- [about_Command_Syntax](about_Command_Syntax.md)
- [about_Path_Syntax](about_Path_Syntax.md)
-- [about_PSReadline](../../PSReadline/About/about_PSReadline.md)
+- [about_PSReadLine](../../PSReadline/About/about_PSReadline.md)
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Non-Windows.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Non-Windows.md
index ffb4687cab42..d9a5684334c9 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Non-Windows.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Non-Windows.md
@@ -46,7 +46,7 @@ PowerShell supports configuring two categories of logging:
```powershell
$psrl = Get-Module PSReadLine
$psrl.LogPipelineExecutionDetails = $true
- Get-Module PSReadline | Select-Object Name, LogPipelineExecutionDetails
+ Get-Module PSReadLine | Select-Object Name, LogPipelineExecutionDetails
```
```Output
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Windows.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Windows.md
index 54697eb11e47..5a67d5f67ead 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Windows.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Logging_Windows.md
@@ -38,7 +38,7 @@ PowerShell supports configuring two categories of logging:
```powershell
$psrl = Get-Module PSReadLine
$psrl.LogPipelineExecutionDetails = $true
- Get-Module PSReadline | Select-Object Name, LogPipelineExecutionDetails
+ Get-Module PSReadLine | Select-Object Name, LogPipelineExecutionDetails
```
```Output
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Operators.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Operators.md
index 57d5d2373090..8995fa382fb6 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Operators.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Operators.md
@@ -252,9 +252,9 @@ This example stores a command in a string and executes it using the call
operator.
```
-PS> $c = "get-executionpolicy"
+PS> $c = "Get-ExecutionPolicy"
PS> $c
-get-executionpolicy
+Get-ExecutionPolicy
PS> & $c
AllSigned
```
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md
index 9907fb1d0dfd..b1993dc37afa 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Parameter_Sets.md
@@ -126,9 +126,9 @@ function Measure-Lines {
}
foreach ($file in $Files) {
$result = [ordered]@{ }
- $result.Add('File', $file.fullname)
+ $result.Add('File', $file.FullName)
- $content = Get-Content -LiteralPath $file.fullname
+ $content = Get-Content -LiteralPath $file.FullName
if ($Lines) { $result.Add('Lines', $content.Length) }
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md
index 299db41b23af..35f1a1ac10b6 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Regular_Expressions.md
@@ -37,7 +37,7 @@ shown above has a different way to force case sensitivity.
- For `Select-String`, use the **CaseSensitive** parameter.
- For operators that use regular expressions, use the case-sensitive version:
`-cmatch`, `-creplace`, or `-csplit`
-- For the `switch` statement, use the `-casesensitive` option
+- For the `switch` statement, use the `-CaseSensitive` option
## Character literals
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Scripts.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Scripts.md
index 287a5ae61d97..05589362c3cc 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Scripts.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Scripts.md
@@ -152,8 +152,8 @@ running on the current system and saves them to a log file. The log filename is
created from the current date.
```powershell
-$date = (get-date).dayofyear
-get-service | out-file "$date.log"
+$date = (Get-Date).DayOfYear
+Get-Service | Out-File "$date.log"
```
To create this script, open a text editor or a script editor, type these
@@ -182,7 +182,7 @@ param ($ComputerName = $(throw "ComputerName parameter is required."))
function CanPing {
$error.clear()
- $tmp = test-connection $computername -erroraction SilentlyContinue
+ $tmp = Test-Connection $computername -ErrorAction SilentlyContinue
if (!$?)
{write-host "Ping failed: $ComputerName."; return $false}
@@ -191,7 +191,7 @@ function CanPing {
}
function CanRemote {
- $s = new-pssession $computername -erroraction SilentlyContinue
+ $s = New-PSSession $computername -ErrorAction SilentlyContinue
if ($s -is [System.Management.Automation.Runspaces.PSSession])
{write-host "Remote test succeeded: $ComputerName."}
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Signing.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Signing.md
index bb8fdf4b7a74..6652d4762404 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Signing.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Signing.md
@@ -203,7 +203,7 @@ a certificate file in the file system directory.
At the PowerShell prompt, type:
```powershell
-Get-ChildItem cert:\CurrentUser\my -codesigning
+Get-ChildItem cert:\CurrentUser\my -CodeSigning
```
This command uses the PowerShell Certificate provider to view information
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Operators.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Operators.md
index ee6cca8b428e..86ee04aaf949 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Operators.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Operators.md
@@ -30,13 +30,13 @@ PowerShell has the following type operators:
- `-is` |Returns TRUE when the input is an instance of the specified .NET type.
```powershell
- (get-date) -is [DateTime] # Result is True
+ (Get-Date) -is [DateTime] # Result is True
```
- `-isnot`|Returns TRUE when the input not an instance of the specified.NET type.
```powershell
- (get-date) -isnot [DateTime] # Result is False
+ (Get-Date) -isnot [DateTime] # Result is False
```
- `-as` |Converts the input to the specified .NET type.
@@ -155,7 +155,7 @@ False
PS> 32 -is "int"
True
-PS> (get-date) -is [DateTime]
+PS> (Get-Date) -is [DateTime]
True
PS> "12/31/2007" -is [DateTime]
@@ -180,25 +180,25 @@ return **System.Globalization.CultureInfo** objects, a collection of these
objects is a System.Object array.
```powershell
-PS> (get-culture) -is [System.Globalization.CultureInfo]
+PS> (Get-Culture) -is [System.Globalization.CultureInfo]
True
-PS> (get-uiculture) -is [System.Globalization.CultureInfo]
+PS> (Get-UICulture) -is [System.Globalization.CultureInfo]
True
-PS> (get-culture), (get-uiculture) -is [System.Globalization.CultureInfo]
+PS> (Get-Culture), (Get-UICulture) -is [System.Globalization.CultureInfo]
False
-PS> (get-culture), (get-uiculture) -is [Array]
+PS> (Get-Culture), (Get-UICulture) -is [Array]
True
-PS> (get-culture), (get-uiculture) | foreach {
+PS> (Get-Culture), (Get-UICulture) | foreach {
$_ -is [System.Globalization.CultureInfo])
}
True
True
-PS> (get-culture), (get-uiculture) -is [Object]
+PS> (Get-Culture), (Get-UICulture) -is [Object]
True
```
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Types.ps1xml.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Types.ps1xml.md
index b53d02e5097d..30394fb0ffeb 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Types.ps1xml.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Types.ps1xml.md
@@ -217,7 +217,7 @@ For more information about `Update-TypeData`, see
[Update-TypeData](xref:Microsoft.PowerShell.Utility.Update-TypeData).
```powershell
-Update-Typedata -PrependPath $PSHOME\MyTypes.ps1xml
+Update-TypeData -PrependPath $PSHOME\MyTypes.ps1xml
```
To test the change, run a `Get-ChildItem` command to get the PowerShell.exe
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Variable_Provider.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Variable_Provider.md
index 3f765bc1d2f2..8baca994b16f 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Variable_Provider.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Variable_Provider.md
@@ -152,7 +152,7 @@ a wildcard in paths, but `Get-ChildItem` does not attempt to resolve any
wildcards in the values of the `-LiteralPath` parameter.
```powershell
-Get-ChildItem -Literalpath ?
+Get-ChildItem -LiteralPath ?
```
### Get ReadOnly and Constant variables
diff --git a/reference/7.5/Microsoft.PowerShell.Core/Get-Command.md b/reference/7.5/Microsoft.PowerShell.Core/Get-Command.md
index 02dc652230cd..47a79d70243d 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/Get-Command.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/Get-Command.md
@@ -113,7 +113,7 @@ This command uses the **ArgumentList** and **Syntax** parameters to get the synt
that the Certificate Provider adds to the session.
```powershell
-Get-Command -Name Get-Childitem -Args Cert: -Syntax
+Get-Command -Name Get-ChildItem -Args Cert: -Syntax
```
When you compare the syntax displayed in the output with the syntax that is displayed when you omit
diff --git a/reference/7.5/Microsoft.PowerShell.Core/Get-Module.md b/reference/7.5/Microsoft.PowerShell.Core/Get-Module.md
index 3b97f0a41d65..329effea5a19 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/Get-Module.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/Get-Module.md
@@ -201,7 +201,7 @@ in Windows PowerShell 3.0.
### Example 6: Group all modules by name
```powershell
-Get-Module -ListAvailable -All | Format-Table -Property Name, Moduletype, Path -Groupby Name
+Get-Module -ListAvailable -All | Format-Table -Property Name, ModuleType, Path -GroupBy Name
```
```Output
diff --git a/reference/7.5/Microsoft.PowerShell.Core/Register-PSSessionConfiguration.md b/reference/7.5/Microsoft.PowerShell.Core/Register-PSSessionConfiguration.md
index 59df621d1d6d..dc1679ae76b2 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/Register-PSSessionConfiguration.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/Register-PSSessionConfiguration.md
@@ -98,7 +98,7 @@ $sessionConfiguration = @{
Register-PSSessionConfiguration @sessionConfiguration
```
-To use this configuration, type `New-PSSession -ConfigurationName newshell`.
+To use this configuration, type `New-PSSession -ConfigurationName NewShell`.
### Example 2: Register a MaintenanceShell session configuration
@@ -120,7 +120,7 @@ This example registers the **AdminShell** session configuration.
The `$sessionParams` variable is a hashtable containing all the parameter values. This hashtable is
passed to the cmdlet using PowerShell splatting. The `Register-PSSessionConfiguration` command uses
-the **SecurityDescritorSDDL** parameter to specify the SDDL in the value of the `$sddl` variable and
+the **SecurityDescriptorSDDL** parameter to specify the SDDL in the value of the `$sddl` variable and
the **MaximumReceivedObjectSizeMB** parameter to increase the object size limit. It also uses the
**StartupScript** parameter to specify a script that configures the session.
diff --git a/reference/7.5/Microsoft.PowerShell.Core/Test-ModuleManifest.md b/reference/7.5/Microsoft.PowerShell.Core/Test-ModuleManifest.md
index f684ee866f67..4ee4f99781f4 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/Test-ModuleManifest.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/Test-ModuleManifest.md
@@ -44,7 +44,7 @@ This command tests the `TestModule.psd1` module manifest.
### Example 2: Test a manifest by using the pipeline
```powershell
-"$pshome\Modules\TestModule.psd1" | test-modulemanifest
+"$pshome\Modules\TestModule.psd1" | Test-ModuleManifest
```
```Output
diff --git a/reference/7.5/Microsoft.PowerShell.Core/Update-Help.md b/reference/7.5/Microsoft.PowerShell.Core/Update-Help.md
index 2f68e182ca99..f75fcda5cda1 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/Update-Help.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/Update-Help.md
@@ -206,10 +206,10 @@ foreach ($mModule in $Modules)
{
$mDir = $mModule.ModuleBase
- if (Test-Path $mdir\*helpinfo.xml)
+ if (Test-Path $mDir\*helpinfo.xml)
{
$mName=$mModule.Name
- $mNodes = dir $mdir\*helpinfo.xml -ErrorAction SilentlyContinue |
+ $mNodes = dir $mDir\*helpinfo.xml -ErrorAction SilentlyContinue |
Select-Xml -Namespace $HelpInfoNamespace -XPath "//helpInfo:UICulture"
foreach ($mNode in $mNodes)
{
diff --git a/reference/7.5/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md b/reference/7.5/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md
index 78b99e810e98..119e5cdc8cc2 100644
--- a/reference/7.5/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md
+++ b/reference/7.5/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md
@@ -596,7 +596,7 @@ that occurred within the last week.
```powershell
$StartTime = (Get-Date).AddDays(-7)
Get-WinEvent -FilterHashtable @{
- Logname='Application'
+ LogName='Application'
ProviderName='Application Error'
Data='iexplore.exe'
StartTime=$StartTime
@@ -842,7 +842,7 @@ cmdlet.
> PowerShell does not limit the amount of logs you can request. However, the `Get-WinEvent` cmdlet
> queries the Windows API which has a limit of 256. This can make it difficult to filter through all
> of your logs at one time. You can work around this by using a `foreach` loop to iterate through each
-> log like this: `Get-WinEvent -ListLog * | ForEach-Object{ Get-WinEvent -LogName $_.Logname }`
+> log like this: `Get-WinEvent -ListLog * | ForEach-Object{ Get-WinEvent -LogName $_.LogName }`
```yaml
Type: System.String[]
diff --git a/reference/7.5/Microsoft.PowerShell.Management/Get-Content.md b/reference/7.5/Microsoft.PowerShell.Management/Get-Content.md
index 0c1f470eca30..70befdee0283 100644
--- a/reference/7.5/Microsoft.PowerShell.Management/Get-Content.md
+++ b/reference/7.5/Microsoft.PowerShell.Management/Get-Content.md
@@ -253,7 +253,7 @@ This example demonstrates how to get the contents of a file as a `[byte[]]` as a
```powershell
$byteArray = Get-Content -Path C:\temp\test.txt -AsByteStream -Raw
-Get-Member -InputObject $bytearray
+Get-Member -InputObject $byteArray
```
```Output
diff --git a/reference/7.5/Microsoft.PowerShell.Management/Get-PSProvider.md b/reference/7.5/Microsoft.PowerShell.Management/Get-PSProvider.md
index 8e85c004cba4..0235841b80ad 100644
--- a/reference/7.5/Microsoft.PowerShell.Management/Get-PSProvider.md
+++ b/reference/7.5/Microsoft.PowerShell.Management/Get-PSProvider.md
@@ -102,7 +102,7 @@ C:\Users\User01
```
```powershell
-PS C:\> (get-psprovider FileSystem).home
+PS C:\> (Get-PSProvider FileSystem).Home
```
```Output
diff --git a/reference/7.5/Microsoft.PowerShell.Management/Get-Process.md b/reference/7.5/Microsoft.PowerShell.Management/Get-Process.md
index 2ca5e438ca8c..2b28077359d5 100644
--- a/reference/7.5/Microsoft.PowerShell.Management/Get-Process.md
+++ b/reference/7.5/Microsoft.PowerShell.Management/Get-Process.md
@@ -227,7 +227,7 @@ The second command gets the PowerShell process that's hosting the current sessio
### Example 10: Get all processes that have a main window title and display them in a table
```powershell
-Get-Process | Where-Object {$_.mainWindowTitle} | Format-Table Id, Name, mainWindowtitle -AutoSize
+Get-Process | Where-Object {$_.mainWindowTitle} | Format-Table Id, Name, mainWindowTitle -AutoSize
```
This command gets all the processes that have a main window title, and it displays them in a table
diff --git a/reference/7.5/Microsoft.PowerShell.Management/Get-Service.md b/reference/7.5/Microsoft.PowerShell.Management/Get-Service.md
index 130972ac3936..5015a7184dd4 100644
--- a/reference/7.5/Microsoft.PowerShell.Management/Get-Service.md
+++ b/reference/7.5/Microsoft.PowerShell.Management/Get-Service.md
@@ -75,7 +75,7 @@ display name finds network-related services even when the service name doesn't i
xmlprov, the Network Provisioning Service.
```powershell
-Get-Service -Displayname "*network*"
+Get-Service -DisplayName "*network*"
```
### Example 4: Get services that begin with a search string and an exclusion
@@ -109,7 +109,7 @@ This example gets services that have dependent services.
Get-Service |
Where-Object {$_.DependentServices} |
Format-List -Property Name, DependentServices, @{
- Label="NoOfDependentServices"; Expression={$_.dependentservices.count}
+ Label="NoOfDependentServices"; Expression={$_.DependentServices.Count}
}
```
diff --git a/reference/7.5/Microsoft.PowerShell.Management/New-Item.md b/reference/7.5/Microsoft.PowerShell.Management/New-Item.md
index a9a790ef381b..d67d2f066969 100644
--- a/reference/7.5/Microsoft.PowerShell.Management/New-Item.md
+++ b/reference/7.5/Microsoft.PowerShell.Management/New-Item.md
@@ -90,7 +90,7 @@ This command creates a directory named "Logfiles" in the `C:` drive. The **ItemT
specifies that the new item is a directory, not a file or other file system object.
```powershell
-New-Item -Path "c:\" -Name "logfiles" -ItemType "directory"
+New-Item -Path "c:\" -Name "Logfiles" -ItemType "directory"
```
### Example 3: Create a profile
diff --git a/reference/7.5/Microsoft.PowerShell.Management/New-ItemProperty.md b/reference/7.5/Microsoft.PowerShell.Management/New-ItemProperty.md
index b556e664c2a9..27835213fe88 100644
--- a/reference/7.5/Microsoft.PowerShell.Management/New-ItemProperty.md
+++ b/reference/7.5/Microsoft.PowerShell.Management/New-ItemProperty.md
@@ -97,7 +97,7 @@ $newValue = New-ItemProperty -Path "HKLM:\SOFTWARE\ContosoCompany\" -Name 'HereS
This is text which contains newlines
It can also contain "quoted" strings
"@
-$newValue.multistring
+$newValue.MultiString
```
```output
@@ -111,7 +111,7 @@ The example shows how to use an array of values to create the `MultiString` valu
```powershell
$newValue = New-ItemProperty -Path "HKLM:\SOFTWARE\ContosoCompany\" -Name 'MultiString' -PropertyType MultiString -Value ('a','b','c')
-$newValue.multistring[0]
+$newValue.MultiString[0]
```
```output
diff --git a/reference/7.5/Microsoft.PowerShell.Management/Test-Connection.md b/reference/7.5/Microsoft.PowerShell.Management/Test-Connection.md
index 41635c3a725d..64d25a677bc4 100644
--- a/reference/7.5/Microsoft.PowerShell.Management/Test-Connection.md
+++ b/reference/7.5/Microsoft.PowerShell.Management/Test-Connection.md
@@ -536,7 +536,7 @@ Accept wildcard characters: False
### -Traceroute
-Causes the cmdlet to do a traceroute test. When this parameter is used, the cmdlet returns a
+Causes the cmdlet to do a Traceroute test. When this parameter is used, the cmdlet returns a
`TestConnectionCommand+TraceStatus` object.
```yaml
diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Select-Xml.md b/reference/7.5/Microsoft.PowerShell.Utility/Select-Xml.md
index 71d9a1fc8434..a9b97e5ee751 100644
--- a/reference/7.5/Microsoft.PowerShell.Utility/Select-Xml.md
+++ b/reference/7.5/Microsoft.PowerShell.Utility/Select-Xml.md
@@ -140,7 +140,7 @@ $Namespace = @{
$Path = "$Pshome\en-us\*dll-Help.xml"
$Xml = Select-Xml -Path $Path -Namespace $Namespace -XPath "//command:name"
-$Xml | Format-Table @{Label="Name"; Expression= {($_.node.innerxml).trim()}}, Path -AutoSize
+$Xml | Format-Table @{Label="Name"; Expression= {($_.Node.InnerXml).trim()}}, Path -AutoSize
```
```Output
@@ -221,7 +221,7 @@ value of the **InnerXml** property of the node.
$SnippetNamespace = @{snip = "http://schemas.microsoft.com/PowerShell/Snippets"}
Select-Xml -Path $HOME\Documents\WindowsPowerShell\Snippets -Namespace $SnippetNamespace -XPath "//snip:Title" |
- ForEach-Object {$_.Node.Innerxml}
+ ForEach-Object {$_.Node.InnerXml}
```
## PARAMETERS
diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Set-Alias.md b/reference/7.5/Microsoft.PowerShell.Utility/Set-Alias.md
index 09fb0c127100..a37bc0e1fd79 100644
--- a/reference/7.5/Microsoft.PowerShell.Utility/Set-Alias.md
+++ b/reference/7.5/Microsoft.PowerShell.Utility/Set-Alias.md
@@ -260,7 +260,7 @@ Accept wildcard characters: False
Sets the **Option** property value of the alias. Values such as `ReadOnly` and `Constant`
protect an alias from unintended changes. To see the **Option** property of all aliases in the
-session, type `Get-Alias | Format-Table -Property Name, Options -Autosize`.
+session, type `Get-Alias | Format-Table -Property Name, Options -AutoSize`.
The acceptable values for this parameter are as follows:
@@ -419,7 +419,7 @@ cmdlet displays the aliases available in a PowerShell session.
To create an alias, use the cmdlets `Set-Alias` or `New-Alias`. In PowerShell 6, to delete an alias,
use the `Remove-Alias` cmdlet. `Remove-Item` is accepted for backwards compatibility such as for
scripts created with prior versions of PowerShell. Use a command such as
-`Remove-Item -Path Alias:aliasname`.
+`Remove-Item -Path Alias:AliasName`.
To create an alias that's available in each PowerShell session, add it to your PowerShell profile.
For more information, see [about_Profiles](../Microsoft.PowerShell.Core/About/about_Profiles.md).
diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Set-PSBreakpoint.md b/reference/7.5/Microsoft.PowerShell.Utility/Set-PSBreakpoint.md
index c0cc4599cf5b..e895bbd26a92 100644
--- a/reference/7.5/Microsoft.PowerShell.Utility/Set-PSBreakpoint.md
+++ b/reference/7.5/Microsoft.PowerShell.Utility/Set-PSBreakpoint.md
@@ -152,9 +152,9 @@ script, the breakpoint is set on anything that runs in the current session. The
the function is called, not when it is declared.
```
-PS> Set-PSBreakpoint -Command "checklog"
+PS> Set-PSBreakpoint -Command "CheckLog"
Id : 0
-Command : checklog
+Command : CheckLog
Enabled : True
HitCount : 0
Action :
@@ -164,9 +164,9 @@ function CheckLog {
>> where {($_.source -like "TestApp") -and ($_.Message -like "*failed*")}
>>}
>>
-PS> Checklog
+PS> CheckLog
DEBUG: Hit breakpoint(s)
-DEBUG: Function breakpoint on 'prompt:Checklog'
+DEBUG: Function breakpoint on 'prompt:CheckLog'
```
### Example 7: Set breakpoints on multiple lines
diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Tee-Object.md b/reference/7.5/Microsoft.PowerShell.Utility/Tee-Object.md
index 46e8148f1be0..033a87ba7b6b 100644
--- a/reference/7.5/Microsoft.PowerShell.Utility/Tee-Object.md
+++ b/reference/7.5/Microsoft.PowerShell.Utility/Tee-Object.md
@@ -67,7 +67,7 @@ This example gets a list of the processes running on the computer, saves them to
variable, and pipes them to `Select-Object`.
```powershell
-Get-Process notepad | Tee-Object -Variable proc | Select-Object processname,handles
+Get-Process notepad | Tee-Object -Variable proc | Select-Object ProcessName, Handles
```
```Output
diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Wait-Event.md b/reference/7.5/Microsoft.PowerShell.Utility/Wait-Event.md
index 1c7545a967cb..90a7dd967929 100644
--- a/reference/7.5/Microsoft.PowerShell.Utility/Wait-Event.md
+++ b/reference/7.5/Microsoft.PowerShell.Utility/Wait-Event.md
@@ -62,7 +62,7 @@ $objectEventArgs = @{
}
Register-ObjectEvent @objectEventArgs
$Timer.Interval = 2000
-$Timer.Autoreset = $False
+$Timer.AutoReset = $False
$Timer.Enabled = $True
Wait-Event Timer.Elapsed
```
diff --git a/reference/7.5/Microsoft.WSMan.Management/About/about_WSMan_Provider.md b/reference/7.5/Microsoft.WSMan.Management/About/about_WSMan_Provider.md
index 79082eef835d..1048dad0e3a9 100644
--- a/reference/7.5/Microsoft.WSMan.Management/About/about_WSMan_Provider.md
+++ b/reference/7.5/Microsoft.WSMan.Management/About/about_WSMan_Provider.md
@@ -153,7 +153,7 @@ Set-Location -Path WSMan:\SERVER01
## Displaying the Contents of the WSMan: Drive
-This command uses the `Get-Childitem` cmdlet to display the WS-Management stores
+This command uses the `Get-ChildItem` cmdlet to display the WS-Management stores
in the Localhost store location.
```powershell
@@ -162,7 +162,7 @@ Get-ChildItem -path WSMan:\Localhost
If you are in the `WSMan:` drive, you can omit the drive name.
-This command uses the `Get-Childitem` cmdlet to display the WS-Management
+This command uses the `Get-ChildItem` cmdlet to display the WS-Management
stores in the remote computer "SERVER01" store location.
```powershell
diff --git a/reference/7.5/Microsoft.WSMan.Management/Invoke-WSManAction.md b/reference/7.5/Microsoft.WSMan.Management/Invoke-WSManAction.md
index cee1c5e52607..2ce82b1045ac 100644
--- a/reference/7.5/Microsoft.WSMan.Management/Invoke-WSManAction.md
+++ b/reference/7.5/Microsoft.WSMan.Management/Invoke-WSManAction.md
@@ -47,7 +47,7 @@ This cmdlet uses the WSMan connection/transport layer to run the action.
### Example 1: Invoke a method
```powershell
-Invoke-WSManAction -Action startservice -ResourceURI wmicimv2/win32_service -SelectorSet @{name="spooler"} -Authentication default
+Invoke-WSManAction -Action StartService -ResourceURI wmicimv2/win32_service -SelectorSet @{name="spooler"} -Authentication default
```
```Output
@@ -67,7 +67,7 @@ indicates success. A return value of 5 indicates that the service is already sta
### Example 2: Invoke a method
```powershell
-Invoke-WSManAction -Action stopservice -ResourceURI wmicimv2/Win32_Service -SelectorSet @{Name="spooler"} -FilePath:input.xml -Authentication default
+Invoke-WSManAction -Action StopService -ResourceURI wmicimv2/Win32_Service -SelectorSet @{Name="spooler"} -FilePath:input.xml -Authentication default
```
```Output
@@ -86,7 +86,7 @@ The file, `Input.xml`, contains the following content:
### Example 3: Invoke a method with specified parameter values
```powershell
-Invoke-WSManAction -Action create -ResourceURI wmicimv2/win32_process -ValueSet @{commandline="notepad.exe";currentdirectory="C:\"}
+Invoke-WSManAction -Action create -ResourceURI wmicimv2/win32_process -ValueSet @{CommandLine="notepad.exe";CurrentDirectory="C:\"}
```
```Output
@@ -105,7 +105,7 @@ the current directory of the new process is set to `C:\`.
### Example 4: Invoke a method on a remote computer
```powershell
-Invoke-WSManAction -Action startservice -ResourceURI wmicimv2/win32_service -SelectorSet @{name="spooler"} -ComputerName server01 -Authentication default
+Invoke-WSManAction -Action StartService -ResourceURI wmicimv2/win32_service -SelectorSet @{name="spooler"} -ComputerName server01 -Authentication default
```
```Output
@@ -299,7 +299,7 @@ Specifies the path of a file that is used to update a management resource. You s
management resource by using the ResourceURI parameter and the SelectorSet parameter. For example,
the following command uses the FilePath parameter:
-`Invoke-WSManAction -Action stopservice -ResourceUri wmicimv2/Win32_Service -SelectorSet @{Name="spooler"} -FilePath c:\input.xml -Authentication default`
+`Invoke-WSManAction -Action StopService -ResourceUri wmicimv2/Win32_Service -SelectorSet @{Name="spooler"} -FilePath c:\input.xml -Authentication default`
This command calls the **StopService** method on the Spooler service by using input from a file. The
file, `Input.xml`, contains the following content:
diff --git a/reference/7.5/Microsoft.WSMan.Management/New-WSManInstance.md b/reference/7.5/Microsoft.WSMan.Management/New-WSManInstance.md
index c725bd7b7348..c8c81bcb5810 100644
--- a/reference/7.5/Microsoft.WSMan.Management/New-WSManInstance.md
+++ b/reference/7.5/Microsoft.WSMan.Management/New-WSManInstance.md
@@ -213,7 +213,7 @@ Specifies the path of a file that is used to create a management resource. You s
management resource using the **ResourceURI** parameter and the **SelectorSet** parameter . For
example, the following command uses the **File** parameter:
-`Invoke-WSManAction -Action stopservice -ResourceUri wmi/cimv2/Win32_Service -SelectorSet @{Name="spooler"} -File c:\input.xml -Authentication Default`
+`Invoke-WSManAction -Action StopService -ResourceUri wmi/cimv2/Win32_Service -SelectorSet @{Name="spooler"} -File c:\input.xml -Authentication Default`
This command calls the **StopService** method on the Spooler service using input from a file. The
file, `Input.xml`, contains the following content:
diff --git a/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md b/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md
index 3669529c3a96..f40b4bcb7e5f 100644
--- a/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md
+++ b/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md
@@ -557,7 +557,7 @@ Deletes backwards until given character.
- Vi command mode: ``
-### ViInsertAtBegining
+### ViInsertAtBeginning
Switch to Insert mode and position the cursor at the beginning of the line.