Архив за месяц: Сентябрь 2015

Exchange пользовательские правила сортировки

$users = get-mailbox
ForEach ($user in $users)
{
$rules = Get-InboxRule -Mailbox $user.name
if ($rules.length -gt 0) {
echo "------------------------------------------"
echo $user.name
echo "------------------------------------------"
$rules | select name, priority, description | fl
echo "------------------------------------------"
}
}

cisco kron reload

router#clock set 21:44:20 sep 22 2015
router(config)#kron policy-list reloadrouter
router(config-kron-policy)#cli reload
router(config-kron-policy)#exit
router(config)#kron occurrence reloadrouter at 04:01 recurring
router(config-kron-occurrence)#policy-list reloadrouter
router(config-kron-occurrence)#exit
router#wr