<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Powershell on sigtar.com</title>
		<link>https://sigtar.com/tags/powershell/</link>
		<description>Recent content in Powershell on sigtar.com</description>
		<generator>Hugo</generator>
		<language>en-nz</language>
		
		
		
		
			<lastBuildDate>Tue, 30 Jun 2020 00:00:00 +1200</lastBuildDate>
		
			<atom:link href="https://sigtar.com/tags/powershell/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>HEVC media optimization</title>
				<link>https://sigtar.com/2020/06/30/hevc-media-optimization/</link>
				<pubDate>Tue, 30 Jun 2020 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2020/06/30/hevc-media-optimization/</guid>
				<description>&lt;p&gt;&lt;img src=&#34;https://sigtar.com/wp-content/uploads/hevc_logo.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Do you have a large collection of video media files not using HEVC (H265) yet? There is a massive amount of disk space coming your way if you flick over to the new video codec format.&lt;/p&gt;&#xA;&lt;p&gt;HEVC definitely lives up to its name, for most media you can expect a 70% or more disk savings from transcoding from an old codec. There are some catches though&amp;hellip; If you want your TV to play it direct (i.e. straight off the file) the codec will need to be supported by it. You can of course get around this by using a media server such as Plex or Emby which will transcode from HEVC back to a compatible format.&lt;/p&gt;</description>
			</item>
			<item>
				<title>windows 2012 - dedup</title>
				<link>https://sigtar.com/2013/08/07/windows-2012-dedup/</link>
				<pubDate>Wed, 07 Aug 2013 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2013/08/07/windows-2012-dedup/</guid>
				<description>&lt;p&gt;If you have some archive data that you would like to copy onto a  win 2012 server, but dont know how to estimate the end volume size (if VM etc). Start small - about 1/2 of the total capacity of the drive. Robocopy the data onto the drive until nearly full, manually run dedupe, wait until complete, continue robocopy, repeat and rinse. There will be occasions where you will run out of disk space at that point its time to extend your disk.&lt;/p&gt;</description>
			</item>
			<item>
				<title>powershell - move machine types to certain OUs in active directory</title>
				<link>https://sigtar.com/2013/07/11/powershell-move-machine-types-to-certain-ous-in-active-directory/</link>
				<pubDate>Thu, 11 Jul 2013 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2013/07/11/powershell-move-machine-types-to-certain-ous-in-active-directory/</guid>
				<description>&lt;p&gt;&lt;code&gt;-------------- select additional parameters ----------------------&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Get-ADComputer -Filter * -Properties ipv4Address, OperatingSystem, OperatingSystemServicePack | Format-table name, ipv4*, operatingsystem&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;-------------- move script -----------------&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;[cmdletbinding()]&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;param ( [parameter(mandatory=$true)] $TargetOU )&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Import-Module ActiveDirectory $Domain = [ADSI]&amp;quot;&amp;quot; $DN=$domain.distinguishedName $SourcePath = &amp;quot;CN=Computers,&amp;quot; + $DN $Computers = Get-ADComputer -Filter * -SearchBase $SourcePath if(!$Computers) { write-host &amp;quot;No Computers are found in default container&amp;quot; return } foreach ($Computer in $Computers) { if(!(Move-ADObject $Computer -TargetPath $TargetOU)) { $Status = &amp;quot;SUCCESS&amp;quot; } else { $Status = &amp;quot;FAILED&amp;quot; } $OutputObj = New-Object -TypeName PSobject $OutputObj | Add-Member -MemberType NoteProperty -Name ComputerName -Value $Computer.Name.tostring() $OutputObj | Add-Member -MemberType NoteProperty -Name SourcePath -Value $SourcePath $OutputObj | Add-Member -MemberType NoteProperty -Name DestinationPath -Value $TargetOU $OutputObj | Add-Member -MemberType NoteProperty -Name Status -Value $Status $OutputObj }&lt;/code&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
