9. Februar 2015 16:28
Set-ExecutionPolicy –ExecutionPolicy RemoteSigned9. Februar 2015 16:29
10. Februar 2015 23:33
11. Februar 2015 08:48
11. Februar 2015 12:16
11. März 2015 00:31
23. April 2015 11:42
20. Januar 2016 09:23
21. August 2016 10:14
 , aber nun ist auch PowerShell selber ein Open-Source-Projekt und auch unter Linux verfügbar.
 , aber nun ist auch PowerShell selber ein Open-Source-Projekt und auch unter Linux verfügbar.23. September 2016 12:52
27. September 2016 08:08
 
 27. September 2016 09:25
Get-ChildItem “.\single” -recurse | Select-String -pattern “Posting Date” | group path | select name, count27. September 2016 10:42
grep -c "Posting Date" ./single/*.txt|grep -v ":0$" 
 8. November 2017 15:42
fiddi hat geschrieben:Hallo,
ein weiterer interessanter Powershell- Link ist dieser hier
How to get back the 'hotfix directories' from NAV 2015 Cumulative Update 1
 # Language Specific Folders
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\RTC\de-DE
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\RTC\DEU
 
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\NST\Add-ins
 # Language Specific Folder
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\NST\de-DE # Language Specific Files for DE 
 # RTC
 # Path Example C:\CU 25 NAV 2016 DE\NAV.9.0.49424.DE.DVD\Installers\DE\RTC\PFiles\Microsoft Dynamics NAV\90\RoleTailored Client
 Copy-Item $DvdDirectory\"Installers\DE\RTC\PFiles\Microsoft Dynamics NAV\"$NavVersion"\RoleTailored Client\de-DE"\* -destination $BatchDirectory\_Temp\RTC\de-DE -recurse -Force
 Copy-Item $DvdDirectory\"Installers\DE\RTC\PFiles\Microsoft Dynamics NAV\"$NavVersion"\RoleTailored Client\DEU"\* -destination $BatchDirectory\_Temp\RTC\DEU -recurse -Force
 # NST
 # Path Example C:\CU 25 NAV 2016 DE\NAV.9.0.49424.DE.DVD\Installers\DE\Server\PFiles\Microsoft Dynamics NAV\90\Service\de-DE
 Copy-Item $DvdDirectory\"Installers\DE\Server\PFiles\Microsoft Dynamics NAV\"$NavVersion"\Service\de-DE"\* -destination $BatchDirectory\_Temp\NST\de-DE -recurse -Force# Keep these !
 #RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\RTC\ 'ENU')
 #RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\RTC\ 'en-US')
 15. Dezember 2017 01:17
8. Januar 2018 16:18
<#
 .SYNOPSIS
 This cmdlet copies all the DVD files to create a batch ready set of files.
 .DESCRIPTION
 This cmdlet copies all the DVD files to create a batch ready set of files..
 It skips files that are not needed in installation scenarios such as .config files.
 .PARAMETER DvdDirectory
 Specifies the directory where the uncompressed Cumulative Update DVD subdirectory is located.
 .PARAMETER BatchDirectory
 Specifies the directory that should hold the result set of files, i.e., the directory to copy to.
#>
function Copy-UpdateFilesToBatchDirectoryAllVersions
{
 [CmdletBinding()]
 param (
 [parameter(Mandatory=$true)]
 [string] $DvdDirectory,
 [parameter(Mandatory=$true)]
 [string] $BatchDirectory
 )
 PROCESS
 {
 # Copy all the Dvd files to a _TEMP folder
 if (Test-Path -Path $DvdDirectory\"RoleTailoredClient\program files\Microsoft Dynamics NAV\70")
 {
 $NavVersion = "70"
 }
  if (Test-Path -Path $DvdDirectory\"RoleTailoredClient\program files\Microsoft Dynamics NAV\71")
 {
 $NavVersion = "71"
 }
 if (Test-Path -Path $DvdDirectory\"RoleTailoredClient\program files\Microsoft Dynamics NAV\80")
 {
 $NavVersion = "80"
 }
 elseif (Test-Path -Path $DvdDirectory\"RoleTailoredClient\program files\Microsoft Dynamics NAV\90")
 {
 $NavVersion = "90"
 }
 elseif (Test-Path -Path $DvdDirectory\"RoleTailoredClient\program files\Microsoft Dynamics NAV\100")
 {
 $NavVersion = "100"
 }
 elseif (Test-Path -Path $DvdDirectory\"RoleTailoredClient\program files\Microsoft Dynamics NAV\110")
 {
 $NavVersion = "110"
 }
 else
 {
 Write-Host Please check your DvdDirectory parameter
 return 
 }
 Write-Verbose "Copying files from $DvdDirectory to $BatchDirectory\_Temp\..."
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\RTC\Add-ins
 # Language Specific Folders
 if (-not $NavVersion -eq "110")
 {
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\RTC\de-DE
 }
 
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\RTC\DEU
 
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\NST\Add-ins
 # Language Specific Folder
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\NST\de-DE
 if (-not $NavVersion -eq "110")
 {
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\BPA
 }
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\"WEB CLIENT"
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\OUTLOOK
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\ADCS
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\HelpServer
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\UpgradeToolKit
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\WindowsPowerShellScripts
 if (($NavVersion -eq "90") -or ($NavVersion -eq "100") -or ($NavVersion -eq "110"))
 {
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\CrmCustomization
 New-Item -ItemType Directory -Force -Path $BatchDirectory\_Temp\TestToolKit
 }
 Copy-Item $DvdDirectory\"RoleTailoredClient\program files\Microsoft Dynamics NAV\"$NavVersion"\RoleTailored Client"\* -destination $BatchDirectory\_Temp\RTC -recurse -Force
 Copy-Item $DvdDirectory\"ServiceTier\program files\Microsoft Dynamics NAV\"$NavVersion"\Service"\* -destination $BatchDirectory\_Temp\NST -recurse -Force
 if (-not $NavVersion -eq "110")
 {
 Copy-Item $DvdDirectory\BPA\* -destination $BatchDirectory\_Temp\BPA -recurse -Force
 }
 Copy-Item $DvdDirectory\"WebClient\Microsoft Dynamics NAV\"$NavVersion"\Web Client"\* -destination $BatchDirectory\_Temp\"WEB CLIENT" -recurse -Force
 Copy-Item $DvdDirectory\"Outlook\program files\Microsoft Dynamics NAV\"$NavVersion"\OutlookAddin"\* -destination $BatchDirectory\_Temp\OUTLOOK -recurse -Force
 Copy-Item $DvdDirectory\"ADCS\program files\Microsoft Dynamics NAV\"$NavVersion"\Automated Data Capture System"\* -destination $BatchDirectory\_Temp\ADCS -recurse -Force
 Copy-Item $DvdDirectory\"HelpServer\DynamicsNAV"$NavVersion"Help"\* -destination $BatchDirectory\_Temp\HelpServer -recurse -Force
 Copy-Item $DvdDirectory\"UpgradeToolKit"\* -destination $BatchDirectory\_Temp\UpgradeToolKit -recurse -Force
 Copy-Item $DvdDirectory\"WindowsPowerShellScripts"\* -destination $BatchDirectory\_Temp\WindowsPowerShellScripts -recurse -Force
 if (($NavVersion -eq "90") -or ($NavVersion -eq "100") -or ($NavVersion -eq "110"))
 {
 Copy-Item $DvdDirectory\"CrmCustomization"\* -destination $BatchDirectory\_Temp\CrmCustomization -recurse -Force
 Copy-Item $DvdDirectory\"TestToolKit"\* -destination $BatchDirectory\_Temp\TestToolKit -recurse -Force
 }
 # Language Specific Files for DE 
 # RTC
 # Path Example C:\CU 25 NAV 2016 DE\NAV.9.0.49424.DE.DVD\Installers\DE\RTC\PFiles\Microsoft Dynamics NAV\90\RoleTailored Client
 if (-not $NavVersion -eq "110")
 {
 Copy-Item $DvdDirectory\"Installers\DE\RTC\PFiles\Microsoft Dynamics NAV\"$NavVersion"\RoleTailored Client\de-DE"\* -destination $BatchDirectory\_Temp\RTC\de-DE -recurse -Force
 }
 Copy-Item $DvdDirectory\"Installers\DE\RTC\PFiles\Microsoft Dynamics NAV\"$NavVersion"\RoleTailored Client\DEU"\* -destination $BatchDirectory\_Temp\RTC\DEU -recurse -Force
 # NST
 # Path Example C:\CU 25 NAV 2016 DE\NAV.9.0.49424.DE.DVD\Installers\DE\Server\PFiles\Microsoft Dynamics NAV\90\Service\de-DE
 if (-not $NavVersion -eq "110")
 {
 Copy-Item $DvdDirectory\"Installers\DE\Server\PFiles\Microsoft Dynamics NAV\"$NavVersion"\Service\de-DE"\* -destination $BatchDirectory\_Temp\NST\de-DE -recurse -Force
 }
 
 
 Write-Verbose "Done copying files RTC files from $DvdDirectory to $BatchDirectory\_Temp."
 
 # Delete files that are not needed for an installation scenario
 Write-Verbose "Deleting files from $BatchDirectory that are not needed for the batch directory..."
 Get-ChildItem $BatchDirectory\_Temp -include '*.chm' -Recurse | Remove-Item -force -ErrorAction SilentlyContinue
 Get-ChildItem $BatchDirectory\_Temp -include '*.hh' -Recurse | Remove-Item -force -ErrorAction SilentlyContinue
 Get-ChildItem $BatchDirectory\_Temp -include '*.config' -Recurse | Remove-Item -force -ErrorAction SilentlyContinue
 Get-ChildItem $BatchDirectory\_Temp -include '*.ico' -Recurse | Remove-Item -force -ErrorAction SilentlyContinue
 Get-ChildItem $BatchDirectory\_Temp -include '*.flf' -Recurse | Remove-Item -force -ErrorAction SilentlyContinue
 Get-ChildItem $BatchDirectory\_Temp -include '*.sln' -Recurse | Remove-Item -force -ErrorAction SilentlyContinue
 # Keep these !
 #RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\RTC\ 'ENU')
 #RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\RTC\ 'en-US')
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\RTC\ 'Images')
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\RTC\ 'SLT')
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\RTC\ 'ReportLayout')
 if (-not $NavVersion -eq "110")
 {
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\BPA\ 'Scripts')
 }
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\HelpServer\ 'css')
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\HelpServer\ 'help')
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\HelpServer\ 'images')
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\_Temp\WindowsPowerShellScripts\ 'ApplicationMergeUtilities')
 Write-Verbose "Done deleting files from $BatchDirectory that are not needed for for the batch directory."
 # Copy the result to the requested directory and remove the _Temp folder
 Copy-Item $BatchDirectory\_Temp\* -destination $BatchDirectory\ -recurse -Force
 RemoveUnnecessaryDirectory (Join-Path $BatchDirectory\ '_Temp')
 }
}
function RemoveUnnecessaryDirectory
{
 param ([string]$directory)
 Remove-Item $directory -force -Recurse -ErrorAction SilentlyContinue
}
16. Januar 2018 18:25
 .
 .21. Februar 2018 14:46
 )
 )Add-Type -AssemblyName System.Speech
$synthesizer = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer
$synthesizer.Speak("Hallo, hier ist ihr HAL 9000 Computer. Was kann ich für Sie tun?")17. September 2018 15:17
5. März 2020 16:17
20. Oktober 2020 20:56
12. Dezember 2021 22:40
 .
 . Tim Corey: .NET Framework vs .NET Core vs .NET vs .NET Standard vs C#
  Tim Corey: .NET Framework vs .NET Core vs .NET vs .NET Standard vs C#1. Juni 2023 11:50