Powershell!
What are you using it for, lets share some examples!
Powershell!
Other urls found in this thread:
pastebin.com
pastebin.com
pastebin.com
pastebin.com
pastebin.com
superuser.com
docs.microsoft.com
lazywinadmin.com
news.softpedia.com
twitter.com
Force hard match in AzureAD
$ADUser = "username"
$365User = "username@emaildomainname.com"
$guid =(Get-ADUser $ADUser).Objectguid
$immutableID=[system.convert]::ToBase64String($guid.tobytearray())
Set-MsolUser -UserPrincipalName "$365User" -ImmutableId $immutableID
>Powershell
Ahahahahahahahhahahahah
ahaahahahwhahahwhahwhwhahahahahahajahahahahahahahagahwqhwhahwhahahwhahahahahau
Can't post company code.
Uploading SSRS reports and downloading data using APi's
okay that was retarded. posting again
Force rename filenames to random. Save as a bat.
@ECHO OFF
powershell -nologo -noninteractive -command "Rename-Item '%~1' -NewName $([io.path]::GetRandomFileName().split('.')[0] + '%~x1') -Force"
Other script I have written is a semi-smart webm converter that auto-adjusts output resolution according to bitrate constraints. Unfortunately it's written really shoddily, doesn't have some useful features, audio can't be disabled. It was more of a try to spend less time manually adjusting resolution. Relies on ffmpeg and mediainfo.
pastebin.com
Another script I use can embed data into an image file and extract it afterwards. Such an image file can be safely posted to Jow Forums and doesn't get detected in any way by the embed scanner. There's also a UI component for embed preview and extraction. Can only be run on Winblowz, but doesn't rely on anything else and is tested against Powershell v2. It's definitely more competently written than the webm crap.
pastebin.com
Simple UI to allow multiple users to interact with a big ass list of one-time-use credentials in parallel. Basically done at this point with all the processing and data integrity shit, but no fkn clue how to get user input via a drop list...
PS is awesome for automation (built a step into an old process that creates unique users with strong passwords on a remote ftp with a shit local only cli, took 1 day with testing), but wrapping it up for user interaction is weird
can anyone help me?
pastebin.com
I want to remove the duplicated lines because these are identical lines to the same path
So the pastebin above should become like this
pastebin.com
And is it possible to cut out certain parts from each line?
pic related, the "duplicated" lines that I want to remove
Good Lord I use it for for everything.
Main uses are
A bot in slack (poshbot)
Some internal monitoring of our environment for things like diskspace (and cleanup) services that stopped or crashed, log parsing, API testing, and queue monitoring (rmq). I use it for so many other applications as well.