forked from SCRT-HQ/PSGSuite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
!build v2.17.0 with updated psake, functions, and fixes for SCRT-HQ#102…
… and SCRT-HQ#103
- Loading branch information
Showing
11 changed files
with
96 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TestPad.ps1 | ||
**TestPad.ps1 | ||
**-PSGSuite.xml | ||
**.insyncdl | ||
.vscode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
Param | ||
( | ||
[parameter(Position = 0)] | ||
[System.Byte[]] | ||
$EncryptionKey = $(if (Get-Command Import-SCRTKey -ErrorAction SilentlyContinue) { | ||
Import-SCRTKey | ||
} | ||
else { | ||
$null | ||
}), | ||
[parameter(Position = 0,ValueFromRemainingArguments = $true)] | ||
[AllowNull()] | ||
[Byte[]] | ||
$EncryptionKey = $null, | ||
[parameter(Position = 1)] | ||
[string] | ||
$ConfigName = $null | ||
[AllowNull()] | ||
[String] | ||
$ConfigName | ||
) | ||
#Get public and private function definition files. | ||
$Public = @(Get-ChildItem -Recurse -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue) | ||
$Private = @(Get-ChildItem -Recurse -Path $PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue) | ||
$ModuleRoot = $PSScriptRoot | ||
New-Variable -Name PSGSuiteKey -Value $EncryptionKey -Scope Global -Force -PassThru |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,10 @@ Mock 'New-GoogleService' -ModuleName PSGSuite -ParameterFilter {$ServiceType -eq | |
} | ||
} | ||
} | ||
$userList += New-Object 'Google.Apis.Admin.Directory.directory_v1.Data.User' -Property @{ | ||
PrimaryEmail = "[email protected]" | ||
OrgUnitPath = "/Users" | ||
} | ||
if ( -not [String]::IsNullOrEmpty($this.Query)) { | ||
$filter = $this.Query.Trim() | ||
$left = $filter.Split('=',2)[1].Trim() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters