remove publish commands and correct formatting of example

This commit is contained in:
Michael Greene 2016-07-30 08:20:11 -05:00
parent 53f8cdb29c
commit 362eef0c6e
2 changed files with 12 additions and 7 deletions

View file

@ -65,12 +65,6 @@ Get-InstalledScript
# List available PS repositories
Get-PSRepository
# Publish script to the PS Gallery
Publish-Script -Path C:\Demo.ps1 -NuGetApiKey 1234 -Repository PSGallery -WhatIf
# Publish module to PS Gallery
Publish-Module -Name Demo -RequiredVersion 0.1 -NuGetApiKey 1234 -Repository PSGallery -WhatIf
# Register a new private feed
Register-PSRepository -Name "myPrivateGallery" SourceLocation "https://www.myget.org/F/powershellgetdemo/api/v2" -PublishLocation "https://www.myget.org/F/powershellgetdemo/api/v2/Packages" -InstallationPolicy Trusted

View file

@ -213,7 +213,7 @@ PS /> Get-Help -Name Get-Process
It displays the examples how to use the Get-Process cmdlet.
```PowerShell
PS />Get-Help -Name Get-Process -Examples
PS />Get-Help -Name Get-Process -Examples**
```
If you use **-Full** parameter, for example, `Get-Help -Name Get-Process -Full`, it will display more technical information.
@ -260,6 +260,17 @@ Mode LastWriteTime Length Name
```
Working with Objects
----
When cmdlets are executed in PowerShell, the output is an Object, as opposed to just text.
This provides the ability to store a lot of information
Discovering available Methods
----
PowerShell Functions
----
Recommended Training and Reading
----