Downloads:

1,748

Downloads of v 2.0.0:

1,491

Last Update:

03 Jun 2017

Package Maintainer(s):

Software Author(s):

  • René Larch

Tags:

iis binding filter search commandline CMD tool admin

IIS binding search tool CMD

2.0.0 | Updated: 03 Jun 2017

Downloads:

1,748

Downloads of v 2.0.0:

1,491

Maintainer(s):

Software Author(s):

  • René Larch

IIS binding search tool CMD 2.0.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install IIS binding search tool CMD, run the following command from the command line or from PowerShell:

>

To upgrade IIS binding search tool CMD, run the following command from the command line or from PowerShell:

>

To uninstall IIS binding search tool CMD, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade iis -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade iis -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure iis installed
  win_chocolatey:
    name: iis
    state: present
    version: 2.0.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'iis' do
  action    :install
  version  '2.0.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: iis,
    Version: 2.0.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller iis
{
   Name     = 'iis'
   Ensure   = 'Present'
   Version  = '2.0.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'iis':
  provider => 'chocolatey',
  ensure   => '2.0.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install iis version="2.0.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator AdmiringWorm on 18 Jun 2017.

Description

commandline tool to find IIS sites witch are using https bindings or find IIS site by domain or by ip.

Usage: iis [FILTER] [FLAGS]

Copyright 2017 René Larch

-i, --id         where id matchs VALUE

-n, --name       where site name matchs VALUE
-b, --binding    where binding matchs VALUE
-s, --state      where state matchs VALUE
--ip             where IP matchs VALUE

--https          where sites using https://
--sni            where https sites using Sni
--central        where https sites using CentralCertStore
--https-none     show all https sites without special ssl flags

-A, --and        use AND contition
-R, --regex      use regex for filter

--bindings       use bindings view for print
--sites          use sites view for print
--debug          enables debuging
--help           Display this help screen.


list all
iis *

find https sites with top level domain .com
iis --https -b *.com --and

find all running sites where domain contains example
iis -s started -b *example* --and

find all subdomains
iis -R -b ^(.*)\.(.*\..*)$ --bindings

find all www domains and highlight them
iis -R -b ^(www)\.(.*)

change regex highlight color by double capture groups
TRY:  iis -R -b (www)  THEN TRY: iis -R -b ((www))

LICENSE.txt

# CommandLine.dll
FROM: https://www.nuget.org/packages/CommandLineParser/1.9.71
MIT License: https://github.com/gsscoder/commandline/blob/master/License.md


# Microsoft.Web.Administration.dll -version 7.0.0
From: https://www.nuget.org/packages/Microsoft.Web.Administration/7.0.0

LICENSE
There is no License for exact this version.
The following text is for the version [10.0.0](https://www.nuget.org/packages/Microsoft.Web.Administration/10.0.0):

FROM: https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm

MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT .NET LIBRARY
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft

·         updates,

·         supplements,

·         Internet-based services, and

·         support services

for this software, unless other terms accompany those items. If so, those terms apply.

BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.

IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.

1.    INSTALLATION AND USE RIGHTS.

a.    Installation and Use. You may install and use any number of copies of the software to design, develop and test your programs.  You may modify, copy, distribute or deploy any .js files contained in the software as part of your programs.

b.    Third Party Programs. The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.

2.    ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.

a.    DISTRIBUTABLE CODE.  In addition to the .js files described above, the software is comprised of Distributable Code. “Distributable Code” is code that you are permitted to distribute in programs you develop if you comply with the terms below.

i.      Right to Use and Distribute.

·         You may copy and distribute the object code form of the software.

·         Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.

ii.    Distribution Requirements. For any Distributable Code you distribute, you must

·         use the Distributable Code in your programs and not as a standalone distribution;

·         require distributors and external end users to agree to terms that protect it at least as much as this agreement;

·         display your valid copyright notice on your programs; and

·         indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your programs.

iii.   Distribution Restrictions. You may not

·         alter any copyright, trademark or patent notice in the Distributable Code;

·         use Microsoft’s trademarks in your programs’ names or in a way that suggests your programs come from or are endorsed by Microsoft;

·         include Distributable Code in malicious, deceptive or unlawful programs; or

·         modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that

·         the code be disclosed or distributed in source code form; or

·         others have the right to modify it.

3.    SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not

·         work around any technical limitations in the software;

·         reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;

·         publish the software for others to copy;

·         rent, lease or lend the software; or

·         transfer the software or this agreement to any third party.

4.    BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software.

5.    DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.

6.    EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.

7.    SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it.

8.    ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.

9.    APPLICABLE LAW.

a.    United States. If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.

b.    Outside the United States. If you acquired the software in any other country, the laws of that country apply.

10.  LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.

11.  DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.

FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.

12.  LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.

This limitation applies to

·         anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and

·         claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.

It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.

Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.

Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français.

EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues.

LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.

Cette limitation concerne :

·         tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et
·         les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur.

Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard.

EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas.
tools\CommandLine.dll
md5: EC0E2DD54144D6F6A317B7DAA715D418 | sha1: 62C2E04BBA8436912D9BCEC1EC4D4C7AFC843A47 | sha256: 4923528D3D18689D58FA30B3D822AB72A13BE21A57F13E0BC59B55B864424F7A | sha512: CCAF01F89FAB001EF2DED15B352E1DD2AB3967584A8720ACB7C6B7203240F9C896F7D46600B12E0E86B25B30779B1E5ED59CE97FB3F295AFB11D6391670265EF
tools\iis.exe
md5: C056C9827D1250D202DBD1249FC0CB1D | sha1: E19EE55E05FCE589F4DACE8959BC1DAED5BA2027 | sha256: EF7BE99FD5D1F442359FA89C4AA842EEEDC3166595AD4A314C88425EB4D4DA8A | sha512: E4AEE20A33F897566D99BBDFC323DEDF7800A96ADB0DE6759BA82A46EB64E29F70B6363DD10B15C3558189DC5C7657740A98FB477FFF0EB82958CA480209DCCC
tools\LarchConsole.dll
md5: 14FDEFA749AE9277619965C6774A0151 | sha1: 4C481BB279D3C059EA94B6368A1DD108BFDA345B | sha256: 10CA5CE7CD23511DB90544C9F97B790F588F05BE497B9489893666A89AD98A9C | sha512: E8DA5BEA0954A7FE13DA10BFCE57DACFF56174673B30B9BCBF16F24544CD3462A767D87890B92213411F2415B7CB93077CB812E8E4B3ABF6F117D23236938E1F
tools\Microsoft.Web.Administration.dll
md5: 749976DDABDC9C5448A87F33AEF1E0E7 | sha1: 023E8020218FC4E3DEDFABF90092EA757B2D96E8 | sha256: 17975EB1637EDAF624BFE157A281E5EB9AA0D6D1D87D052820DB59366F651AF7 | sha512: 20602C979C2108253E9D1BA84A9D4C7C55E401D0BF6EE9BEB568218A3D13E4415F3B02958EA0CFAF3E8C78E106F287ECBE3D622251B1A594FF0FC89E18D504BA
VERIFICATION.txt

VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
The files:
  * tools\LarchConsole.dll
  * tools\IIS.exe
Are written be me (René Larch) and the source is open and licensed under the MIT License.

The full Source is hier:
 * https://github.com/r-Larch/Larch

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
IIS binding search tool CMD 1.0.0 257 Friday, May 5, 2017 Approved

New: Filter by multiple properties.
New: Set filter merge condition: AND-condition or OR-condition.
New: Use three diffrent views to print your datas
* standart view (site infos + binding infos)
* binding view (site infos + binding infos in one row)
* site view (site infos + binding count in one row)


This package has no dependencies.

Discussion for the IIS binding search tool CMD Package

Ground Rules:

  • This discussion is only about IIS binding search tool CMD and the IIS binding search tool CMD package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or IIS binding search tool CMD, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus