diff --git a/demos/powershellget/PowerShellGet.ps1 b/demos/powershellget/PowerShellGet.ps1 index 0da9c3bf08..fb99a49fcf 100644 --- a/demos/powershellget/PowerShellGet.ps1 +++ b/demos/powershellget/PowerShellGet.ps1 @@ -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 diff --git a/docs/learning-powershell/powershell-beginners-guide.md b/docs/learning-powershell/powershell-beginners-guide.md index ab7ed43732..0db38cc67c 100644 --- a/docs/learning-powershell/powershell-beginners-guide.md +++ b/docs/learning-powershell/powershell-beginners-guide.md @@ -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 ----