Skip to content

Instantly share code, notes, and snippets.

# Common config
# mac: pbcopy, ubuntu: xclip, windows: clip.exe
local ALTIMA_CORE_CLIPBOARD_CMD=pbcopy
local ALTIMA_LITE_NETID=REPLACE_WITH_NETID
local ALTIMA_LITE_OP=REPLACE_WITH_OP_ACCOUNT
local ALTIMA_LITE_CA_ID=REPLACE_WITH_OP_ID
# Standard config
export ALTIMA_CYBERARK_ROOT_URL=https://pvwa.dartmouth.edu/PasswordVault/WebServices
export ALTIMA_CYBERARK_API_CREDENTIAL_USERNAME=$ALTIMA_LITE_NETID
===========================================================================
Interface List
17...02 50 41 00 00 01 ......PANGP Virtual Ethernet Adapter
8...d4 81 d7 d5 56 ff ......Intel(R) Ethernet Connection (2) I219-LM
2...00 15 5d d7 0f 82 ......Hyper-V Virtual Ethernet Adapter #2
18...16 ab c5 b4 14 e6 ......Microsoft Wi-Fi Direct Virtual Adapter #2
26...14 ab c5 b4 14 e6 ......Intel(R) Dual Band Wireless-AC 8260
20...14 ab c5 b4 14 ea ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
28...02 15 0b a8 ca 2d ......Hyper-V Virtual Ethernet Adapter
===========================================================================
Interface List
17...02 50 41 00 00 01 ......PANGP Virtual Ethernet Adapter
8...d4 81 d7 d5 56 ff ......Intel(R) Ethernet Connection (2) I219-LM
2...00 15 5d d7 0f 82 ......Hyper-V Virtual Ethernet Adapter #2
18...16 ab c5 b4 14 e6 ......Microsoft Wi-Fi Direct Virtual Adapter #2
26...14 ab c5 b4 14 e6 ......Intel(R) Dual Band Wireless-AC 8260
20...14 ab c5 b4 14 ea ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
28...02 15 0b a8 ca 2d ......Hyper-V Virtual Ethernet Adapter
4543 11:33:54.397070 execve("/bin/ping", ["ping", "8.8.8.8", "-c", "1"], 0x7ffffb9e7ed8 /* 16 vars */) = 0
4543 11:33:54.402669 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
4543 11:33:54.402925 brk(NULL) = 0x7fffc294d000
4543 11:33:54.403253 fcntl(0, F_GETFD) = 0
4543 11:33:54.403418 fcntl(1, F_GETFD) = 0
4543 11:33:54.403555 fcntl(2, F_GETFD) = 0
4543 11:33:54.403696 access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
4543 11:33:54.403932 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
4543 11:33:54.404205 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
4543 11:33:54.404425 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
4379 11:32:48.989141 execve("/usr/bin/nslookup", ["nslookup", "github.com"], 0x7ffffcb62d38 /* 52 vars */) = 0
4379 11:32:48.995619 brk(NULL) = 0x7fffc36aa000
4379 11:32:48.996233 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
4379 11:32:48.996741 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
4379 11:32:48.997126 openat(AT_FDCWD, "/c/dartbox/Utilities/OracleClient/instantclient_12_2_linux/tls/x86_64/x86_64/libdns.so.1100", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
4379 11:32:48.998362 stat("/c/dartbox/Utilities/OracleClient/instantclient_12_2_linux/tls/x86_64/x86_64", 0x7fffcbf7f310) = -1 ENOENT (No such file or directory)
4379 11:32:48.999196 openat(AT_FDCWD, "/c/dartbox/Utilities/OracleClient/instantclient_12_2_linux/tls/x86_64/libdns.so.1100", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
4379 11:32:48.999860 stat("/c/dartbox/Utilities/OracleClient/instantclient_12_2_linux/tls/x86_64", 0x7fffcbf7f310) =
31766 execve("/usr/bin/ssh", ["ssh", "-T", "git@github.com"], 0x7fffdaf42d98 /* 51 vars */) = 0
31766 brk(NULL) = 0x7fffbfd9c000
31766 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
31766 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
31766 openat(AT_FDCWD, "/c/dartbox/Utilities/OracleClient/instantclient_12_2_linux/tls/x86_64/x86_64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
31766 stat("/c/dartbox/Utilities/OracleClient/instantclient_12_2_linux/tls/x86_64/x86_64", 0x7fffc8535190) = -1 ENOENT (No such file or directory)
31766 openat(AT_FDCWD, "/c/dartbox/Utilities/OracleClient/instantclient_12_2_linux/tls/x86_64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
31766 stat("/c/dartbox/Utilities/OracleClient/instantclient_12_2_linux/tls/x86_64", 0x7fffc8535190) = -1 ENOENT (No such file or directory)
31766 openat(AT_FDCWD, "/c/dartbox/Utilities/OracleClient/instantclient
function Get-Policy
{
param (
[Parameter(Mandatory=$true)][string]$LTM,
[Parameter(Mandatory=$true)][System.Management.Automation.PSCredential]$Credential,
[Parameter(Mandatory=$true)][string]$Partition,
[Parameter(Mandatory=$true)][string]$PolicyName,
[Parameter(Mandatory=$false)][string]$LTMVersion = $DefaultLTMVersion
)