This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$source_path="C:\USB" #Change the path of source image file folder | |
$dest_path="D:\Wallpaper" #Change the path to shared folder where client can update wallpaper | |
$filename_fix="background.png" # File name defaut in GPO | |
# Save pictures to the correct directory | |
if( -Not (Test-Path -Path $dest_path ) ) | |
{ | |
New-Item -ItemType directory -Path $dest_path | |
Copy-Item "$source_path\photo1.png*" -Destination $dest_path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function main() | |
{ | |
monitor_from_file $* | |
} | |
function monitor_vpn_ip_port() | |
{ | |
local CONN_NAME=$1 |