I hereby claim:
- I am nicholasdille on github.
- I am nicholasdille (https://keybase.io/nicholasdille) on keybase.
- I have a public key whose fingerprint is 6FA7 3A4F 40D9 5BFF 3338 8072 686E 1548 50D2 50F8
To claim this, I am signing this object:
param( | |
[string]$ResourceUrlCacheFile = (Join-Path -Path $PSScriptRoot -ChildPath 'PSDSC-ResourceDownloader.clixml') | |
, | |
[switch]$IgnoreCachedUrls = $false | |
, | |
[switch]$OverwriteExistingModules = $false | |
) | |
if (-Not (Test-Path -Path $ResourceUrlCacheFile) -Or $IgnoreCachedUrls) { | |
$ModuleList = New-Object System.Collections.ArrayList |
function Invoke-Queue { | |
[CmdletBinding()] | |
[OutputType([System.Management.Automation.Job[]])] | |
param( | |
[Parameter(Mandatory)] | |
[ValidateNotNullOrEmpty()] | |
[System.Object[]] | |
$InputObject | |
, | |
[Parameter(Mandatory)] |
function Show-JobProgress { | |
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory,ValueFromPipeline)] | |
[ValidateNotNullOrEmpty()] | |
[System.Management.Automation.Job[]] | |
$Job | |
, | |
[Parameter()] | |
[ValidateNotNullOrEmpty()] |
function ConvertTo-Progress { | |
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory,ValueFromPipeline)] | |
[ValidateNotNullOrEmpty()] | |
[string[]] | |
$ProgressText | |
, | |
[Parameter()] | |
[ValidateNotNullOrEmpty()] |
Set wshShell = WScript.CreateObject("WScript.Shell") | |
strComputerName = wshShell.ExpandEnvironmentStrings("%ComputerName%") | |
Set updateSession = CreateObject("Microsoft.Update.Session") | |
WScript.StdOut.WriteLine "Activity=""Processing Windows Updates on " & strComputerName & """ Status=""Searching for updates"" Percentage=0" | |
Set SearchResult = Search | |
WScript.StdOut.WriteLine "Activity=""Processing Windows Updates on " & strComputerName & """ Status=""Searching for updates"" Percentage=100" | |
WScript.StdOut.WriteLine "SearchResultCode=" & SearchResult.ResultCode | |
WScript.StdOut.WriteLine "UpdatesFound=" & SearchResult.Updates.Count |
$ConfigurationData = @{ | |
AllNodes = @( | |
@{ | |
NodeName = 'sql-01' | |
Roles = @{ | |
Computer = @{ | |
MachineName = 'sql-01' | |
DomainName = 'example.com' | |
Credential = '[email protected]' | |
} |
Verifying that +nicholasdille is my blockchain ID. https://onename.com/nicholasdille |
function Test-ReturnFromFunction { | |
[CmdletBinding()] | |
param( | |
[switch] | |
$ReturnFromBegin | |
, | |
[switch] | |
$ReturnFromProcess | |
, | |
[switch] |
I hereby claim:
To claim this, I am signing this object:
Verifying that "nicholasdille.id" is my Blockstack ID. https://onename.com/nicholasdille |