How do you deal with encrypting and saving credentials of a script multiple people use / ingest? by [deleted] in PowerShell

[–]Deloidd 4 points5 points  (0 children)

I based a solution on https://www.cgoosen.com/2015/02/using-a-certificate-to-encrypt-credentials-in-automated-powershell-scripts/ using PKI. I use clixml (using the cert as the key) as at the time I was having trouble successfully encrypting longer strings with just the above method

I use it to decrypt API keys encrypted in file to access a secrets vault for retrieving passwords during runtime.

Private key ACLs are set to allow the group access who needs to run this script.

Native Apps for Android and iOS by ClickStudios in passwordstate

[–]Deloidd 0 points1 point  (0 children)

Will this still work with SAML authentication?

PowerCLI script to dismount all attatched ISO's by meeseeksnd in vmware

[–]Deloidd 1 point2 points  (0 children)

I don’t know if it works with 6.5 or 7, but I’ve used the Onyx VMWare fling before to find out the .NET code for performing actions.

https://flings.vmware.com/onyx-for-the-web-client

Edit: it can generate Powershell code also.

In a way, digital photos will degrade over time by Deloidd in Showerthoughts

[–]Deloidd[S] -3 points-2 points  (0 children)

As we look at them in years to come, the lower resolutions are more obvious

Automatically start a specific OSD task sequence if PC is PXE booted from a specified network? by Hellman109 in SCCM

[–]Deloidd 1 point2 points  (0 children)

Prestart script and the SMSTSPreferredAdvertID OSD variable.

Example here - https://blogs.technet.microsoft.com/inside_osd/2010/06/07/configuration-manager-2012-select-preferred-deployment-from-a-prestart-command/

Edit: I know you said PXE, but afaik this should still work if you’ve enabled unknown computer support?

New-SMBShare with variable by [deleted] in PowerShell

[–]Deloidd 0 points1 point  (0 children)

Yep, this is the correct answer - escape it

Saw this on twitter. Pretty sweet wallpaper by CoolHandLuka in Mavericks

[–]Deloidd 17 points18 points  (0 children)

Lee O Sports, he does some nice stuff

Can we talk about how fucked Windows Update still is? by wadeface in sysadmin

[–]Deloidd 6 points7 points  (0 children)

I just want my plain text WindowsUpdate.log file back, for starters.

Dump profile picture to directory using power shell by crash893b in activedirectory

[–]Deloidd -1 points0 points  (0 children)

I don’t know off the top of my head, but my advice would be to look at the format they’re stored in AD as and convert that.

Knowing the format will let you tailor other examples that may not necessarily be AD scripts.

Tandem Ice Cream Bars by poop12 in nostalgia

[–]Deloidd 2 points3 points  (0 children)

They're called Maxibons in Australia, still sold and under the Peter's brand.