I've recently moved my blogging activities to a new website: http://www.skavi.be because that is the consulting company I founded in september.
Thanks!
Dynamics 365 Contact Center - the new kid on the block
20 uur geleden
Jeroen Van Bastelaere on WSS and MOSS development
To set an IP restriction on your central administration with PowerShell you need to do the following:
- First set deny all
Set-WebConfigrationProperty –Filter system.webServer/security/ipSecurity –PSPath ‘IIS:\’ –Name allowUnlisted –Location “SharePoint Central Administration v4” –Value $false
- Second set allow for a specific IP Address
Add-WebConfiguration system.webServer/security/ipSecurity –location “IIS:\Sites\SharePoint Central Administration v4” –Value @{ipAddress=”$(Get-IPAddress)”;allowed=”true”} –PSPath IIS:\
The Get-IPAddress function is a function to get the IP address of the current PC:
function Get-IPAddress() {
}