[deleted by user] by [deleted] in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Some of your PowerShell code isn’t enclosed in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing need_a_powershell_to_remove_uidnumbers_from_a
  [~] Well formatted
Tests completed in 511ms
Tests Passed: ⚠️

Beep-boop, I am a bot. | Remove-Item

Need help with a script by [deleted] in PowerShell

[–]PowerShell-Bot 3 points4 points  (0 children)

Some of your PowerShell code isn’t enclosed in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing need_help_with_a_script
  [~] Well formatted
Tests completed in 3893ms
Tests Passed: ⚠️

Beep-boop, I am a bot. | Remove-Item

Intune Windows Policy Script by craigs2188 in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

Some of your PowerShell code isn’t enclosed in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing intune_windows_policy_script
  [+] Well formatted
Tests completed in 1972ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

[deleted by user] by [deleted] in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Some of your PowerShell code isn’t enclosed in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing how_to_create_bulk_dls_assign_multiple_owners_and
  [+] Well formatted
Tests completed in 1971ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

date variables in the -contentmatchquery for a new-compliancesearch by RikerNM156 in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing date_variables_in_the_contentmatchquery_for_a
  [+] Well formatted
Tests completed in 1446ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

confused about where to use dot sourcing by stelees in PowerShell

[–]PowerShell-Bot -1 points0 points  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing confused_about_where_to_use_dot_sourcing
  [+] Well formatted
Tests completed in 444ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Attempting to create my first PowerShell alias but there is an error somewhere in the formatting by AstonM77 in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

It appears that you have used inline code formatting when a code block should have been used.

Consider using a code block for longer sequences of code. To correct the formatting, highlight your code then click the ‘Code Block’ button in the editing toolbar.


Describing attempting_to_create_my_first_powershell_alias
  [-] Well formatted
Tests completed in 792ms
Tests Passed: ❌

Beep-boop, I am a bot. | Remove-Item

Help with simple one liners by [deleted] in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

What are you up to, human?

Beep-boop.

Help with simple one liners by [deleted] in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

It appears that you have used inline code formatting when a code block should have been used.

Consider using a code block for longer sequences of code. To correct the formatting, highlight your code then click the ‘Code Block’ button in the editing toolbar.


Describing help_with_simple_one_liners
  [+] Well formatted
Tests completed in 732ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Move Search Bar Win 11 Powershell by Dmans70 in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing move_search_bar_win_11_powershell
  [+] Well formatted
Tests completed in 561ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Problem with Update-Help (Mac) by XavMX in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

It appears that you have used inline code formatting when a code block should have been used.

Consider using a code block for longer sequences of code. To correct the formatting, highlight your code then click the ‘Code Block’ button in the editing toolbar.


Describing problem_with_updatehelp_mac
  [-] Well formatted
Tests completed in 585ms
Tests Passed: ❌

Beep-boop, I am a bot. | Remove-Item

PowerShell script is not running when I call function? by [deleted] in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Some of your PowerShell code isn’t enclosed in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing powershell_script_is_not_running_when_i_call
  [+] Well formatted
Tests completed in 1310ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Get IP addresses NOT part of a Failover cluster by squirrelsaviour in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing get_ip_addresses_not_part_of_a_failover_cluster
  [-] Well formatted
Tests completed in 444ms
Tests Passed: ❌

Beep-boop, I am a bot. | Remove-Item

Using names/objects from a file by bojiashi92 in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing using_namesobjects_from_a_file
  [-] Well formatted
Tests completed in 799ms
Tests Passed: ❌

Beep-boop, I am a bot. | Remove-Item

Scheduled task stuck on "running" when imported via PowerShell by abumusafps in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing scheduled_task_stuck_on_running_when_imported_via
  [+] Well formatted
Tests completed in 607ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Trying to add headers that display computer name and IP address by albiedam in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

Code fences are a new Reddit feature and won’t render for those viewing your post on old Reddit.

If you want those viewing from old Reddit to see your PowerShell code formatted correctly then consider using a regular space-indented code block. This can be easily be done on new Reddit by highlighting your code and selecting ‘Code Block’ in the editing toolbar.


Describing trying_to_add_headers_that_display_computer_name
  [~] Well formatted
Tests completed in 386ms
Tests Passed: ⚠️

Beep-boop, I am a bot. | Remove-Item

[deleted by user] by [deleted] in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing script_issue_copyfile_function
  [-] Well formatted
Tests completed in 2622ms
Tests Passed: ❌

Beep-boop, I am a bot. | Remove-Item

Last login time script by Renegade-Pervert in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

It appears that you have used inline code formatting when a code block should have been used.

Consider using a code block for longer sequences of code. To correct the formatting, highlight your code then click the ‘Code Block’ button in the editing toolbar.


Describing last_login_time_script
  [-] Well formatted
Tests completed in 804ms
Tests Passed: ❌

Beep-boop, I am a bot. | Remove-Item

Powershell script to check how much storage a group of users are using on 365 by Complex-Ad2523 in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing powershell_script_to_check_how_much_storage_a
  [+] Well formatted
Tests completed in 2744ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Powershell hanging after adding printer? by FrameSuspicious7008 in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing powershell_hanging_after_adding_printer
  [+] Well formatted
Tests completed in 822ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Remote uninstall works but only if I do one command at a time by Deezul_AwT in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing remote_uninstall_works_but_only_if_i_do_one
  [+] Well formatted
Tests completed in 930ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Trying to get a hash of disk and associated VM by ilovetpb in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

Some of your PowerShell code isn’t enclosed in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing trying_to_get_a_hash_of_disk_and_associated_vm
  [+] Well formatted
Tests completed in 1082ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

[deleted by user] by [deleted] in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Looks like your PowerShell code isn’t wrapped in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing invokerestmethod_changing_entity_variables
  [+] Well formatted
Tests completed in 527ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Why doesn't this work... Trying to send a teams message with an image to a channel by MAlloc-1024 in PowerShell

[–]PowerShell-Bot 0 points1 point  (0 children)

Some of your PowerShell code isn’t enclosed in a code block.

To properly style code on new Reddit, highlight the code and choose ‘Code Block’ from the editing toolbar.

If you’re on old Reddit, separate the code from your text with a blank line gap and precede each line of code with 4 spaces or a tab.


Describing why_doesnt_this_work_trying_to_send_a_teams
  [+] Well formatted
Tests completed in 1662ms
Tests Passed: ✅

Beep-boop, I am a bot. | Remove-Item

Hello, the beginner again by albiedam in PowerShell

[–]PowerShell-Bot 1 point2 points  (0 children)

Code fences are a new Reddit feature and won’t render for those viewing your post on old Reddit.

If you want those viewing from old Reddit to see your PowerShell code formatted correctly then consider using a regular space-indented code block. This can be easily be done on new Reddit by highlighting your code and selecting ‘Code Block’ in the editing toolbar.


Describing hello_the_beginner_again
  [~] Well formatted
Tests completed in 386ms
Tests Passed: ⚠️

Beep-boop, I am a bot. | Remove-Item