Skip to content

Commit a6480a0

Browse files
authored
Merge pull request #121 from Snow-Shell/move-to-org
updates needed to move project to organization
2 parents e5f6d3f + 0e05875 commit a6480a0

File tree

6 files changed

+37
-25
lines changed

6 files changed

+37
-25
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## v1.8.1
2+
- Update links to reference the new GitHub organization this project will be moved to. Module functionality unchanged.
3+
4+
## v1.8.0
5+
- Add Update-ServiceNowRequestItem
6+
- Fix switch statements by adding breaks to each condition
7+
8+
## v1.7.0
9+
- Add New-ServiceNowChangeRequest
10+
11+
## v1.6.0
12+
- Add Update-ServiceNowDateTimeField
13+
- Add Add-ServiceNowAttachment
14+
- Add Get-ServiceNowAttachment
15+
- Add Get-ServiceNowAttachmentDetail
16+
- Add Remove-ServiceNowAttachment

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work.
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2015-2021 Snow-Shell
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

Readme.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ServiceNow
22

3-
[![GitHub release](https://img.shields.io/github/release/Sam-Martin/servicenow-powershell.svg)](https://github.com/Sam-Martin/servicenow-powershell/releases/latest) [![GitHub license](https://img.shields.io/github/license/Sam-Martin/servicenow-powershell.svg)](LICENSE) ![Test Coverage](https://img.shields.io/badge/coverage-75%25-yellow.svg)
3+
[![GitHub release](https://img.shields.io/github/release/Snow-Shell/servicenow-powershell.svg)](https://github.com/Snow-Shell/servicenow-powershell/releases/latest) [![GitHub license](https://img.shields.io/github/license/Snow-Shell/servicenow-powershell.svg)](LICENSE) ![Test Coverage](https://img.shields.io/badge/coverage-75%25-yellow.svg)
44

55
This PowerShell module provides a series of cmdlets for interacting with the [ServiceNow REST API](http://wiki.servicenow.com/index.php?title=REST_API), performed by wrapping `Invoke-RestMethod` for the API calls.
66

@@ -40,7 +40,7 @@ Requires authorization in your ServiceNow tenant. Due to the custom nature of S
4040

4141
## Usage
4242

43-
Download the [latest release](https://github.com/Sam-Martin/servicenow-powershell/releases/latest) and extract the .psm1 and .psd1 files to your PowerShell profile directory (i.e. the `Modules` directory under wherever `$profile` points to in your PS console) and run:
43+
Download the [latest release](https://github.com/Snow-Shell/servicenow-powershell/releases/latest) and extract the .psm1 and .psd1 files to your PowerShell profile directory (i.e. the `Modules` directory under wherever `$profile` points to in your PS console) and run:
4444
`Import-Module ServiceNow`
4545
Once you've done this, all the cmdlets will be at your disposal, you can see a full list using `Get-Command -Module ServiceNow`.
4646

@@ -77,9 +77,9 @@ Update-ServiceNowIncident -SysID $Incident.Sys_ID -Values @{comments='Updated vi
7777
### Example - Creating a Incident with custom table entries
7878

7979
```PowerShell
80-
$IncidentParams = @{Caller = "UserName"
81-
ShortDescription = "New PS Incident"
82-
Description = "This incident was created from Powershell"
80+
$IncidentParams = @{Caller = "UserName"
81+
ShortDescription = "New PS Incident"
82+
Description = "This incident was created from Powershell"
8383
CustomFields = @{u_service = "MyService"
8484
u_incident_type = "Request"}
8585
}
@@ -129,6 +129,8 @@ This module comes with [Pester](https://github.com/pester/Pester/) tests for uni
129129

130130
This module has been created as an abstraction layer to suit my immediate requirements. Contributions are gratefully received however, so please feel free to submit a pull request with additional features or amendments.
131131

132-
## Author
132+
## Authors
133133

134-
Author:: Sam Martin
134+
- [Sam Martin](https://github.com/Sam-Martin)
135+
- [Rick Arroues](https://github.com/Rick-2CA)
136+
- [Greg Brownstein](https://github.com/gdbarron)

ServiceNow/Public/New-ServiceNowChangeRequest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function New-ServiceNowChangeRequest {
4646
Returns the ticket values after creation
4747
4848
.LINK
49-
https://github.com/Sam-Martin/servicenow-powershell
49+
https://github.com/Snow-Shell/servicenow-powershell
5050
5151
.EXAMPLE
5252
Generate a basic change request attributed to the caller "UserName" with descriptions, categories, assignment groups and CMDB items set.

ServiceNow/Public/New-ServiceNowIncident.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function New-ServiceNowIncident{
77
Generates a new ServiceNow Incident using predefined or custom fields by invoking the ServiceNow API
88
99
.LINK
10-
https://github.com/Sam-Martin/servicenow-powershell
10+
https://github.com/Snow-Shell/servicenow-powershell
1111
1212
.EXAMPLE
1313
Generate a basic Incident attributed to the caller "UserName" with descriptions, categories, assignment groups and CMDB items set.

ServiceNow/ServiceNow.psd1

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,26 @@
1-
#
2-
# Module manifest for module 'ServiceNow'
3-
#
4-
# Generated by: Sam Martin
5-
#
6-
# Generated on: 03/05/2015
7-
#
8-
1+
92
@{
103

114
# Script module or binary module file associated with this manifest.
125
RootModule = 'ServiceNow.psm1'
136

147
# Version number of this module.
15-
ModuleVersion = '1.8.0'
8+
ModuleVersion = '1.8.1'
169

1710
# ID used to uniquely identify this module
1811
GUID = 'b90d67da-f8d0-4406-ad74-89d169cd0633'
1912

2013
# Author of this module
21-
Author = 'Sam Martin'
14+
Author = 'Sam Martin', 'Rick Arroues', 'Greg Brownstein'
2215

2316
# Company or vendor of this module
2417
CompanyName = 'None'
2518

2619
# Copyright statement for this module
27-
Copyright = '(c) 2015 Sam. All rights reserved.'
20+
Copyright = '(c) 2015-2021 Snow-Shell. All rights reserved.'
2821

2922
# Description of the functionality provided by this module
30-
Description = 'This module provides cmdlets allowing you to retrieve information from your ServiceNow instance`s rest API'
23+
Description = 'This module provides cmdlets allowing you to retrieve information from your ServiceNow instance''s REST API'
3124

3225
# Minimum version of the Windows PowerShell engine required by this module
3326
# PowerShellVersion = '3.0'
@@ -83,17 +76,18 @@ PrivateData = @{
8376
Tags = @('Azure','Automation','ServiceNow','PSModule')
8477

8578
# A URL to the license for this module.
86-
LicenseUri = 'https://github.com/Sam-Martin/servicenow-powershell/blob/master/LICENSE'
79+
LicenseUri = 'https://github.com/Snow-Shell/servicenow-powershell/blob/master/LICENSE'
8780

8881
# A URL to the main website for this project.
89-
ProjectUri = 'https://github.com/Sam-Martin/servicenow-powershell'
82+
ProjectUri = 'https://github.com/Snow-Shell/servicenow-powershell'
9083

84+
ReleaseNotes = 'https://github.com/Snow-Shell/servicenow-powershell/blob/master/CHANGELOG.md'
9185
} # End of PSData hashtable
9286

9387
} # End of PrivateData hashtable
9488

9589
# HelpInfo URI of this module
96-
# HelpInfoURI = 'https://github.com/Sam-Martin/servicenow-powershell'
90+
# HelpInfoURI = 'https://github.com/Snow-Shell/servicenow-powershell'
9791

9892
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
9993
# DefaultCommandPrefix = ''

0 commit comments

Comments
 (0)