This is the built-in help made by Microsoft for the command 'Set-NCSIPolicyConfiguration', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Specifies the policy store from which the cmdlet should pull configuration information.
Set-NCSIPolicyConfiguration [[-CorporateDNSProbeHostAddress] <String>] [[-CorporateDNSProbeHostName] <String>] [[-CorporateSitePrefixList]
<String>] [[-CorporateWebsiteProbeURL] <String>] [[-DomainLocationDeterminationURL] <String>] [-AsJob [<SwitchParameter>]] [-CimSession
<CimSession>] [-GPOSession <String>] [-PassThru [<SwitchParameter>]] [-PolicyStore <String>] [-ThrottleLimit <Int32>] [-Confirm
[<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-NCSIPolicyConfiguration [[-CorporateDNSProbeHostAddress] <String>] [[-CorporateDNSProbeHostName] <String>] [[-CorporateSitePrefixList]
<String>] [[-CorporateWebsiteProbeURL] <String>] [[-DomainLocationDeterminationURL] <String>] [-AsJob [<SwitchParameter>]] [-CimSession
<CimSession>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>] -InputObject <CimInstance> [-Confirm [<SwitchParameter>]] [-WhatIf
[<SwitchParameter>]] [<CommonParameters>]
The Set-NCSIPolicyConfiguration cmdlet allows a user to configure NCSI configuration options on a Group Policy Object.
This cmdlet supports getting information from a Group Policy Object, in the form Domain\GPOName.
<
Get-DAConnectionStatus
Get-NCSIPolicyConfiguration
Reset-NCSIPolicyConfiguration
<
EXAMPLE 1
PS C:\> Set-NCSIPolicyConfiguration -PolicyStore "contoso\johnj99" -CorporateWebsiteProbe http://contoso.com
This example modifies the corporate website probe of the specified GPO.
EXAMPLE 2
PS C:\> Get-NCSIPolicyConfiguration -PolicyStore "contoso\johnj99" | Set-NCSIPolicyConfiguration -CorporateWebsiteProbe http://contoso.com
This example performs the same operation as EXAMPLE 1 using pipelining.
EXAMPLE 3
PS C:\> $Object = Get-NCSIPolicyConfiguration -PolicyStore "contoso\johnj99"
PS C:\> $Object.CorporateWebsiteProbe = http://ncsi.corp.microsoft.com
PS C:\> Set-NCSIPolicyConfiguration -InputObject $Object
This example performs an identical operation using dot notation.