This is simple enough: But how would CSV formatted data be obtained from a formatted text file? So that the data for each record is transposed a ...
This is simple enough: But how would CSV formatted data be obtained from a formatted text file? So that the data for each record is transposed a ...
I am working to build a way to iterate through all the key value pairs of a PSObject that was created by using ConvertFrom-Json. To do this, I need a ...
How do I add a noteproperty FULLNAME from a Get-ChildItem command and pass that into the $obj New-Object "X509 Cryptography" which holds the certifica ...
I am new to powershell. I have 2 pscustomobjects in powershell script. I want to bring them together as one and output into csv. The problem is the ...
I keep running into the same problem again, and i have my default way of handling it, but it keeps bugging me. Isn't there any better way? So basicly ...
I converted two json files with the Get-LeafProperty from this post Powershell Selecting NoteProperty Type Objects From Object This maked it easy to ...
Is this the correct way to have a PsObject as a Property of a parent PsObject? This seems somewhat cumbersome to be the correct way and I can't dot s ...
I have been trying to loop through a list of .json config files to pull out 'name','entity_id','contact_info','sp_endpoint'. I have been trying to tak ...
I'm started a query for our infrastructure to see how SNMP Service is configured on the servers. I managed to find a function that would extract just ...
I am new in PowerShell, and I am a bit lost, I have created a new PSobject that stores Dates and the Hash of a file and that data is stored in a .csv ...
I am writing a PowerShell script that reads a CSV file in the following format: And I want to group and sum 3 of the columns (InvoiceAmmount,Discou ...
I have a big target json file (parameters_general.json) where all common settings for a deployment are set. For each tier I have another json file (ex ...
I'm not sure what to search for to solve this one. I have a scope/persistence of data issue, where a variable used to populate my data structure is ov ...
I am sorting the contents of the a text file as below I am getting the following output with no sorting. Please let me know what I am doing wrong ...
I have the following variable $Obj set to the following string value: $Obj = '@{Version=1; Name=a;}' How do I convert this value from a string into ...
I am trying to query a powershll object collection in c# by linq.. Can someone help me in this metter... I have tried following but it does not work a ...
Ultimately, I'm trying to create a script that will get all Windows Services Running as a domain Service Account from a list of remote machines and ou ...
I can't figure out why I am not able to change these variables. If I type them into the console in debug mode, then it prints the values. It is also s ...
In C# I am trying to get the IPAddresses of my computer using the following command (the command works fine in PowerShell and, indeed, shows IP addres ...
I am trying to test the result of running Get-SBFarmStatus for failures. The output of the command looks like a nicely-formatted PSObject, but it's so ...