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
#################################### | |
#Set the PowerShell Execution Policy | |
Set-ExecutionPolicy Unrestricted -Force | |
#======================================================================= | |
# creating Log-File | |
#======================================================================= | |
$Date = "{0:yyyyMMdd-hh.mm.dd}" -f (get-date) | |
$scriptname = "startoobe-test.ps1" | |
$Logpath = "C:\windows\Logs\VEKA_Provisioning" |
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
Set-ExecutionPolicy Unrestricted -Force | |
#======================================================================= | |
# creating Log-File | |
#======================================================================= | |
$Date = "{0:yyyyMMdd-hh.mm.dd}" -f (get-date) | |
$scriptname = "set-language_test.ps1" | |
$Logpath = "C:\windows\Logs\VEKA_Provisioning\" | |
if (Get-ChildItem "$Logpath*.log" -Recurse -Filter "*$scriptname*") | |
{$Log_File = (Get-ChildItem "$Logpath*.log" -Recurse -Filter "*$scriptname*")} |
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
#$Transcript = "$((Get-Date).ToString('yyyy-MM-dd-HHmmss'))-cleanup.log" | |
#$joinpath = "c:\windows\temp\Autopilot\$Transcript" | |
#Start-Transcript -Path $joinpath -ErrorAction Ignore | Out-Null | |
#======================================================================= | |
# creating Log-File | |
#======================================================================= | |
$Date = "{0:yyyyMMdd-hh.mm.dd}" -f (get-date) | |
$scriptname = "cleanup.ps1" |
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
Set-ExecutionPolicy Unrestricted -Force | |
#======================================================================= | |
# creating Log-File | |
#======================================================================= | |
$Date = "{0:yyyyMMdd-hh.mm.dd}" -f (get-date) | |
$scriptname = "set-language.ps1" | |
$Logpath = "C:\windows\Logs\VEKA_Provisioning\" | |
if (Get-ChildItem "$Logpath*.log" -Recurse -Filter "*$scriptname*") | |
{$Log_File = (Get-ChildItem "$Logpath*.log" -Recurse -Filter "*$scriptname*")} |
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
#################################### | |
#Set the PowerShell Execution Policy | |
Set-ExecutionPolicy Unrestricted -Force | |
#======================================================================= | |
# creating Log-File | |
#======================================================================= | |
$Date = "{0:yyyyMMdd-hh.mm.dd}" -f (get-date) | |
$scriptname = "startoobe.ps1" | |
$Logpath = "C:\windows\Logs\VEKA_Provisioning" |
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
#$Transcript = "$((Get-Date).ToString('yyyy-MM-dd-HHmmss'))-cleanup.log" | |
#$joinpath = "c:\windows\temp\Autopilot\$Transcript" | |
#Start-Transcript -Path $joinpath -ErrorAction Ignore | Out-Null | |
#======================================================================= | |
# creating Log-File | |
#======================================================================= | |
$Date = "{0:yyyyMMdd-hh.mm.dd}" -f (get-date) | |
$scriptname = "cleanup.ps1" |