This commit is contained in:
2020-05-22 14:35:46 -04:00
parent c5b16d024c
commit 7907fe891b
15 changed files with 198 additions and 59 deletions
+6 -2
View File
@@ -1,7 +1,11 @@
## Only specify a network ID here if it isn't specified in an environment variable (RMM or endpoint) or you need to override that value:
param(
[string]$JoinNetwork
)
## Only specify a network ID here if it isn't specified in an environment variable (RMM or endpoint) or you need to override that value:
$JoinNetwork = ''
## If $JoinNetwork is not specified at the command line, use Syncro's ZTNetworkID customer custom field if it exists
## If $JoinNetwork is not specified at the command line, use the ZTNetworkID customer custom field if it exists
If ( (-not $JoinNetwork) -and ($ZeroTierNetworkID) ) { $JoinNetwork = $ZeroTierNetworkID }
## Get Windows version