lib/bolt/shell/powershell.rb in bolt-2.44.0 vs lib/bolt/shell/powershell.rb in bolt-3.0.0

- old
+ new

@@ -21,11 +21,10 @@ version = execute("$PSVersionTable.PSVersion.Major").stdout.string.chomp if !version.empty? && version.to_i < 3 # This lets us know how many targets have Powershell 2, and lets the # user know how many targets they have with PS2 msg = "Detected PowerShell 2 on one or more targets.\nPowerShell 2 "\ - "is deprecated, and support will be removed in Bolt 3.0. See "\ - "bolt-debug.log or run with '--log-level debug' to see the full "\ + "is unsupported. See bolt-debug.log or run with '--log-level debug' to see the full "\ "list of targets with PowerShell 2." Bolt::Logger.deprecate_once("powershell_2", msg) @logger.debug("Detected PowerShell 2 on #{target}.") end