? Powershell Script to delete files not in a list with progress bar

I have a folder with .jpg files in it. I associate these with products in an access database. One of the sources for products provides these .jpg files but they do not allow you to easily download onl
 ? Powershell Export-Csv creates empty files

I am trying to remove columns from a lot of CSVs at once with Powershell. I'm trying to useGet Child-Item *.csv | Foreach-Object {Import-Csv $_ | select data, close | Export-Csv $_ - NoTypeInformation
 ? How to use mutli-line commands such as here-strings when piping a script?

When playing with the -Command - option of the PowerShell executable, I came across the following limitation:Write-Host "SETUP"Set-PSDebug -Trace 2Write-Host "TEST ONE"$foo = "BAR"Write-Host "TEST TWO
 ? Default sort property

Using PowerShell, I'm trying to understand the concept of default sort property.According to this example, provided for the Sort-Object command :PS C:\>get-childitem | sort-objectBecause no propert
 ? Powershell Child Property Reference Parent Property

I'm trying to set a child property in a custom object using a parent property. $objServer = New-Object PSObject -Property @{ Name = "Some Name"; BaseFilePath = "c:\somepath" Section1 = New-O
 ? Powershell Child Property Reference Parent Property

I'm trying to set a child property in a custom object using a parent property. $objServer = New-Object PSObject -Property @{ Name = "Some Name"; BaseFilePath = "c:\somepath" Section1 = New-O
 ? Powershell Child Property Reference Parent Property

I'm trying to set a child property in a custom object using a parent property. $objServer = New-Object PSObject -Property @{ Name = "Some Name"; BaseFilePath = "c:\somepath" Section1 = New-O
 ? Powershell: Child Property Deflation

Not sure if "deflating" is the right term, but I was wondering if there's a nicer way to specify that you only want to return a selection of an object's children's properties whilst using Select-Objec
 ? How to reference parent in PowerShell script property

Given a nested PowerShell custom object like this:$O = [PSCustomObject]@{ ParentValue = 100 ChildValueArray = @( [PSCustomObject]@{ Name = 'First'; Value = 1 }, [PSCustomObject]@{ Name = 'Second
 ? Powershell Add XmlElement

I have an XML file I'm trying to modify and want to add a new node to an existing config file. What I'm trying to do is use a multi line xml statement and add it to the XML file by using AppendChild.
 ? While parsing any URL DOM is not loading

$ie = new-object -com internetexplorer.application $ie.visible=$true$ie.navigate('https://google.co.in')while($ie.ReadyState -ne 4){ Write-Host "dom is loading" $ie.ReadyState -eq 4 $ie.Read
 ? convert formatted mac address to an hex value

I have a mac address as a string in the following format: xx:xx:xx:xx:xx:xx (six groups of two hexadecimal digits, separated by colons).I want to convert the string into it's respective hex value (as
 ? How to find mac address in active directory

Can you get mac addresses from Active Directory using Powershell? I am looking for a way to search for mac addresses in specific OUs if this is possible. Overall, I would like a dynamic way to find
 ? How to run a script on a new Hyper-V Windows VMM virtual machine

I use a powershell script, triggered by teamcity, to spin up new Windows Server VMs. Currently, when the machine is up and running, I need to log in via the VMM console to make a couple of configurati
 ? How to run an EXE file in PowerShell with parameters with spaces and quotes

How do you run the following command in PowerShell? C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe -verb:sync -source:dbfullsql="Data Source=mysource;Integrated Security=false;User ID=sa;Pwd=
 ? Convert fixed width txt file to CSV / set-content or out-file -append?

Input file is a fixed-width txt file. My client normally opens it in Excel and manually specifies the column breaks. I'm hoping to replace certain blank spaces with a comma, so that I can parse as CSV

Page 1 of 198  |  Show More Pages:  Top Prev Next Last