PowerShell Logo Small

Set-NCSIPolicyConfiguration



This is the built-in help made by Microsoft for the command 'Set-NCSIPolicyConfiguration', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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.

SYNOPSIS

Specifies the policy store from which the cmdlet should pull configuration information.

SYNTAX


Set-NCSIPolicyConfiguration [[-CorporateDNSProbeHostAddress] <String>] [[-CorporateDNSProbeHostName] <String>] [[-CorporateSitePrefixList] <String[]>]
[[-CorporateWebsiteProbeURL] <String>] [[-DomainLocationDeterminationURL] <String>] [-AsJob] [-CimSession <CimSession[]>] [-GPOSession <String>] [-PassThru] [-PolicyStore
<String>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-NCSIPolicyConfiguration [[-CorporateDNSProbeHostAddress] <String>] [[-CorporateDNSProbeHostName] <String>] [[-CorporateSitePrefixList] <String[]>]
[[-CorporateWebsiteProbeURL] <String>] [[-DomainLocationDeterminationURL] <String>] [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject
<CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287448
Get-DAConnectionStatus
Get-NCSIPolicyConfiguration
Reset-NCSIPolicyConfiguration

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Set-NCSIPolicyConfiguration -PolicyStore "contoso\User1" -CorporateWebsiteProbe http://contoso.com



This example modifies the corporate website probe of the specified GPO.




EXAMPLE 2

PS C:\> Get-NCSIPolicyConfiguration -PolicyStore "contoso\User1" | 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\User1"
PS C:\> $Object.CorporateWebsiteProbe = http://ncsi.corp.microsoft.com
PS C:\> Set-NCSIPolicyConfiguration -InputObject $Object



This example performs an identical operation using dot notation.