extend template

This commit is contained in:
Zweili Andreas 2017-07-17 07:29:47 +02:00
parent d421cfdf6a
commit 3fab585eec
1 changed files with 18 additions and 9 deletions

View File

@ -1,15 +1,24 @@
# load ActiveDirectory module
Try
{
Import-Module ActiveDirectory -ErrorAction Stop
}
Catch
{
Write-Warning $_
Break
}
function Show-Menu
{
begin
{
try
{
Import-Module ActiveDirectory -ErrorAction Stop
}
catch
{
Write-Warning $_
break
}
}
process
{
}
}