Skip to content

Instantly share code, notes, and snippets.

Darren Robinson darrenjrobinson

Block or report user

Report or block darrenjrobinson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View UniversalDashboard-StockchartExample.ps1
import-module UniversalDashboard.Community
import-Module UniversalDashboard.UDFinancialChart
Get-UDDashboard | Stop-UDDashboard
$Theme = New-UDTheme -Name "darrenjrobinson" -Definition @{
'.dropdown-content' = @{
'min-width' = '450px'
}
'.btn-floating' = @{
View SailPoint IdentityNow Security Configuration Report.ps1
import-module SailPointIdentityNow
Get-IdentityNowOrg
Set-IdentityNowOrg -orgName 'yourOrgName'
# Document IdentityNow Security Configuration
$orgName = (Get-IdentityNowOrg).'Organisation Name'
# Output Path and Image
$reportImagePath = "C:\Reports\SailPoint IdentityNow 240px.png"
View AST-AX-3y.csv
Open High Close Low Volume Date
1.61 1.615 1.61 1.595 5272329 09-01-2017
1.61 1.61 1.59 1.585 4594488 10-01-2017
1.585 1.6 1.59 1.58 3310098 11-01-2017
1.6 1.605 1.585 1.58 2315660 12-01-2017
1.59 1.59 1.585 1.575 2214042 13-01-2017
1.59 1.597 1.59 1.58 3339078 16-01-2017
1.585 1.59 1.585 1.565 4616138 17-01-2017
1.59 1.59 1.56 1.56 7222720 18-01-2017
1.56 1.58 1.57 1.55 6027051 19-01-2017
@darrenjrobinson
darrenjrobinson / Set SailPointIdentityNow PowerShell Module Credentials.ps1
Last active Oct 21, 2019
Configure SailPointIdentityNow PowerShell Module Credentials v2 and v3 for use with the SailPoint IdentityNow PowerShell Module. Associated blogpost https://blog.darrenjrobinson.com/generate-sailpoint-identitynow-v2-v3-api-credentials/
View Set SailPointIdentityNow PowerShell Module Credentials.ps1
Import-Module SailPointIdentityNow
$orgName = "YOUR_ORG"
Set-IdentityNowOrg -orgName $orgName
# IdentityNow Admin User
$adminUSR = "YOUR_ADMIN_USER"
$adminPWD = 'YOUR_ADMIN_USER_PASSWORD'
$adminCreds = [pscredential]::new($adminUSR, ($adminPWD | ConvertTo-SecureString -AsPlainText -Force))
View Get IdentityNow VA Clusters.ps1
# IdentityNow Orgname
$orgName = "yourOrgName"
# IdentityNow Admin User
$adminUSR = [string]"YourAdminAccount".ToLower()
$adminPWDClear = 'yourAdminPassword'
# Generate the password hash
# Requires Get-Hash from PowerShell Community Extensions (PSCX) Module
# https://www.powershellgallery.com/packages/Pscx/3.2.2
@darrenjrobinson
darrenjrobinson / import.ps1
Last active Aug 29, 2019
Microsoft Identity Manager Granfeldt PowerShell MA Workday Import Script (Multi-Threaded). Associated blogpost https://blog.darrenjrobinson.com/multi-threading-granfeldt-powershell-management-agent-imports/
View import.ps1
param (
[string]$Username,
[string]$Password,
$Credentials,
$OperationType,
[bool] $usepagedimport,
$pagesize
)
$pwd = ConvertTo-SecureString $Password -AsPlainText -Force
@darrenjrobinson
darrenjrobinson / ChatOps-for-MIM-Teams.ps1
Last active Aug 27, 2019
ChatOps for Microsoft Identity Manager - Teams Configuration and Start Script. https://blog.darrenjrobinson.com/chatops-for-microsoft-identity-manager/
View ChatOps-for-MIM-Teams.ps1
# Install Poshbot PowerShell Module if it doesn't already exist
if (-not (Get-Module -Name "Poshbot")) {
install-module Poshbot
}
# Install LithnetRMA PowerShell Module if it doesn't already exist
if (-not (Get-Module -Name "LithnetRMA")) {
install-module LithnetRMA
}
@darrenjrobinson
darrenjrobinson / ChatOps-for-MIM-Slack.ps1
Last active Aug 27, 2019
ChatOps for Microsoft Identity Manager - Slack Configuration and Start Script. Associate blogpost https://blog.darrenjrobinson.com/chatops-for-microsoft-identity-manager/
View ChatOps-for-MIM-Slack.ps1
# Install Poshbot PowerShell Module if it doesn't already exist
if (-not (Get-Module -Name "Poshbot")) {
install-module Poshbot
}
# Install LithnetRMA PowerShell Module if it doesn't already exist
if (-not (Get-Module -Name "LithnetRMA")) {
install-module LithnetRMA
}
View schema.ps1
# Azure MFA API Schema
$obj = New-Object -Type PSCustomObject
$obj | Add-Member -Type NoteProperty -Name "Anchor-ID|String" -Value "f2ceedf9-888f-4313-bf97-2326f066abc3"
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "mfaUser"
$obj | Add-Member -Type NoteProperty -Name "userPrincipalName|string" -Value "string"
$obj | Add-Member -Type NoteProperty -Name "isMfaRegistered|boolean" -Value $true
$obj | Add-Member -Type NoteProperty -Name "isRegistered|boolean" -Value $true
$obj | Add-Member -Type NoteProperty -Name "authMethods|string[]" -Value ("string","string")
$obj | Add-Member -Type NoteProperty -Name "isEnabled|boolean" -Value $true
$obj | Add-Member -Type NoteProperty -Name "isCapable|boolean" -Value $true
View import.ps1
param (
$Username,
$Password,
$OperationType,
[bool] $usepagedimport,
$pagesize,
$Credentials
)
$DebugFilePath = "C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Extensions\AzureMFA\Debug\mfaUsersImport.txt"
You can’t perform that action at this time.