Coder Social home page Coder Social logo

atreidae / test-cslisipaddress Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 39 KB

Provide this script with the IP Address and Subnet Mask of a users computer and see what Skype4B's LIS would report for them.

Home Page: http://www.skype4badmin.com

License: MIT License

PowerShell 100.00%
lync skype4b

test-cslisipaddress's Introduction

Test-CsLisIpAddress

Checks to see if a user IP Address/Subnet mask combo is present in the Skype4B / Lync LIS database. If the Subnet is present it's details will be returned. If not the script will provide feedback suggesting the IP isn't present or warn you of multiple matches.

DESCRIPTION

Created by James Arber. www.skype4badmin.com Borrows code heavily from MrAutomation's Powershell version of IpCalc to locate the NetworkID of the entered details

NOTES

Version : 1.01

Date : 30/12/2017

Lync Version : Tested against Skype4B 2015

Author : James Arber

Header stolen from : Greig Sheridan who stole it from Pat Richard's amazing "Get-CsConnections.ps1"

Update History

:v1.01: Minor Bug Fix Release

-Fixed Synopsis	
-Fixed Auto Update URL	
-Various Typos	
-Logging Improvements	
-GitHub Improvements

:v1.00: Initial Release

:v0.10: Internal Build

LINK

http://www.skype4badmin.com/find-and-test-user-ip-addresses-in-the-skype-location-database/

KNOWN ISSUES

None at this stage, this is however in development code and bugs are expected

Script Specifics

EXAMPLE Locates and returns the expected LIS entry for the user at 192.168.150.128 with a 24bit subnet mask (255.255.255.0) PS C:\> .\Test-CsLisIpAddress.ps1 192.168.150.128/24

EXAMPLE Locates and returns the expected LIS entry for the user at 192.168.150.128 with a subnet mask of 255.255.255.0 PS C:\> .\Test-CsLisIpAddress.ps1 192.168.150.128 255.255.255.0

PARAMETER IpAddress IP address of example user in "192.168.0.1" format or with CIDR notation ie "192.168.0.1/24"

PARAMETER SubnetMask Subnet mask of example user in mask format ie "255.255.255.0" (no wildcards for you cisco types out there)

PARAMETER -DisableScriptUpdate Stops the script from checking online for an update and prompting the user to download. Ideal for scheduled tasks

INPUT Test-CsLisIpAddress accepts pipeline input of single objects with named properties matching parameters.

Output Custom.PsObject. Test-CsLisIpAddress returns a the results of a migration as a custom object on the pipeline.

test-cslisipaddress's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.