Attempt to dumb down most commonly needed git tasks.
# initial download of the repo, get link from the green "Clone or download" button on github
git clone [url]
to remove old licenses: /usr/local/Enterasys_Networks/NetSight/appdata/license |
Param ( | |
[Parameter(Mandatory = $false, Position = 0)] | |
[string]$ComputerName = 'localhost', | |
[Parameter(Mandatory = $false, Position = 1)] | |
[string]$OutputPath, | |
[Parameter(ParameterSetName = "Credential", Mandatory = $false)] | |
[System.Management.Automation.PSCredential] | |
[System.Management.Automation.Credential()] |
function Invoke-ScriptAsync { | |
[cmdletbinding()] | |
param( | |
#Script block to execute | |
[Parameter(Mandatory)] | |
[ScriptBlock] $ScriptBlock, | |
#Array of argument lists or parameter hashes for the script block |
Get-VMHost | Select Name,Model, ` | |
@{Name = "Hostname";Expression = {$_.NetworkInfo.Hostname}}, ` | |
@{Name = "Cluster";Expression = {$_.Parent.Name}}, ` | |
@{Name = "ServiceTag";Expression = {((get-view -ViewType HostSystem -Filter @{"Name" = $_.Name} -Property "Summary.Hardware.OtherIdentifyingInfo").Summary.Hardware.OtherIdentifyingInfo | ? { $_.IdentifierType.key -eq 'ServiceTag' }).IdentifierValue}} |
#!/usr/bin/env bash | |
#--------------------------------------------------------------------------------------------- | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# Licensed under the MIT License. See License.txt in the project root for license information. | |
#--------------------------------------------------------------------------------------------- | |
# | |
# Bash script to install the Azure CLI | |
# |
# Use environment variables | |
############################ | |
# do this in your shell or add to your shell profile | |
export DEFAULT_SERIAL="/dev/cu.usbserial-ABCDEF" | |
# add the following config to ansible-navigator config file (multiple locations available https://ansible-navigator.readthedocs.io/en/latest/settings/) | |
execution-environment: | |
environment-variables: | |
pass: |
--- | |
- name: Deploy vcsa to ESX host | |
hosts: esxi | |
connection: local | |
gather_facts: no | |
tasks: | |
- name: Deploy VCSA OVF | |
community.vmware.vmware_deploy_ovf: | |
hostname: "{{ esxi_hostname }}" | |
username: "{{ esxi_username }}" |
--- | |
- name: Get computer from Hyper-V | |
gather_facts: false | |
hosts: scvmm | |
tasks: | |
# swap DNSHostName with desired property name | |
- name: Get computer from Hyper-V | |
ansible.windows.win_shell: | | |
$VMs = Get-SCVirtualMachine |
This document will provide an example configuration for Azure AD SSO with SAML for Ansible Automation Platform. This method has a good bit more flexibility that the available Azure AD OAuth2 settings. All settings discussed below are found under Settings > SAML Settings in AAP. Setup of the Azure AD Enterprise Application config is not covered. Official AAP SAML Docs.
This is the unique ID used to identify AAP to Azure AD. Usually this is the URL of AAP. You'll need this when you setup the Enterprise Application in Azure AD.