26 lines
950 B
PowerShell
26 lines
950 B
PowerShell
cls
|
|
$File = "W:\Digital Data - Geschäftsprozesse\Manually\File\Fuchstest.bpm"
|
|
|
|
|
|
[Reflection.Assembly]::LoadFile("P:\Skriptentwickung\development\Modules\DD_LIB_Standards.dll")
|
|
|
|
$LogPath =[DD_LIB_Standards.clsLogger]::LOGFILE_PATH="E:\KammM\Log\Log.txt"
|
|
Write-Host $LogPath
|
|
exit
|
|
$Result = [DD_LIB_Standards.clsWindream]::Create_Session()
|
|
Write-warning $Result
|
|
|
|
$Result = [DD_LIB_Standards.clsWD_GET]::WDFile_exists($File)
|
|
|
|
IF ($Result -eq $true) {
|
|
|
|
$Result = [DD_LIB_Standards.clsWD_SET]::IndexFile($File, "String 37", "Doku", "Digital Data - Geschäftsprozesse")
|
|
|
|
}
|
|
|
|
###Initiieren der dll:
|
|
###1. clsLogger.LOGFILE_PATH = "logdatei-Pfad"
|
|
###2. windream-Session kreieren:
|
|
### entweder impersonate: clsWindream.Create_Session ==> Returns true or false
|
|
### oder personate: clsWindream.CreateSession_AsUser(Domain, ServerName, UserName, Password) ==> Returns true or false
|
|
###3. Classen clsWD_SET und clsWD_GET enthalten die windream-Funktionen |