|
Amazing discovery: run "invoke-item ." To open the current directory in Explorer. But use the alias: code:
|
# ¿ Oct 13, 2015 04:49 |
|
|
# ¿ May 22, 2024 09:34 |
|
I often export mailboxes from exchange using New-MailboxExportRequest. I then check the progress by rnning Get-Mailboxexportrequest before going on with the next step in the task. (usually delete mailbox) How can I write a script that will perform the export and wait for the export to complete before running another command?
|
# ¿ Nov 24, 2015 01:03 |
|
Here's an easy one that for some reason I am just not seeing the solution to. I'm blaming holiday booze. I want to: *Get a list of mailboxes *If those mailboxes dont already have an Out of Office reply set, *apply my generic out of office reply. code:
Also bonus for any Melbourne goons: There's a Melbourne Powershell usergroup firing up (finally). This dude is running it: https://twitter.com/david_obrien
|
# ¿ Dec 29, 2015 12:19 |
|
2010 SP3 supports installing PS 3.0
|
# ¿ Jan 13, 2016 01:44 |
|
Ask me about expiring staff who decide to stay on for a few extra days.
|
# ¿ Feb 15, 2016 01:22 |
|
The disable-mailbox exchange cmdlet removes the mailbox but only disables the AD user. *please check this is correct before running it.
|
# ¿ Feb 17, 2016 01:19 |
|
I'm creating a new script with parameters but they are not working. I've saved the file as new-user.ps1 and when I run ./new-user.ps1 from the console I expect to the able to tab through the available parameters. Am I missing something painfully obvious here? code:
Swink fucked around with this message at 08:19 on Mar 10, 2016 |
# ¿ Mar 10, 2016 07:54 |
|
Some sweet Done Jones action from the Powershell Summit thing https://www.youtube.com/watch?v=playlist There's like 30 videos on all kinds of topics. The forums arent letting me post the link to the playlist so here's a single video. You can find your way from there. https://www.youtube.com/watch?v=KprrLkjPq_c Swink fucked around with this message at 01:58 on Apr 16, 2016 |
# ¿ Apr 16, 2016 01:56 |
|
I've just upgraded my Win7 laptop to Win10. I'm missing the package management cmdlets. Find-module, find-package etc. What gives? There they are, I had to run as admin. Go me! Swink fucked around with this message at 12:21 on May 27, 2016 |
# ¿ May 27, 2016 12:17 |
|
Today I wrote a script to poll a bunch of IP addresses (I was trying to find a specific host among an otherwise empty subnet. Document your networks plz) It was super quick and dirty and I used this little trick which I thought was worth sharing "1..100" builds a nice array of numbers. code:
|
# ¿ Jun 2, 2016 10:54 |
|
Just pitching in to say that if you're writing scripts with % and ? or whatever the hell, you are the devil. There are no prizes for brevity here, you should be as explicit as possible.Vulture Culture posted:There's an awful lot of DSC resources for managing NTFS ACLs lying around. Anyone have a favorite? I'm interested in what you're using DSC for? I am just picking it up again after a year and the community isn't anything compared to Chef, which is a bit disappointing.
|
# ¿ Jun 8, 2016 09:28 |
|
The respect I have for the author of that is matched only by my desire to punch them in the stomach.
|
# ¿ Jun 8, 2016 09:51 |
|
|
# ¿ May 22, 2024 09:34 |
|
What version are you running? I've had problems with UNC paths with version 3. My specific problem was trying to invoke commands from a UNC path. The shell just wouldn't see the file.
|
# ¿ Jun 23, 2016 00:43 |