#the directory the file is in
$path_in = "D:\Projects\OTS\Agent Skill Group\Data"
#the directory the file will be moved to
$path_out = "D:\Projects\OTS\Agent Skill Group\Archive"
#get the conteents of $path_in
$contents = Get-ChildItem $path_in
#where name ends with _nodata.csv
$contents_with_nodata = $contents | ? { $_.Name -match "_nodata.csv$" }
#for each item in $contents_with_nodata
$contents_with_nodata | % { mv $_.Name "$($path_out)\$($_.Name)" }
#pipe the output of each expression into the next expression
#$contents = Get-ChildItem $path_in | ? { $_.Name -match "_nodata.csv" } | % { mv $_.Name "$($path_out)\$($_.Name)" }
Microsoft SQL Server 2008 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. Major improvements include the Always On technologies and support for unstructured data types.
TRUSTED BY