function Test-MrPipelineInput { [CmdletBinding()] param ( [Parameter(Mandatory, ValueFromPipeline)] [string[]]$ComputerName ) PROCESS { Write-Output $ComputerName } } Accepting pipeline input by property name is similar except it's specified with the ValueFromPipelineByPropertyName parameter attr...
Type: String Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False-WaitIndicates that this cmdlet waits for the specified process and its descendants to complete before accepting more input. This parameter suppresses the command prompt or re...
PowerShell 2,188 questions A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language. 2,188 questions with PowerShell-related tags Sort by:Updated UpdatedCreatedAnswers ...
A specified logon session does not exist. It may already have been terminated about_ActiveDirectory_Filter Absolute Newbie Scripting Question Accepting single quote character in powershell script arguement Acces denied export Start Layout Access denied error when executing the Invoke-Command Access denied...
Enabling Outlook Anywhere on the Client Access server prevents the server from accepting external connections by Outlook 2003 or later clients by using Outlook Anywhere. When you run this cmdlet, it can take as long as an hour for the settings to become effective, depending on how long it take...
The ClientAccessServer parameter specifies the Exchange server to test. This server has the Client Access server role installed, and is responsible for accepting client connections. You can use any value that uniquely identifies the server. For example: ...
Enabling Outlook Anywhere on the Client Access server prevents the server from accepting external connections by Outlook 2003 or later clients by using Outlook Anywhere. When you run this cmdlet, it can take as long as an hour for the settings to become effective, depending on how long it take...
The ClientAccessServer parameter specifies the Exchange server to test. This server has the Client Access server role installed, and is responsible for accepting client connections. You can use any value that uniquely identifies the server. For example: ...
By-Value pipeline input for credential parameters is not. PowerShell will attempt to bind all parameters accepting by-value input which causes a parameter binding failure. Reproduction Steps Set-Content 'module.tests.ps1' -Value @' Describe 'Some tests' { BeforeAll { Mock Get-EC2Instance { [...
No results are returned if the Name parameter is not specified. Get-CMUser Inconsistent object types are returned (SMS_CombinedUserResources or SMS_Collection-based object), depending on input parameters. This is a regression from the release version of System Center 2012 R2 Configur...