[scripting] RE: [mssms] powershell script to pull the machine last rebooted information from active directory

2016-12-02 Thread Daniel Ratliff
Sorry, v_r_system not v_r_system_valid. Only active machines show up in v_r_system_valid. Daniel Ratliff Technology Architect | Client Innovation Solutions | Information Technology Infrastructure (ITI) T 502.476.9976 | dratl...@humana.com<mailto:dratl...@humana.com> From: l

[scripting] RE: [mssms] powershell script to pull the machine last rebooted information from active directory

2016-12-02 Thread Daniel Ratliff
-manager-part-2 Machine status is under v_r_system_valid for inactive 0 or 1. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Kevin Ray Sent: Friday, December 02, 2016 10:41 AM To: mssms ; scripting@lists.myitforum.com Subject: [mssms

RE: [scripting] PowerShell to store password securely in a script?

2014-07-23 Thread Daniel Ratliff
Great info, thanks Nash. Will let everyone know what we find out. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Nash Pherson Sent: Wednesday, July 23, 2014 10:09 AM To: scripting@lists.myitforum.com Subject: RE: [scripting] PowerShell

RE: [scripting] PowerShell to store password securely in a script?

2014-07-22 Thread Daniel Ratliff
I saw some notes on that, but in all honestly I know squat about certificates. My only real experience is with script signing certs as we will eventually move to an AllSigned execution policy for our PoSH scripts. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad

RE: [scripting] PowerShell to store password securely in a script?

2014-07-22 Thread Daniel Ratliff
something centrally managed to sync instead of a push method. Thanks for the ideas everyone. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Keith Garner (Hotmail) Sent: Tuesday, July 22, 2014 1:02 PM To: scripting@lists.myitforum.com Subject

RE: [scripting] PowerShell to store password securely in a script?

2014-07-22 Thread Daniel Ratliff
/Encrypting-and-Decrypting-Strings-with-a-Key-in-PowerShell.aspx Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Ryan Sent: Tuesday, July 22, 2014 11:35 AM To: scripting@lists.myitforum.com Subject: Re: [scripting] PowerShell to store password

RE: [scripting] PowerShell to store password securely in a script?

2014-07-22 Thread Daniel Ratliff
But I cannot take that securestring and deploy it to thousands of workstations. Its only valid on the machine/account its created on/with. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Ryan Sent: Tuesday, July 22, 2014 11:09 AM To

[scripting] RE: PowerShell to store password securely in a script?

2014-07-22 Thread Daniel Ratliff
I am hoping to not have to do that. We want to deploy this as a compliance script with ConfigMgr. They currently do that today with Winbatch, so we aren't gaining much by just re-scripting it as PowerShell. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:li

[scripting] PowerShell to store password securely in a script?

2014-07-22 Thread Daniel Ratliff
multiple machines? Daniel Ratliff The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.

RE: [scripting] To WinBatch or not?

2014-05-30 Thread Daniel Ratliff
think WinBatch was enterprise suitable, but it honestly sounds like it can be. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Ryan Sent: Friday, May 30, 2014 11:13 AM To: scripting@lists.myitforum.com Subject: Re: [scripting] To WinBatch or

[scripting] To WinBatch or not?

2014-05-30 Thread Daniel Ratliff
hinks this? Thoughts? Daniel Ratliff The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.

RE: [scripting] hit or miss

2014-03-10 Thread Daniel Ratliff
Any chance the ones it's skipping are failing the test-connection? -Daniel Ratliff -Original Message- From: Daniel Chenault [dani...@hotmail.com<mailto:dani...@hotmail.com>] Sent: Monday, March 10, 2014 05:21 PM Eastern Standard Time To: scripting@lists.myitforum.com Cc

RE: [scripting] PowerShell to show hidden services?

2014-01-21 Thread Daniel Ratliff
-Context 0,8 Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Trevor Sullivan Sent: Tuesday, January 21, 2014 3:15 PM To: scripting@lists.myitforum.com Subject: RE: [scripting] PowerShell to show hidden services? Registry? [cid:image001

[scripting] PowerShell to show hidden services?

2014-01-21 Thread Daniel Ratliff
I am not having much luck finding any references online. Does anyone have a link or know a way for PowerShell to list hidden services? It doesn't look possible with Get-Service, and I would hate to use sc.exe and parse the output. Any ideas? Daniel Ratliff The information transmitt

[scripting] RE: Invoke-Command

2014-01-16 Thread Daniel Ratliff
What error do you get? Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of jlos...@mpi.mb.ca Sent: Thursday, January 16, 2014 11:03 AM To: scripting@lists.myITforum.com Subject: [scripting] Invoke-Command Hi, we have a set of scripts that

[powershell] PoSH - WinForms - RichTextBox wont appendtext on newline?

2013-12-03 Thread Daniel Ratliff
string $DeployTextBox.AppendText($tsitem + [char]13 + [char]10) #$DeployTextBox.AppendText($tsitem + "`r`n") #$DeployTextBox.AppendText("$tsitem`n") #$DeployTextBox.Text += $tsitem + "`r`n" } $DeployForm.Controls.Add($DeployTextBox) $DeployForm.A

[scripting] PoSH - WinForms - RichTextBox wont appendtext on newline?

2013-12-03 Thread Daniel Ratliff
string $DeployTextBox.AppendText($tsitem + [char]13 + [char]10) #$DeployTextBox.AppendText($tsitem + "`r`n") #$DeployTextBox.AppendText("$tsitem`n") #$DeployTextBox.Text += $tsitem + "`r`n" } $DeployForm.Controls.Add($DeployTextBox) $DeployForm.A

[scripting] RE: Simple KIX Question

2013-11-25 Thread Daniel Ratliff
http://technet.microsoft.com/en-us/library/ee692804.aspx http://ss64.com/ps/syntax-methods.html Basically says grab the x character to the y character. $mysubnet=SubStr($myaddress,5,3) would give you the 5th character to the (5+3) 8th character. Daniel Ratliff From: listsad

RE: [scripting] SCCM Task sequence package auto updation

2013-11-05 Thread Daniel Ratliff
MI, or SQL. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Kevin Ray Sent: Tuesday, November 05, 2013 12:46 PM To: scripting@lists.myitforum.com Subject: Re: [scripting] SCCM Task sequence package auto updation Yes i used to do the same but

RE: [scripting] SCCM Task sequence package auto updation

2013-11-05 Thread Daniel Ratliff
There is no easy way to handle that. I would recommend editing one task sequence the way you see fit then using copy/paste or drag/drop to copy the steps to the other 49 task sequences. We have to do this today but we only have about 20 task sequences. Daniel Ratliff From: listsad

RE: [scripting] SCCM Task sequence package auto updation

2013-11-04 Thread Daniel Ratliff
What exactly are you asking? A custom task sequence that auto-updates a package? Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of Kevin Ray Sent: Monday, November 04, 2013 2:10 PM To: scripting@lists.myitforum.com Subject: [scripting] SCCM

RE: [scripting] Temporary Local Admin rights

2013-10-18 Thread Daniel Ratliff
It wouldn't be too hard to control this remotely with PowerShell, Orchestrator, or lots of other means. Daniel Ratliff From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of it's mike Sent: Friday, October 18, 2013 12:51 PM To: scripting@lists.myi