Skip to content

Instantly share code, notes, and snippets.

View samikshajuneja's full-sized avatar
🏠
Working from home

Samiksha Juneja samikshajuneja

🏠
Working from home
  • NTTDaTa
  • Delhi
View GitHub Profile
@samikshajuneja
samikshajuneja / alarm_create
Created January 16, 2023 13:25
Powercli Scripts
$alarmlist=gc C:\Users\samiksha.juneja\Desktop\hostlist.txt
$vc="THC2EXTVC01"
Connect-VIServer -Server $vc -User administrator@vsphere.local -Password Tiagptu0813!
foreach($alarm in $alarmlist)
{
$alarmname=$alarm -split ';'
$alarmname[0]
$yellowval=$alarmname[1]
@samikshajuneja
samikshajuneja / ironscripter_pscryptogram
Last active June 30, 2019 12:04
IRON scripter Powershell challenge
$crypto = @"
P k T r 2 s z 2 * c F -
r a z 7 G u D 4 w 6 U #
g c t K 3 E @ B t 1 a Y
Q P i c % 7 0 5 Z v A e
W 6 j e P R f p m I ) H
y ^ L o o w C n b J d O
S i 9 M b e r # ) i e U
* f 2 Z 6 M S h 7 V u D