14 lines
421 B
PowerShell
14 lines
421 B
PowerShell
$Func = {
|
|
param($C)
|
|
Import-SWDiscovery -ComputerName $C -Integration ServiceNow
|
|
}
|
|
Invoke-Command -ComputerName itdslrwndstst2.nd.gov -ScriptBlock $Func -ArgumentList $FQDN -Credential $SwCred
|
|
|
|
|
|
|
|
|
|
$Func = {
|
|
param($c)
|
|
Import-SWDiscovery -ComputerName $c -Integration ServiceNow
|
|
}
|
|
Invoke-Command -ComputerName itdslrwnds.nd.gov -ScriptBlock $Func -ArgumentList itdcndstfc19.nd.gov -Credential $IaaSAuto #Cred |