41 Matching Annotations
  1. Oct 2019
    1. 4326

      EPSG:4326 is WSG84 (the 84th revision of WSG), which is the standard worldwide spatial reference system used by GPS (Global Positioning System) and NATO.

  2. Jun 2019
    1. errorId

      The error id is suffixed with ",$(FullyQualifiedCommandName)", e.g. ,Microsoft.Powershell.Commands.GetItemCommand. The error id should be an unqualified context-specific error name, e.g. PathNotFound. The error id may be custom, but should not have an "Error" suffix (unlike exceptions).

    1. The AllScope Option

      Scope-existence and scope-accessibiity are unaffected with the AllScope option. What it actually does is that it makes changes (assignments, removals, renames, setting, etc.) to that identifier act on the same instance across all scopes, rather than defaulting to the local scope for mutations and the lowest defined scope for accesses, which could be a different instance of the variable just with the same identifier in another scope.

    2. the module does not have its own scope, although the scripts in the module, like all PowerShell scripts, do have their own scope

      This is why "building" a module by combining the component scripts into a single .psm1 is often done: in order to make the script scope function as a de facto* module scope.

    1. A code property references a static property of a .NET Framework object.

      The static property of a the referenced .NET object must accept a single PSObject parameter. (think like an extension method)

    2. An alias property defines a new name for an existing property.

      Useful not only as an adapter mechanism for duck typing and/or backwards compatibility, but more importantly for engaging the ValueFromPipelineByPropertyName parameter attribute property.

    1. Install-Module

      This doc doesn't actually say anywhere, much less one-way-or-the-other, whether a module automatically installs its dependencies too or not.

    1. exact version number

      What is the behavior in the case that the user-provided version number exactly and wholly matches a prefix of the script's version number, but the script's version number has additional (more minor) parts?

    2. WindowsPowerShell

      Modernize this to reflect not only Windows PowerShell, but also PowerShell Core on Windows, PowerShell Core on Linux, and PowerShell Core on MacOS. (perhaps just give two examples instead of all of them)

      Also, there's another of the exact same issue in the line just below.

  3. Apr 2019
  4. Mar 2019
  5. Feb 2019
  6. Jan 2019
    1. projectstream is varbinary(MAX)

      ...since not a true stream, don't necessarily have to have a locally-accessible file, so long as given the binary contents of the file as input (e.g. by a remote invocation)

    1. catalog.create_folder (SSISDB Database) catalog.delete_folder (SSISDB Database) catalog.rename_folder (SSISDB Database) catalog.set_folder_description (SSISDB Database)

      Each of these procedures requires membership in the ssis_admin and/or sys_admin role..

    2. The SSISDB catalog and the SSISDB database support Windows PowerShell.

      Windows PowerShell, which may be replaced by default with PowerShell Core in Azure.

      Also, make sure to be wary of older SQL Server versions that may be different or lesser APIs on systems that do already have it.

  7. Dec 2018
    1. Run code after a handler method has been selected, but before model binding occurs. Run code before the handler method executes, after model binding is complete. Run code after the handler method executes.

      Various options for when to run.

  8. Nov 2018
    1. of the script that is being run

      Incorrect. It's actually of the script that invoked the script. This parameter is only populated if the invoker is itself a command / script.

  9. Oct 2018
    1. For backwards compatibility, split splits on a string, not a regex.

      split(regex) splits on a string, but split(regex; flags) splits on a regex. If there are no flags, then just do split(regex; "").

  10. Sep 2018
  11. Aug 2018
    1. The "properties" keyword does not require that the key(s) exist, only that the property(-ies) validate if they do exist. Key existence is specified by the "required" keyword.

  12. Jul 2018
  13. Jun 2018
    1. Gets the values of the elements of the group.

      An ArrayList of the value of each grouping property that together constitute this grouping. I assume they are in the same order as provided in the Group-Object invocation.

    1. parent

      The path of the directory that directly contains the specified template file, where the path is relative to this environment's loader's template directory.